Skip to content

Commit

Permalink
styles(wallet): adjust page styles (#494)
Browse files Browse the repository at this point in the history
* styles: center play button

* style: fix logos

* style: address comments on sections margins

* style: center Watch Demo button

* fix: consistent CTA copy

* style: increase card padding

* fix: stretched images

* fix: update starknet logo

* feat: replace assets
  • Loading branch information
DiogoSoaress authored Nov 20, 2024
1 parent 6e482f6 commit 475dbb2
Show file tree
Hide file tree
Showing 16 changed files with 57 additions and 33 deletions.
Binary file added public/images/Wallet/group.png
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 public/images/Wallet/user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions public/images/aave-logo-light.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 removed public/images/starknet-logo.png
Binary file not shown.
22 changes: 22 additions & 0 deletions public/images/starknet-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Wallet/BigCardsGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BigCardsGrid = ({ items }: { items: Array<BaseBlock['items'] & { component
if (!items || !items.length) return null

return (
<Container className={layoutCss.containerShort}>
<Container className={layoutCss.containerMedium}>
<Grid container spacing={{ xs: '30px', xl: '50px' }}>
{items.map((item, index) => {
const { component } = item
Expand Down
2 changes: 1 addition & 1 deletion src/components/Wallet/BigImageCard/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.card {
outline: 1px solid var(--mui-palette-border-light);
border-radius: 16px;
padding: 16px;
padding: 32px 16px;
display: flex;
flex-direction: column;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Wallet/FeatureCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const FeatureCards = ({ title, text, items = [] }: FeatureCardsProps) => {
const restItems = items.slice(0, -1)

return (
<Container className={layoutCss.containerMedium}>
<Container className={layoutCss.container}>
<Grid container justifyContent="space-between" columnSpacing="30px" rowGap="30px">
<Grid item xs={12} md={7}>
<Typography variant="h2">{title}</Typography>
Expand Down
9 changes: 5 additions & 4 deletions src/components/Wallet/FeatureCards/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@

.lastCard {
padding: 0;
gap: 0;
}

.lastCard .cardContent {
padding: 40px;
max-width: 516px;
}

.image {
height: 100%;
}

.cardContent {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -98,4 +95,8 @@
display: flex;
align-items: center;
}

.image {
height: 100%;
}
}
2 changes: 1 addition & 1 deletion src/components/Wallet/GradientNumbers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import layoutCss from '@/components/common/styles.module.css'
import css from './styles.module.css'

const Stats = ({ title, items }: BaseBlock): ReactElement => (
<Container className={layoutCss.containerShort}>
<Container className={layoutCss.container}>
<Typography variant="h2" mb={3} textAlign="center">
{title}
</Typography>
Expand Down
13 changes: 7 additions & 6 deletions src/components/Wallet/Hero/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,13 @@
flex-direction: column;
}

.logosWrapper img {
height: 42px;
}

.video {
border-radius: 16px;
width: 90%;
}

.watchDemo {
margin-top: 50px;
margin-top: 85px;
position: relative;
}

Expand All @@ -75,7 +71,7 @@
.playButton {
position: absolute;
z-index: 10;
top: 200px;
top: 40%;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -121,6 +117,11 @@

.logosWrapper {
flex-direction: row;
height: 42px;
}

.watchDemo {
margin-top: 100px;
}

.video {
Expand Down
Loading

0 comments on commit 475dbb2

Please sign in to comment.