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 {
|
||||
& .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 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -8,18 +8,20 @@ export function Ready() {
|
||||
return (
|
||||
<div className={styles.ready}>
|
||||
<Container>
|
||||
<div className={styles.iconContainer}>
|
||||
<div className={styles.tail} />
|
||||
<div className={styles.icon}>
|
||||
<RiSparkling2Line />
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.iconContainer}>
|
||||
<div className={styles.tail} />
|
||||
<div className={styles.icon}>
|
||||
<RiSparkling2Line />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 className={styles.title}>Are you ready?</h2>
|
||||
<p className={styles.desc}>Create your calm oasis in seconds!</p>
|
||||
<a className={styles.button} href="#app">
|
||||
Use Moodist
|
||||
</a>
|
||||
<h2 className={styles.title}>Are you ready?</h2>
|
||||
<p className={styles.desc}>Create your calm oasis in seconds!</p>
|
||||
<a className={styles.button} href="#app">
|
||||
Use Moodist
|
||||
</a>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user