-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement Landing Page #370
Merged
Merged
Changes from 4 commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
5d8343a
Implement `Navigation` component
kpyszkowski 5325dbc
Implement router transitions
kpyszkowski 06596ba
Define `Layout` as wrapper route
kpyszkowski c0b0df3
Implement conditional `ConnectWallet` rendering
kpyszkowski 0c707f7
Remove Ethereum wallet connection button
kpyszkowski a06c1de
Implement `ConnectWallet`'s presence animation
kpyszkowski e54282f
Adjust `Header`'s padding
kpyszkowski 0db46c1
Implement `HeroSection` for landing page
kpyszkowski b09220e
Apply changes in router
kpyszkowski ea11fbb
Implement `SeasonCountdownSection` background
kpyszkowski 322644a
Implement `SeasonCountdownSection`'s typography
kpyszkowski ff59bb6
Implement `CountdownTimer` component
kpyszkowski 679876d
Merge branch 'main' into router-transitions
kpyszkowski af0f5a7
Update export directive
kpyszkowski 56a6770
Remove redundant comment
kpyszkowski 61a9503
Update export directive
kpyszkowski f60dfb8
Adjust `CountdownTimer` animation`
kpyszkowski 076d2ce
Adjust background parallax offset boundaries
kpyszkowski e962925
Remove `Tag` shadow
kpyszkowski a4ba563
Recompose component structure
kpyszkowski 5cedbf2
Refactor `Navigation` component
kpyszkowski dec2bcc
Replace color values with semantic tokens
kpyszkowski bc41b76
Wrap `Navigation` component with `nav` element
kpyszkowski 5d25c89
Move `Header` outside `main` element
kpyszkowski b02de09
Update comment to be more descriptive
kpyszkowski 7ce1664
Remove explicit null value in `ConnectWallet`
kpyszkowski 32b5b79
Implement `IconCard` component
kpyszkowski 78b0814
Rename hook
kpyszkowski fb180ef
Implement page component
kpyszkowski 5ff78eb
Merge branch 'landing-page' into header-navigation
kpyszkowski 66fc680
Adjust navigation items
kpyszkowski 48cb5cd
Merge branch 'landing-page' into router-transitions
kpyszkowski b8971ba
Merge branch 'landing-page' into landing-hero-section
kpyszkowski 0937f3f
Add missing spacing theme token
kpyszkowski e958c8e
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski a165f04
Define home route as index
kpyszkowski 102a2d8
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski 0548299
Merge branch 'landing-page' into header-navigation
kpyszkowski d34c26b
Merge branch 'landing-page' into router-transitions
kpyszkowski 9d229d2
Merge branch 'landing-page' into landing-hero-section
kpyszkowski 8df74db
Merge branch 'landing-page' into landing-cards
kpyszkowski 18112ce
Resolve eslint issue
kpyszkowski 99c7abd
Add IconCard with key icon
kpyszkowski 9358883
Update values to rem units
kpyszkowski f1644e2
Implement `ValueCard` component
kpyszkowski 2bc02c4
Extract TVL card into separate component
kpyszkowski 55cfc58
Add ContentCard component
kpyszkowski 25a0d69
Rename component, fix missing keys
kpyszkowski 36bb9e6
Implement `CardButton` component
kpyszkowski 3c77258
Apply minor styling adjustments
kpyszkowski 2df35a3
Adjust spacing and height
kpyszkowski 2f02355
Fix typo
kpyszkowski 4e40ecd
Make landing page container fixed
kpyszkowski c6249b5
Refactor styles, update copies in cards
kpyszkowski 36af881
Replace partner logos with SVGs, adjusted sizing
kpyszkowski 127b14e
Merge branch 'landing-page' into landing-cards
kpyszkowski d87bc51
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski 7f39cce
Disable text selection on timer component
kpyszkowski 743a657
Merge branch 'landing-page' into landing-hero-section
kpyszkowski cc68712
Encaplsulate `NavigationItem` component
kpyszkowski bea88fc
Define 'navigation' Link theme variant
kpyszkowski 4ffdb22
Encapsulate `NavLink` component into separate file
kpyszkowski 2a9b31a
Move navigation item type definition to types dir
kpyszkowski 72f500c
Rename `OverviewPage` to `DashboardPage`
kpyszkowski 856e70a
Merge branch 'landing-page' into header-navigation
kpyszkowski f1a4860
Merge branch 'landing-page' into landing-cards
kpyszkowski adde7d5
Merge branch 'landing-page' into router-transitions
kpyszkowski de68655
Merge branch 'landing-page' into landing-hero-section
kpyszkowski eb37fa9
Move `GlobalStyles` one level higher in tree
kpyszkowski d81ace3
Align content to center
kpyszkowski b876889
Fix timer `NaN` value when timestamp expires
kpyszkowski 029d9f0
Implement router transitions (#358)
ioay e0a40fd
Landing page's `HeroSection` component (#364)
ioay 9fc1beb
Adjust `IconCard` responsive variant
kpyszkowski 32db87b
Resolve resize glitch
kpyszkowski bff469a
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski 5393743
Merge branch 'landing-page' into header-navigation
kpyszkowski 1087104
Resolve Eslint error
kpyszkowski d286b0f
Resolve merge errors
kpyszkowski eb6b37e
Update `IconCard` icons, adjust styling
kpyszkowski 789bcac
Adjust width and horizontal content flow
kpyszkowski eb3cb02
Resolve Eslint error
kpyszkowski 81afaea
Reuse `ButtonLink` in `CardButton` component
kpyszkowski d08fc7a
Move partner logos to contants
kpyszkowski 07eda72
Reorder props in `IconCard` component
kpyszkowski 8487f97
Reuse `CurrencyBalance` component
kpyszkowski d99f126
Remove body prop from `IconCard` component
kpyszkowski b46a423
Merge branch 'landing-page' into landing-cards
kpyszkowski 7340e46
Resolve ESLint error
kpyszkowski 8942ba1
Define styles as props
kpyszkowski f2f52cd
Add TODO comment
kpyszkowski a26e6ea
Restructure `LandingPage`'s components
kpyszkowski 5796c8b
Resolve ESLint error
kpyszkowski 99ba8fb
Resolve `CountdownTimer` component bug
kpyszkowski 689154b
Remove `NavigationItem` export
kpyszkowski e1b8d0a
`Header` component adjustements (#357)
kkosiorowska ce6e2f2
Landing page's `SeasonCountdownSection` component (#368)
kkosiorowska 1043664
Remove `<br />` elements
kpyszkowski 6a4e709
Adjust `IconCard` responsive styles
kpyszkowski 49bf329
Refactor `Card` theme parts definition
kpyszkowski c1493b3
Add missing key while iterating over array
kpyszkowski 93c22b6
Fix typo
kpyszkowski 630db96
Refactor `TVLCard` component styles
kpyszkowski 1b8eab9
Refactor partner logos export
kpyszkowski ffadd29
Fix typo
kpyszkowski 49390ae
Rename component
kpyszkowski 20659d0
Remove use of `CardFooter` component
kpyszkowski b978176
Rename component
kpyszkowski d68cb55
Use `TextMd` instead of `Text`
kpyszkowski 1184455
Remove `value` property
kpyszkowski 8ca3a0d
Hide unused/not ready cards
kpyszkowski b16913a
Merge branch 'landing-page' into landing-cards
kpyszkowski 23e903b
Add cards wrapper padding for smaller viewports
kpyszkowski 34f029a
Update season due timestamp
kpyszkowski 8cd2590
Merge branch 'landing-page' into landing-cards
kkosiorowska 9d91828
Landing page's card components (#369)
kkosiorowska d4dd846
Merge branch 'main' into landing-page
kpyszkowski df8fcee
Resolve ESLint error
kpyszkowski f4ca57d
Move `Layout` to components directory
kpyszkowski 14995fa
Use `createBrowserRouter`
kpyszkowski be22c6c
Add missing types export
kpyszkowski 81c98e3
Update `Tag` theme definition
kpyszkowski a6b63d9
Reorganize `LandingPage`'s components
kpyszkowski ed28606
Merge branch 'main' into landing-page
kpyszkowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,17 @@ | ||
import React from "react" | ||
import { Flex } from "@chakra-ui/react" | ||
|
||
export default function LandingPage() { | ||
return ( | ||
<Flex | ||
w="full" | ||
flexFlow="column" | ||
px={10} | ||
pb={10} | ||
maxW="100.625rem" | ||
mx="auto" | ||
> | ||
Content | ||
</Flex> | ||
) | ||
} |
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,4 +1,5 @@ | ||
export const routerPath = { | ||
home: "/", | ||
dashboard: "/dashboard", | ||
activity: "/activity-details", | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can we please add a TODO here to remember about removing the Activity Details page?