Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jan 26, 2025
1 parent 159b539 commit 051eaa3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 4 additions & 8 deletions pages/confirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ const Confirmation: NextPage = () => {
<div>
<div className={styles.subtitle}>Referral</div>
<div className={styles.title}>
It&apos;s now time to earn {" "}
<br className="hidden sm:block"/>
It&apos;s now time to earn <br className="hidden sm:block" />
<span className={styles.highlight}>crypto!</span>
</div>
</div>
Expand Down Expand Up @@ -67,19 +66,16 @@ const Confirmation: NextPage = () => {
)}
</div>
<div>
<Button
onClick={redirect}
radius={'12px'}
>
<Button onClick={redirect} radius={"12px"}>
Go to your domain
</Button>
</div>
</div>
<div className={styles.coconutLeft}>
<img alt="coconut" src="/register/coconutleft.webp" />
<img alt="coconut" src="/visuals/leftTree.svg" />
</div>
<div className={styles.coconutRight}>
<img alt="coconut" src="/register/coconutright.webp" />
<img alt="coconut" src="/visuals/rightTree.svg" />
</div>
</>
);
Expand Down
12 changes: 6 additions & 6 deletions styles/components/confirmation.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
color: #454545;
gap: 24px;
text-align: center;
margin: 10px;
position: relative;
z-index: 1;
overflow: hidden;
Expand Down Expand Up @@ -85,7 +84,7 @@
display: none;
}

.coconutLeft,
.coconutLeft,
.coconutRight {
bottom: -100px;
width: 350px;
Expand All @@ -94,7 +93,7 @@
.coconutLeft {
left: -50px;
}

.coconutRight {
right: -50px;
}
Expand All @@ -115,6 +114,7 @@
.subtitle {
font-size: 12px;
line-height: 16px;
margin-top: 2rem;
}

.copyAddr {
Expand All @@ -123,7 +123,7 @@
padding: 6px 14px;
}

.coconutLeft,
.coconutLeft,
.coconutRight {
bottom: -70px;
width: 200px;
Expand All @@ -132,7 +132,7 @@
.coconutLeft {
left: -80px;
}

.coconutRight {
right: -63px;
}
Expand All @@ -141,4 +141,4 @@
left: 0;
width: 90px;
}
}
}

0 comments on commit 051eaa3

Please sign in to comment.