-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
156 additions
and
181 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
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
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,31 @@ | ||
import Link from 'next/link'; | ||
import {IconShare} from '@common/icons/IconShare'; | ||
|
||
import type {ReactElement} from 'react'; | ||
|
||
export function PromoPoster(): ReactElement { | ||
return ( | ||
<Link | ||
href={'/'} | ||
className={ | ||
'border-1 relative flex flex-col rounded-lg border border-gray-600/50 bg-gradient-to-b from-gray-900 to-[#1A1A1A] p-6 hover:from-[#1A1A1A] hover:to-[#262626]' | ||
}> | ||
<div className={'mb-4 flex w-full justify-start text-[40px] font-bold uppercase leading-[40px] text-white'}> | ||
{'stack'} | ||
<br /> {'with yearn'} | ||
</div> | ||
|
||
<div className={'absolute right-2 top-2 flex size-10 items-center justify-center rounded-lg'}> | ||
<IconShare className={'size-[10px]'} /> | ||
</div> | ||
|
||
<div className={'max-w-[610px]'}> | ||
<p className={'text-base text-gray-400'}> | ||
{ | ||
'Yearn is a decentralized suite of products helping individuals, DAOs, and other protocols earn yield on their digital assets.' | ||
} | ||
</p> | ||
</div> | ||
</Link> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import type {ReactElement} from 'react'; | ||
|
||
export function IconCross(props: React.SVGProps<SVGSVGElement>): ReactElement { | ||
return ( | ||
<svg | ||
{...props} | ||
width={'14'} | ||
height={'14'} | ||
viewBox={'0 0 14 14'} | ||
fill={'none'} | ||
xmlns={'http://www.w3.org/2000/svg'}> | ||
<path | ||
d={'M1 1L13 13'} | ||
stroke={'white'} | ||
strokeWidth={'2'} | ||
strokeLinecap={'round'} | ||
strokeLinejoin={'round'} | ||
/> | ||
<path | ||
d={'M1 13L13 1'} | ||
stroke={'white'} | ||
strokeWidth={'2'} | ||
strokeLinecap={'round'} | ||
strokeLinejoin={'round'} | ||
/> | ||
<path | ||
d={'M1 1L13 13'} | ||
stroke={'white'} | ||
strokeWidth={'2'} | ||
strokeLinecap={'round'} | ||
strokeLinejoin={'round'} | ||
/> | ||
<path | ||
d={'M1 13L13 1'} | ||
stroke={'white'} | ||
strokeWidth={'2'} | ||
strokeLinecap={'round'} | ||
strokeLinejoin={'round'} | ||
/> | ||
</svg> | ||
); | ||
} |
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
Oops, something went wrong.