-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.gradient { | ||
width: 100%; | ||
height: 3px; | ||
background: linear-gradient( | ||
83deg, | ||
rgb(186 240 112) 3%, | ||
rgb(121 232 101) 16%, | ||
rgb(101 229 178) 28%, | ||
rgb(98 111 234) 40%, | ||
rgb(200 89 228) 52%, | ||
rgb(245 92 157) 65%, | ||
rgb(246 104 78) 77%, | ||
rgb(254 155 70) 89%, | ||
rgb(255 200 71) 100% | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import styles from './gradient.module.css'; | ||
|
||
export function Gradient() { | ||
return <div className={styles.gradient} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { Gradient } from './gradient'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
--- | ||
import Layout from '@/layouts/layout.astro'; | ||
import { Gradient } from '@/components/gradient'; | ||
import { Hero } from '@/components/hero'; | ||
--- | ||
|
||
<Layout title="Welcome to Astro."> | ||
<Gradient /> | ||
<Hero /> | ||
</Layout> |