From 42213ae52905cd1a3b5bd4369d3d3b2b36e7eb20 Mon Sep 17 00:00:00 2001 From: Alam Guardin Date: Tue, 6 Aug 2024 21:33:24 -0500 Subject: style: create link component --- src/components/Link.astro | 49 +++++++++++++++++++++++++++++++++++++++++++++++ src/components/List.astro | 14 ++++++++++++++ src/pages/index.astro | 4 +++- 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 src/components/Link.astro create mode 100644 src/components/List.astro diff --git a/src/components/Link.astro b/src/components/Link.astro new file mode 100644 index 0000000..efd75f6 --- /dev/null +++ b/src/components/Link.astro @@ -0,0 +1,49 @@ + + + + + + + + \ No newline at end of file diff --git a/src/components/List.astro b/src/components/List.astro new file mode 100644 index 0000000..01998f9 --- /dev/null +++ b/src/components/List.astro @@ -0,0 +1,14 @@ +--- +import Link from "./Link.astro"; +--- + +
+ + + + + + + + +
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 6d91e65..05f6222 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,11 +1,13 @@ --- import Layout from '../layouts/Layout.astro'; import Profile from '../components/Profile.astro'; +import List from '../components/List.astro'; ---
+
@@ -13,7 +15,7 @@ import Profile from '../components/Profile.astro'; .container { margin: auto; max-width: 600px; - height: 100vh; + height: auto; width: 90%; } -- cgit v1.2.3