diff --git a/src/components/Card.astro b/src/components/Card.astro index 10875f0..08c2910 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,9 +1,13 @@ --- -const { title } = Astro.props; +const { title, features, description } = Astro.props; --- -
- {title} -
- iOS | Rust | Postgres -
+ +
+ {title} +
+ {features.join(" | ")} +
+ {description} +
+
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 9f3008e..5001b84 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -10,10 +10,10 @@ import ThemeToggle from "./ThemeToggle";
- projects + projects   |   - - about + about
+ diff --git a/src/pages/index.astro b/src/pages/index.astro index 4242a46..aa59e52 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,11 +4,5 @@ import Layout from "../layouts/Layout.astro"; --- -
-

projects

-
- - -
-
+
diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro new file mode 100644 index 0000000..2f67648 --- /dev/null +++ b/src/pages/projects/index.astro @@ -0,0 +1,37 @@ +--- +import Card from "../../components/Card.astro"; +import Layout from "../../layouts/Layout.astro"; +--- + + +
+

projects

+
+ + + + + +
+
+