mirror of
https://github.com/remvze/moodist.git
synced 2025-09-29 15:30:49 -04:00
style: add gradient background
This commit is contained in:
parent
8cceb6ecd1
commit
77fed0308a
@ -1,4 +1,27 @@
|
|||||||
.ready {
|
.ready {
|
||||||
|
& .wrapper {
|
||||||
|
position: relative;
|
||||||
|
padding: 0 20px 40px;
|
||||||
|
border-radius: 0 0 20px 20px;
|
||||||
|
background: linear-gradient(transparent, var(--color-neutral-100));
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 50%;
|
||||||
|
width: 70%;
|
||||||
|
height: 1px;
|
||||||
|
background: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
transparent,
|
||||||
|
var(--color-neutral-300),
|
||||||
|
transparent
|
||||||
|
);
|
||||||
|
content: '';
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& .iconContainer {
|
& .iconContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -8,18 +8,20 @@ export function Ready() {
|
|||||||
return (
|
return (
|
||||||
<div className={styles.ready}>
|
<div className={styles.ready}>
|
||||||
<Container>
|
<Container>
|
||||||
<div className={styles.iconContainer}>
|
<div className={styles.wrapper}>
|
||||||
<div className={styles.tail} />
|
<div className={styles.iconContainer}>
|
||||||
<div className={styles.icon}>
|
<div className={styles.tail} />
|
||||||
<RiSparkling2Line />
|
<div className={styles.icon}>
|
||||||
|
<RiSparkling2Line />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2 className={styles.title}>Are you ready?</h2>
|
<h2 className={styles.title}>Are you ready?</h2>
|
||||||
<p className={styles.desc}>Create your calm oasis in seconds!</p>
|
<p className={styles.desc}>Create your calm oasis in seconds!</p>
|
||||||
<a className={styles.button} href="#app">
|
<a className={styles.button} href="#app">
|
||||||
Use Moodist
|
Use Moodist
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user