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

Implement Landing Page #370

Merged
merged 124 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
5d8343a
Implement `Navigation` component
kpyszkowski Apr 15, 2024
5325dbc
Implement router transitions
kpyszkowski Apr 15, 2024
06596ba
Define `Layout` as wrapper route
kpyszkowski Apr 15, 2024
c0b0df3
Implement conditional `ConnectWallet` rendering
kpyszkowski Apr 15, 2024
0c707f7
Remove Ethereum wallet connection button
kpyszkowski Apr 15, 2024
a06c1de
Implement `ConnectWallet`'s presence animation
kpyszkowski Apr 15, 2024
e54282f
Adjust `Header`'s padding
kpyszkowski Apr 16, 2024
0db46c1
Implement `HeroSection` for landing page
kpyszkowski Apr 16, 2024
b09220e
Apply changes in router
kpyszkowski Apr 16, 2024
ea11fbb
Implement `SeasonCountdownSection` background
kpyszkowski Apr 16, 2024
322644a
Implement `SeasonCountdownSection`'s typography
kpyszkowski Apr 16, 2024
ff59bb6
Implement `CountdownTimer` component
kpyszkowski Apr 16, 2024
679876d
Merge branch 'main' into router-transitions
kpyszkowski Apr 16, 2024
af0f5a7
Update export directive
kpyszkowski Apr 16, 2024
56a6770
Remove redundant comment
kpyszkowski Apr 16, 2024
61a9503
Update export directive
kpyszkowski Apr 16, 2024
f60dfb8
Adjust `CountdownTimer` animation`
kpyszkowski Apr 16, 2024
076d2ce
Adjust background parallax offset boundaries
kpyszkowski Apr 16, 2024
e962925
Remove `Tag` shadow
kpyszkowski Apr 17, 2024
a4ba563
Recompose component structure
kpyszkowski Apr 17, 2024
5cedbf2
Refactor `Navigation` component
kpyszkowski Apr 17, 2024
dec2bcc
Replace color values with semantic tokens
kpyszkowski Apr 17, 2024
bc41b76
Wrap `Navigation` component with `nav` element
kpyszkowski Apr 17, 2024
5d25c89
Move `Header` outside `main` element
kpyszkowski Apr 17, 2024
b02de09
Update comment to be more descriptive
kpyszkowski Apr 17, 2024
7ce1664
Remove explicit null value in `ConnectWallet`
kpyszkowski Apr 17, 2024
32b5b79
Implement `IconCard` component
kpyszkowski Apr 17, 2024
78b0814
Rename hook
kpyszkowski Apr 18, 2024
fb180ef
Implement page component
kpyszkowski Apr 18, 2024
5ff78eb
Merge branch 'landing-page' into header-navigation
kpyszkowski Apr 18, 2024
66fc680
Adjust navigation items
kpyszkowski Apr 18, 2024
48cb5cd
Merge branch 'landing-page' into router-transitions
kpyszkowski Apr 18, 2024
b8971ba
Merge branch 'landing-page' into landing-hero-section
kpyszkowski Apr 18, 2024
0937f3f
Add missing spacing theme token
kpyszkowski Apr 18, 2024
e958c8e
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski Apr 18, 2024
a165f04
Define home route as index
kpyszkowski Apr 18, 2024
102a2d8
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski Apr 18, 2024
0548299
Merge branch 'landing-page' into header-navigation
kpyszkowski Apr 18, 2024
d34c26b
Merge branch 'landing-page' into router-transitions
kpyszkowski Apr 18, 2024
9d229d2
Merge branch 'landing-page' into landing-hero-section
kpyszkowski Apr 18, 2024
8df74db
Merge branch 'landing-page' into landing-cards
kpyszkowski Apr 18, 2024
18112ce
Resolve eslint issue
kpyszkowski Apr 18, 2024
99c7abd
Add IconCard with key icon
kpyszkowski Apr 18, 2024
9358883
Update values to rem units
kpyszkowski Apr 18, 2024
f1644e2
Implement `ValueCard` component
kpyszkowski Apr 18, 2024
2bc02c4
Extract TVL card into separate component
kpyszkowski Apr 18, 2024
55cfc58
Add ContentCard component
kpyszkowski Apr 18, 2024
25a0d69
Rename component, fix missing keys
kpyszkowski Apr 18, 2024
36bb9e6
Implement `CardButton` component
kpyszkowski Apr 18, 2024
3c77258
Apply minor styling adjustments
kpyszkowski Apr 18, 2024
2df35a3
Adjust spacing and height
kpyszkowski Apr 18, 2024
2f02355
Fix typo
kpyszkowski Apr 18, 2024
4e40ecd
Make landing page container fixed
kpyszkowski Apr 18, 2024
c6249b5
Refactor styles, update copies in cards
kpyszkowski Apr 19, 2024
36af881
Replace partner logos with SVGs, adjusted sizing
kpyszkowski Apr 19, 2024
127b14e
Merge branch 'landing-page' into landing-cards
kpyszkowski Apr 19, 2024
d87bc51
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski Apr 19, 2024
7f39cce
Disable text selection on timer component
kpyszkowski Apr 19, 2024
743a657
Merge branch 'landing-page' into landing-hero-section
kpyszkowski Apr 19, 2024
cc68712
Encaplsulate `NavigationItem` component
kpyszkowski Apr 22, 2024
bea88fc
Define 'navigation' Link theme variant
kpyszkowski Apr 22, 2024
4ffdb22
Encapsulate `NavLink` component into separate file
kpyszkowski Apr 22, 2024
2a9b31a
Move navigation item type definition to types dir
kpyszkowski Apr 22, 2024
72f500c
Rename `OverviewPage` to `DashboardPage`
kpyszkowski Apr 22, 2024
856e70a
Merge branch 'landing-page' into header-navigation
kpyszkowski Apr 22, 2024
f1a4860
Merge branch 'landing-page' into landing-cards
kpyszkowski Apr 22, 2024
adde7d5
Merge branch 'landing-page' into router-transitions
kpyszkowski Apr 22, 2024
de68655
Merge branch 'landing-page' into landing-hero-section
kpyszkowski Apr 22, 2024
eb37fa9
Move `GlobalStyles` one level higher in tree
kpyszkowski Apr 22, 2024
d81ace3
Align content to center
kpyszkowski Apr 22, 2024
b876889
Fix timer `NaN` value when timestamp expires
kpyszkowski Apr 22, 2024
029d9f0
Implement router transitions (#358)
ioay Apr 23, 2024
e0a40fd
Landing page's `HeroSection` component (#364)
ioay Apr 23, 2024
9fc1beb
Adjust `IconCard` responsive variant
kpyszkowski Apr 22, 2024
32db87b
Resolve resize glitch
kpyszkowski Apr 23, 2024
bff469a
Merge branch 'landing-page' into landing-season-countdown-section
kpyszkowski Apr 23, 2024
5393743
Merge branch 'landing-page' into header-navigation
kpyszkowski Apr 23, 2024
1087104
Resolve Eslint error
kpyszkowski Apr 23, 2024
d286b0f
Resolve merge errors
kpyszkowski Apr 23, 2024
eb6b37e
Update `IconCard` icons, adjust styling
kpyszkowski Apr 23, 2024
789bcac
Adjust width and horizontal content flow
kpyszkowski Apr 23, 2024
eb3cb02
Resolve Eslint error
kpyszkowski Apr 23, 2024
81afaea
Reuse `ButtonLink` in `CardButton` component
kpyszkowski Apr 25, 2024
d08fc7a
Move partner logos to contants
kpyszkowski Apr 25, 2024
07eda72
Reorder props in `IconCard` component
kpyszkowski Apr 25, 2024
8487f97
Reuse `CurrencyBalance` component
kpyszkowski Apr 25, 2024
d99f126
Remove body prop from `IconCard` component
kpyszkowski Apr 25, 2024
b46a423
Merge branch 'landing-page' into landing-cards
kpyszkowski Apr 25, 2024
7340e46
Resolve ESLint error
kpyszkowski Apr 25, 2024
8942ba1
Define styles as props
kpyszkowski Apr 25, 2024
f2f52cd
Add TODO comment
kpyszkowski Apr 25, 2024
a26e6ea
Restructure `LandingPage`'s components
kpyszkowski Apr 25, 2024
5796c8b
Resolve ESLint error
kpyszkowski Apr 26, 2024
99ba8fb
Resolve `CountdownTimer` component bug
kpyszkowski Apr 29, 2024
689154b
Remove `NavigationItem` export
kpyszkowski Apr 30, 2024
e1b8d0a
`Header` component adjustements (#357)
kkosiorowska Apr 30, 2024
ce6e2f2
Landing page's `SeasonCountdownSection` component (#368)
kkosiorowska May 3, 2024
1043664
Remove `<br />` elements
kpyszkowski May 3, 2024
6a4e709
Adjust `IconCard` responsive styles
kpyszkowski May 3, 2024
49bf329
Refactor `Card` theme parts definition
kpyszkowski May 3, 2024
c1493b3
Add missing key while iterating over array
kpyszkowski May 3, 2024
93c22b6
Fix typo
kpyszkowski May 3, 2024
630db96
Refactor `TVLCard` component styles
kpyszkowski May 3, 2024
1b8eab9
Refactor partner logos export
kpyszkowski May 3, 2024
ffadd29
Fix typo
kpyszkowski May 3, 2024
49390ae
Rename component
kpyszkowski May 3, 2024
20659d0
Remove use of `CardFooter` component
kpyszkowski May 6, 2024
b978176
Rename component
kpyszkowski May 6, 2024
d68cb55
Use `TextMd` instead of `Text`
kpyszkowski May 6, 2024
1184455
Remove `value` property
kpyszkowski May 6, 2024
8ca3a0d
Hide unused/not ready cards
kpyszkowski May 6, 2024
b16913a
Merge branch 'landing-page' into landing-cards
kpyszkowski May 6, 2024
23e903b
Add cards wrapper padding for smaller viewports
kpyszkowski May 6, 2024
34f029a
Update season due timestamp
kpyszkowski May 6, 2024
8cd2590
Merge branch 'landing-page' into landing-cards
kkosiorowska May 7, 2024
9d91828
Landing page's card components (#369)
kkosiorowska May 7, 2024
d4dd846
Merge branch 'main' into landing-page
kpyszkowski May 7, 2024
df8fcee
Resolve ESLint error
kpyszkowski May 7, 2024
f4ca57d
Move `Layout` to components directory
kpyszkowski May 9, 2024
14995fa
Use `createBrowserRouter`
kpyszkowski May 9, 2024
be22c6c
Add missing types export
kpyszkowski May 9, 2024
81c98e3
Update `Tag` theme definition
kpyszkowski May 9, 2024
a6b63d9
Reorganize `LandingPage`'s components
kpyszkowski May 9, 2024
ed28606
Merge branch 'main' into landing-page
kpyszkowski May 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions dapp/src/DApp.tsx
Original file line number Diff line number Diff line change
@@ -1,34 +1,27 @@
import React from "react"
import { Box, ChakraProvider } from "@chakra-ui/react"
import { ChakraProvider } from "@chakra-ui/react"
import { Provider as ReduxProvider } from "react-redux"
import { RouterProvider } from "react-router-dom"
import { useInitApp } from "./hooks"
import { store } from "./store"
import theme from "./theme"
import { AcreSdkProvider } from "./acre-react/contexts"
import GlobalStyles from "./components/GlobalStyles"
import {
DocsDrawerContextProvider,
LedgerWalletAPIProvider,
SidebarContextProvider,
WalletContextProvider,
} from "./contexts"
import { AcreSdkProvider } from "./acre-react/contexts"
import Header from "./components/Header"
import Sidebar from "./components/Sidebar"
import DocsDrawer from "./components/DocsDrawer"
import GlobalStyles from "./components/GlobalStyles"
import { useInitApp } from "./hooks"
import { router } from "./router"
import { store } from "./store"
import theme from "./theme"

function DApp() {
useInitApp()

return (
<>
<Header />
<Box as="main">
<RouterProvider router={router} />
</Box>
<Sidebar />
<DocsDrawer />
<GlobalStyles />
<RouterProvider router={router} />
</>
)
}
Expand All @@ -42,7 +35,6 @@ function DAppProviders() {
<SidebarContextProvider>
<ReduxProvider store={store}>
<ChakraProvider theme={theme}>
<GlobalStyles />
<DApp />
</ChakraProvider>
</ReduxProvider>
Expand Down
1 change: 1 addition & 0 deletions dapp/src/assets/images/card-value-decorator.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dapp/src/assets/images/content-card-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dapp/src/assets/images/mystery-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dapp/src/assets/images/partner-logos/base-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions dapp/src/assets/images/partner-logos/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export { default as baseLogo } from "#/assets/images/partner-logos/base-logo.svg"
export { default as thresholdLogo } from "#/assets/images/partner-logos/threshold-logo.svg"
export { default as ledgerLogo } from "#/assets/images/partner-logos/ledger-logo.svg"
export { default as wormholeLogo } from "#/assets/images/partner-logos/wormhole-logo.svg"
1 change: 1 addition & 0 deletions dapp/src/assets/images/partner-logos/ledger-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dapp/src/assets/images/partner-logos/threshold-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading