Skip to content
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

Merged
merged 9 commits into from
Nov 20, 2024
Merged

feat: new yearn landing (#571) #608

merged 9 commits into from
Nov 20, 2024

Conversation

w84april
Copy link
Collaborator

  • 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):

* 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]>
Copy link

vercel bot commented Nov 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yearnfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 2:25pm

* 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]>
@w84april w84april marked this pull request as ready for review November 20, 2024 12:44
500: '#424242',
600: '#292929',
700: '#282828',
800: '#181818',
Copy link
Collaborator

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?

Comment on lines 41 to 47
{
'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.'}
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Copy link
Collaborator

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.'}

Comment on lines 34 to 35
{'your assets, andYearn puts them to work within the DeFi ecosystem, returning the earned'}
{'yield back to you.'}
Copy link
Collaborator

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?

Comment on lines 25 to 28
{
'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.'}
Copy link
Collaborator

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?

Comment on lines 50 to 56
{!isReadMore && (
<button
className={'mt-6 text-lg font-light text-primary'}
onClick={() => set_isReadMore(true)}>
{'Read more'}
</button>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{!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}

Copy link
Collaborator

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={''}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing link

Comment on lines 18 to 32
{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>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{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>
)}
Suggested change
{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}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing key

</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} />)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing key

Comment on lines 24 to 28
<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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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>

Copy link
Collaborator

@Majorfi Majorfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stuff not resolved

@Majorfi Majorfi merged commit 19a7805 into main Nov 20, 2024
9 checks passed
@Majorfi Majorfi deleted the feat/landing-merge branch November 20, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants