generated from Borodutch/frontend-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finalize for mobiles and everything else
- Loading branch information
Showing
10 changed files
with
96 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { LinkText } from 'components/Text' | ||
import { bwlBlog, bwlGitHub, contactUs } from 'helpers/constants' | ||
|
||
export default function () { | ||
return ( | ||
<> | ||
<LinkText url={bwlBlog}>Blog</LinkText> | ||
<LinkText url={bwlGitHub}>GitHub</LinkText> | ||
<LinkText url={contactUs}>Contact</LinkText> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
import { BodyText } from 'components/Text' | ||
import BwlLinks from 'components/BwlLinks' | ||
import QuoteBlock from 'components/QuoteBlock' | ||
import classnames, { | ||
alignItems, | ||
display, | ||
flexDirection, | ||
gap, | ||
justifyContent, | ||
margin, | ||
width, | ||
} from 'classnames/tailwind' | ||
|
||
const hideOnBig = display('md:hidden') | ||
const wrapper = classnames(hideOnBig, margin('mb-8')) | ||
const crystal = classnames( | ||
width('w-full'), | ||
display('flex'), | ||
alignItems('items-center'), | ||
justifyContent('justify-center'), | ||
margin('my-8'), | ||
hideOnBig | ||
) | ||
const quoteWrapper = classnames( | ||
display('flex'), | ||
flexDirection('flex-col'), | ||
gap('gap-y-4') | ||
) | ||
const links = classnames( | ||
display('flex'), | ||
flexDirection('flex-row'), | ||
gap('gap-x-2') | ||
) | ||
|
||
export default function () { | ||
return <></> | ||
return ( | ||
<> | ||
<div className={crystal}> | ||
<img src="/img/crystal.png" width={16} /> | ||
</div> | ||
<div className={wrapper}> | ||
<QuoteBlock small> | ||
<div className={quoteWrapper}> | ||
<BodyText>Learn more or reach out</BodyText> | ||
<div className={links}> | ||
<BwlLinks /> | ||
</div> | ||
</div> | ||
</QuoteBlock> | ||
</div> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters