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

Airdrops page #83

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
df1e94e
Add airdrops icon to NavLinksSection
Aliona-D Jan 13, 2025
7598c8f
Add airdrops constants
Aliona-D Jan 13, 2025
bb27484
Add airdrops types
Aliona-D Jan 13, 2025
9b03da3
Implement InfoSection on airdrops page
Aliona-D Jan 13, 2025
f77f6f8
Implement Airdrops page
Aliona-D Jan 13, 2025
dcdf584
Implement AddressesCheckSection on airdrops page
Aliona-D Jan 13, 2025
3e82761
Implement airdrop titles with tooltips as table headers
Aliona-D Jan 14, 2025
41820fe
Implement EligibilitySection on airdrops page
Aliona-D Jan 14, 2025
17c6561
Add horizontal scrollbar to eligibility table
Aliona-D Jan 14, 2025
3fb996b
Merge branch 'main' into Airdrops-page
Aliona-D Jan 14, 2025
e692cad
Integrate Sablier vesting logic with dynamic stream fetching
Aliona-D Jan 15, 2025
9ed78d7
Refactor StyledNavLink to dynamically adjust icon size based on scree…
Aliona-D Jan 15, 2025
b632b3e
Remove addressAirdropRows check for stream display
Aliona-D Jan 15, 2025
f0e415e
Add TitleSection in the layout of the airdrops page
Aliona-D Jan 15, 2025
11182f0
Update styles in AddressCheckSection
Aliona-D Jan 15, 2025
48fac69
Update styles in EligibilitySection
Aliona-D Jan 15, 2025
8060e4f
Update sablier subgraph url usage to a static value, simplifying conf…
Aliona-D Jan 15, 2025
e90133f
Update styles for InfoSection
Aliona-D Jan 15, 2025
ce73281
Implement EligibilityChecker component
Aliona-D Jan 22, 2025
2af1401
Add airdrops images
Aliona-D Jan 23, 2025
1540d4f
Implement basic AirdropsClaim component with responsive background im…
Aliona-D Jan 23, 2025
8a92974
Add ShareOnX button and InfoBox components on AirdropsClaim page
Aliona-D Jan 24, 2025
20fb20b
Remove unnecessary stuff
Aliona-D Jan 24, 2025
a53e2da
Implement logic for AirdropsClaim component
Aliona-D Jan 24, 2025
a345683
Adjust styles for LineSeparator component on Airdrops page
Aliona-D Jan 24, 2025
cd8285e
Adjust styles for mobile mode in AirdropsClaim component
Aliona-D Jan 24, 2025
80ec926
Adjust page height by adding margins for tablet and desktop views
Aliona-D Jan 27, 2025
ae7f08a
Update the height of MobileNavBar
Aliona-D Jan 27, 2025
ed2cb02
Add shadows in mobile view
Aliona-D Jan 27, 2025
9c7d4ed
Implement useScrollbarWidth hook
Aliona-D Jan 28, 2025
1c872c7
Add theme.app constants for paddings
Aliona-D Jan 28, 2025
9d16dc1
Update AppContainer padding and width styles
Aliona-D Jan 28, 2025
7206642
Update paddings on Leaderboard page
Aliona-D Jan 28, 2025
2fed273
Update styles on Portfolio page
Aliona-D Jan 28, 2025
c0ce7b1
Update styles on Airdrops page
Aliona-D Jan 28, 2025
33d7abf
Update styles on Markets page
Aliona-D Jan 28, 2025
b11ada4
Update styles on Trade page
Aliona-D Jan 28, 2025
fdc3d67
Configure the Share on X button
Aliona-D Jan 29, 2025
896a252
Update header title on EligibilityChecker page
Aliona-D Feb 5, 2025
0ebf1eb
Add handling for eligibilityStatus with no rewards
Aliona-D Feb 5, 2025
ba1d3e7
Handle error case for claim alias
Aliona-D Feb 5, 2025
e8b1b59
Reset eligibility status when address changes
Aliona-D Feb 5, 2025
0df550c
Update margins and paddings for EligibilityChecker component
Aliona-D Feb 5, 2025
fc6441c
Replace airdrop images with optimized versions
Aliona-D Feb 14, 2025
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
Prev Previous commit
Next Next commit
Adjust styles for LineSeparator component on Airdrops page
  • Loading branch information
Aliona-D committed Jan 24, 2025
commit a3456838ba171065c66c3cd4c1664f1302c17180
15 changes: 15 additions & 0 deletions src/pages/Airdrops/AirdropsClaim/airdrops-claim-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,19 @@ export const InfoBox = styled(Flex)`
padding: 16px;
border: solid 1px ${theme.color.darkBlue};
}
`

export const LineSeparator = styled(Flex)`
@media (min-width: ${theme.breakpoints.sm}) {
height: 0;
width: 100%;
position: absolute;
top: ${theme.headerSize.height};
left: 0;
border-bottom: 1px solid ${theme.color.darkBlue};
}

@media (min-width: ${theme.breakpoints.lg}) {
display: none;
}
`
2 changes: 1 addition & 1 deletion src/pages/Airdrops/AirdropsClaim/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import {
GradientText,
HandImg,
InfoBox,
LineSeparator,
MainBgImg,
ShareOnXbutton,
} from "./airdrops-claim-styles";
import theme from "../../../theme";
import LogoImg from "../../../assets/images/overlay-logo-only-no-background.png";
import {
GradientLink,
LineSeparator,
StyledLink,
} from "../EligibilityChecker/eligibility-checker-styles";
import Xlogo from "../../../assets/images/airdrops/socials-x.png";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ export const LineSeparator = styled(Flex)`
border-bottom: 1px solid ${theme.color.darkBlue};
}

@media (min-width: ${theme.breakpoints.md}) {
width: calc(100% - ${theme.headerSize.width});
left: ${theme.headerSize.width};
}

@media (min-width: ${theme.breakpoints.lg}) {
display: none;
}
Expand Down