-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: new yearn landing (#571) #608
Conversation
* feat: wip sidebar * fix: build fix * feat: search & category sections & style changes * feat: carousel & search icon & hovers * feat: cutaways + scrollbar dismiss + search layout + mobile layout * feat: arrows for scroll + small fixes * feat: imp of useSearch + small changes * fix: small fix * feat: filterBar + sorting * fix: small fix * fix: style changes * fix: mobile style fixes * feat: first round of apps * fix: type * fix: menu * entrance anim * feat: styles updates * fix: small change * fix: mobile add card imp * feat: add description to apps * feat: add icons * feat: wip sidebar * fix: build fix * feat: search & category sections & style changes * feat: carousel & search icon & hovers * feat: cutaways + scrollbar dismiss + search layout + mobile layout * feat: arrows for scroll + small fixes * feat: imp of useSearch + small changes * fix: small fix * feat: filterBar + sorting * fix: small fix * fix: style changes * fix: mobile style fixes * feat: first round of apps * fix: type * fix: menu * entrance anim * feat: styles updates * fix: small change * fix: mobile add card imp * feat: add description to apps * feat: add icons * fix: featured apps * fix: upd images * feat: changed sizes + hovers * feat: small changes * fix: assets * fix: some spacing * fix: design change * chore: remove featured app label * feat: randomize integration apps * feat: moved About to the end of menu * feat: shuffle all apps * feat: carousel with controls * chore: ts fix * chore: route fix * feat: change some descriptin and catrgory name * chore: type fix * fix: animation with search * feat: upd copy * feat: redirect * fix: animation bug * feat: mobile fixes * fix: img --------- Co-authored-by: Majorfi <[email protected]> Co-authored-by: Major <[email protected]> Co-authored-by: Daniil Polienko <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* feat: migrate landing * feat: add about & partners sections * feat: add contribute, form & footer * fix: partners * fix: bgs * feat: hero animation (#607) * fix: mobile * update: mobile layout * update: og * fix: header * fix: minor stuff * fix: mobile menu * fix: mobile colors * fix: mobile styles * fix: icons * fix: merge * fix: import * chore: import order * updage: links * fix: links --------- Co-authored-by: Karlen9 <[email protected]> Co-authored-by: Karlen9 <[email protected]>
500: '#424242', | ||
600: '#292929', | ||
700: '#282828', | ||
800: '#181818', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@w84april could you fix this before release?
{ | ||
'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.'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 3 differents stuff here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that the line was not bigger than allowed by linter i think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just put everything in line, linter should not complain about that for single string
{'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.'}
{'your assets, andYearn puts them to work within the DeFi ecosystem, returning the earned'} | ||
{'yield back to you.'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 2 differents stuff here?
{ | ||
'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.'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 2 differents stuff here?
{!isReadMore && ( | ||
<button | ||
className={'mt-6 text-lg font-light text-primary'} | ||
onClick={() => set_isReadMore(true)}> | ||
{'Read more'} | ||
</button> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{!isReadMore && ( | |
<button | |
className={'mt-6 text-lg font-light text-primary'} | |
onClick={() => set_isReadMore(true)}> | |
{'Read more'} | |
</button> | |
)} | |
{!isReadMore ? ( | |
<button | |
className={'mt-6 text-lg font-light text-primary'} | |
onClick={() => set_isReadMore(true)}> | |
{'Read more'} | |
</button> | |
) : null} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's avoid &&
for conditional render
</Link> | ||
<Link | ||
target={'_blank'} | ||
href={''}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing link
{isOpen && ( | ||
<div | ||
className={ | ||
'border-1 absolute top-28 z-30 w-80 border border-gray-700 bg-gray-500 py-2 text-white max-sm:left-0 md:right-1 md:top-10' | ||
}> | ||
{Array(4) | ||
.fill('List Item') | ||
.map((item, i) => ( | ||
<SortItem | ||
isActive={i === 2} | ||
title={item} | ||
/> | ||
))} | ||
</div> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{isOpen && ( | |
<div | |
className={ | |
'border-1 absolute top-28 z-30 w-80 border border-gray-700 bg-gray-500 py-2 text-white max-sm:left-0 md:right-1 md:top-10' | |
}> | |
{Array(4) | |
.fill('List Item') | |
.map((item, i) => ( | |
<SortItem | |
isActive={i === 2} | |
title={item} | |
/> | |
))} | |
</div> | |
)} | |
{isOpen && ( | |
<div | |
className={ | |
'border-1 absolute top-28 z-30 w-80 border border-gray-700 bg-gray-500 py-2 text-white max-sm:left-0 md:right-1 md:top-10' | |
}> | |
{Array(4) | |
.fill('List Item') | |
.map((item, i) => ( | |
<SortItem | |
isActive={i === 2} | |
title={item} | |
/> | |
))} | |
</div> | |
)} |
{isOpen && ( | |
<div | |
className={ | |
'border-1 absolute top-28 z-30 w-80 border border-gray-700 bg-gray-500 py-2 text-white max-sm:left-0 md:right-1 md:top-10' | |
}> | |
{Array(4) | |
.fill('List Item') | |
.map((item, i) => ( | |
<SortItem | |
isActive={i === 2} | |
title={item} | |
/> | |
))} | |
</div> | |
)} | |
{isOpen ? ( | |
<div | |
className={ | |
'border-1 absolute top-28 z-30 w-80 border border-gray-700 bg-gray-500 py-2 text-white max-sm:left-0 md:right-1 md:top-10' | |
}> | |
{Array(4) | |
.fill('List Item') | |
.map((item, i) => ( | |
<SortItem | |
isActive={i === 2} | |
title={item} | |
/> | |
))} | |
</div> | |
) : null} |
.fill('List Item') | ||
.map((item, i) => ( | ||
<SortItem | ||
isActive={i === 2} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing key
pages/apps/[category].tsx
Outdated
</div> | ||
|
||
<div className={'flex grid-rows-1 flex-col gap-4 md:grid md:grid-cols-2 lg:grid-cols-4'}> | ||
{shuffledApps?.map(app => <AppCard app={app} />)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing key
pages/apps/search/[query].tsx
Outdated
<p | ||
className={cl( | ||
'hidden truncate text-[64px] font-bold leading-[84px] text-white md:block', | ||
searchFilteredApps.length < 1 ? 'mb-4' : 'mb-10' | ||
)}>{`Results for "${searchValue}"`}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p | |
className={cl( | |
'hidden truncate text-[64px] font-bold leading-[84px] text-white md:block', | |
searchFilteredApps.length < 1 ? 'mb-4' : 'mb-10' | |
)}>{`Results for "${searchValue}"`}</p> | |
<p | |
className={cl( | |
'hidden truncate text-[64px] font-bold leading-[84px] text-white md:block', | |
searchFilteredApps.length < 1 ? 'mb-4' : 'mb-10' | |
)}> | |
{`Results for "${searchValue}"`} | |
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stuff not resolved
feat: wip sidebar
fix: build fix
feat: search & category sections & style changes
feat: carousel & search icon & hovers
feat: cutaways + scrollbar dismiss + search layout + mobile layout
feat: arrows for scroll + small fixes
feat: imp of useSearch + small changes
fix: small fix
feat: filterBar + sorting
fix: small fix
fix: style changes
fix: mobile style fixes
feat: first round of apps
fix: type
fix: menu
entrance anim
feat: styles updates
fix: small change
fix: mobile add card imp
feat: add description to apps
feat: add icons
feat: wip sidebar
fix: build fix
feat: search & category sections & style changes
feat: carousel & search icon & hovers
feat: cutaways + scrollbar dismiss + search layout + mobile layout
feat: arrows for scroll + small fixes
feat: imp of useSearch + small changes
fix: small fix
feat: filterBar + sorting
fix: small fix
fix: style changes
fix: mobile style fixes
feat: first round of apps
fix: type
fix: menu
entrance anim
feat: styles updates
fix: small change
fix: mobile add card imp
feat: add description to apps
feat: add icons
fix: featured apps
fix: upd images
feat: changed sizes + hovers
feat: small changes
fix: assets
fix: some spacing
fix: design change
chore: remove featured app label
feat: randomize integration apps
feat: moved About to the end of menu
feat: shuffle all apps
feat: carousel with controls
chore: ts fix
chore: route fix
feat: change some descriptin and catrgory name
chore: type fix
fix: animation with search
feat: upd copy
feat: redirect
fix: animation bug
feat: mobile fixes
fix: img
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):