diff --git a/web/src/components/Card.astro b/web/src/components/Card.astro deleted file mode 100644 index a1e0ccf..0000000 --- a/web/src/components/Card.astro +++ /dev/null @@ -1,63 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - - - diff --git a/web/src/components/home/hero/Header.astro b/web/src/components/home/hero/Header.astro new file mode 100644 index 0000000..29f08eb --- /dev/null +++ b/web/src/components/home/hero/Header.astro @@ -0,0 +1,28 @@ +
+

ryuuart::

+
+

manawave

+

ambient::infinity

+
+
+ + diff --git a/web/src/components/home/hero/Hero.astro b/web/src/components/home/hero/Hero.astro new file mode 100644 index 0000000..3528a54 --- /dev/null +++ b/web/src/components/home/hero/Hero.astro @@ -0,0 +1,37 @@ +--- +import Section from "../../../layouts/home/Section.astro"; +import Header from "./Header.astro"; +import Primordia from "./Primordia.astro"; +--- + +
+
+
+

+ MANAWAVE is a controllable, configurable, and omnidirectional marquee + defined with only HTML & CSS. It has zero dependencies and is built on + vanilla JavaScript. +

+
+ + +
+ + diff --git a/web/src/components/home/hero/Primordia.astro b/web/src/components/home/hero/Primordia.astro new file mode 100644 index 0000000..067fb26 --- /dev/null +++ b/web/src/components/home/hero/Primordia.astro @@ -0,0 +1,14 @@ +
+
Primordia
+
08.10.23
+
+ + diff --git a/web/src/components/home/poem/Poem.astro b/web/src/components/home/poem/Poem.astro new file mode 100644 index 0000000..79be1e2 --- /dev/null +++ b/web/src/components/home/poem/Poem.astro @@ -0,0 +1,32 @@ +--- +import Section from "../../../layouts/home/Section.astro"; +--- + +
+
+

+ Within manawave's embrace,
+ A realm seer's gaze takes flight,
+ Five realms unveiled, they trace,
+ Seeking truths in cosmic light. +

+
+
+
+ + diff --git a/web/src/components/home/realms/RealmItem.astro b/web/src/components/home/realms/RealmItem.astro new file mode 100644 index 0000000..b30443b --- /dev/null +++ b/web/src/components/home/realms/RealmItem.astro @@ -0,0 +1,33 @@ +--- +const { title, tagline, url } = Astro.props; +--- + +
+
+
+
+ {title} +
+

{tagline}

+
+
+ + diff --git a/web/src/components/home/realms/Realms.astro b/web/src/components/home/realms/Realms.astro new file mode 100644 index 0000000..7b69d22 --- /dev/null +++ b/web/src/components/home/realms/Realms.astro @@ -0,0 +1,52 @@ +--- +import Section from "../../../layouts/home/Section.astro"; +import realmsData from "./realms.json"; +import RealmItem from "./RealmItem.astro"; +--- + +
+
+

ryuuart::

+
+
+

5 Realms

+

visions • dreams • self

+
+ +
+ + diff --git a/web/src/components/home/realms/realms.json b/web/src/components/home/realms/realms.json new file mode 100644 index 0000000..8c37c4b --- /dev/null +++ b/web/src/components/home/realms/realms.json @@ -0,0 +1,27 @@ +[ + { + "title": "Sebonzakura", + "tagline": "1000 cherry dream petals", + "url": "/sebonzakura" + }, + { + "title": "hyperpink", + "tagline": "prima donna", + "url": "/sebonzakura" + }, + { + "title": "Hero", + "tagline": "another self", + "url": "/sebonzakura" + }, + { + "title": "#HYPERTRANCE", + "tagline": "infinite evolution —", + "url": "/sebonzakura" + }, + { + "title": "flarewater", + "tagline": "elemental flavor", + "url": "/sebonzakura" + } +] diff --git a/web/src/layouts/Layout.astro b/web/src/layouts/Layout.astro index 18ffe8a..1a4279c 100644 --- a/web/src/layouts/Layout.astro +++ b/web/src/layouts/Layout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + @@ -22,20 +22,19 @@ const { title } = Astro.props; diff --git a/web/src/layouts/home/Section.astro b/web/src/layouts/home/Section.astro new file mode 100644 index 0000000..bb9938c --- /dev/null +++ b/web/src/layouts/home/Section.astro @@ -0,0 +1,17 @@ +--- +const { class: className } = Astro.props; +--- + +
+ +
+ + diff --git a/web/src/pages/index.astro b/web/src/pages/index.astro index fd73d19..d97c2aa 100644 --- a/web/src/pages/index.astro +++ b/web/src/pages/index.astro @@ -1,83 +1,63 @@ --- import Layout from "../layouts/Layout.astro"; -import Card from "../components/Card.astro"; +import HeroSection from "../components/home/hero/Hero.astro"; +import PoemSection from "../components/home/poem/Poem.astro"; +import RealmsSection from "../components/home/realms/Realms.astro"; --- - -
-

Welcome to Astro

-

- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

- + +
+
+ + + +
+

Copyright © 2023 Long Nguyen. All rights reserved.

+
+ +