-
Notifications
You must be signed in to change notification settings - Fork 51
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
18 changed files
with
134 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import {type ReactElement, useState} from 'react'; | ||
import {cl} from '@builtbymom/web3/utils'; | ||
|
||
export function About(): ReactElement { | ||
const [isReadMore, set_isReadMore] = useState(false); | ||
return ( | ||
<div | ||
className={'mt-[160px] h-[444px] w-full max-w-[1920px]'} | ||
style={{ | ||
backgroundImage: "url('/landing/about_bg.png')", | ||
backgroundRepeat: 'no-repeat', | ||
backgroundSize: 'auto 100%', | ||
backgroundPosition: 'center' | ||
}}> | ||
<div className={'relative ml-[22%]'}> | ||
<p className={'mb-10 text-left text-5xl font-light text-white'}>{'WTF IS YEARN VAULT?'}</p> | ||
<div | ||
className={cl( | ||
'max-w-[720px] text-lg transition-all overflow-hidden leading-7', | ||
isReadMore ? 'max-h-screen' : 'max-h-[160px] gradient-mask-b-10' | ||
)}> | ||
<p className={cl('text-grey-400 to-indigo-400')}> | ||
{ | ||
'In ‘traditional finance’ (boo, hiss) you can earn yield on your savings by depositing them in a bank' | ||
} | ||
{'- who use the capital for loans and other productive money growing means.'} | ||
</p> | ||
<br /> | ||
<div className={cl('text-grey-400')}> | ||
<p>{'Yearn Vaults are like crypto savings accounts floating in cyberspace. You deposit'}</p>{' '} | ||
<p className={cl('text-grey-400')}> | ||
{'your assets, andYearn puts them to work within the DeFi ecosystem, returning the earned'} | ||
{'yield back to you.'} | ||
</p> | ||
</div> | ||
<br /> | ||
|
||
<p className={cl('text-grey-400')}> | ||
{ | ||
'Unlike a bank account - none of this takes place behind closed doors (no offence to doors). DeFi' | ||
} | ||
{ | ||
'runs on public blockchains, so you are in control of your assets and can see where they are at all' | ||
} | ||
{'times.'} | ||
</p> | ||
</div> | ||
{!isReadMore && ( | ||
<button | ||
className={'mt-6 text-lg font-light text-primary'} | ||
onClick={() => set_isReadMore(true)}> | ||
{'Read more'} | ||
</button> | ||
)} | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import Marquee from 'react-fast-marquee'; | ||
import Image from 'next/image'; | ||
|
||
import type {ReactElement} from 'react'; | ||
|
||
export function Partners(): ReactElement { | ||
return ( | ||
<div className={'flex w-full justify-center'}> | ||
<div className={'h-20 w-full'}> | ||
<Marquee | ||
gradient | ||
gradientColor={'black'} | ||
pauseOnHover={true} | ||
className={'grid h-full overflow-hidden'}> | ||
<div className={'mx-5 flex h-full flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div>{' '} | ||
<div className={'mx-5 flex flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div> | ||
<div className={'mx-5 flex flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div> | ||
<div className={'mx-5 flex flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div> | ||
<div className={'mx-5 flex flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div> | ||
<div className={'mx-5 flex flex-col items-center justify-center pr-10 '}> | ||
<Image | ||
src={'/landing/partners/ajna.png'} | ||
alt={'Ajna'} | ||
width={174} | ||
height={32} | ||
/> | ||
</div> | ||
</Marquee> | ||
</div> | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -82,5 +82,5 @@ module.exports = { | |
} | ||
} | ||
}, | ||
plugins: [] | ||
plugins: [require('tailwind-gradient-mask-image')] | ||
}; |