From 96a6d14e40e88cafb6d827098ca0de828ec70861 Mon Sep 17 00:00:00 2001 From: Mikkel Svartveit Date: Sat, 14 Oct 2023 20:29:48 -0700 Subject: [PATCH] Strip out template stuff --- src/components/Card.astro | 61 -------------------- src/layouts/Layout.astro | 31 +--------- src/pages/index.astro | 118 +------------------------------------- 3 files changed, 3 insertions(+), 207 deletions(-) delete mode 100644 src/components/Card.astro diff --git a/src/components/Card.astro b/src/components/Card.astro deleted file mode 100644 index bd6d597..0000000 --- a/src/components/Card.astro +++ /dev/null @@ -1,61 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - - - diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7b552be..5c9eaae 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -19,33 +19,4 @@ const { title } = Astro.props; - - + \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index fb62628..68898fa 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,123 +1,9 @@ --- import Layout from '../layouts/Layout.astro'; -import Card from '../components/Card.astro'; ---
- -

Welcome to Astro

-

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

- +

Hello World!

-
- - + \ No newline at end of file