From 227eac690914886c5dd6d9a8bd627534c86b4a5d Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 1 Aug 2023 20:21:11 +0100 Subject: Initial commit --- src/components/Card.astro | 61 ----------------------- src/env.d.ts | 1 - src/layouts/Layout.astro | 39 --------------- src/pages/index.astro | 122 ---------------------------------------------- 4 files changed, 223 deletions(-) delete mode 100644 src/components/Card.astro delete mode 100644 src/env.d.ts delete mode 100644 src/layouts/Layout.astro delete mode 100644 src/pages/index.astro (limited to 'src') 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/env.d.ts b/src/env.d.ts deleted file mode 100644 index f964fe0..0000000 --- a/src/env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro deleted file mode 100644 index 3345b88..0000000 --- a/src/layouts/Layout.astro +++ /dev/null @@ -1,39 +0,0 @@ ---- -interface Props { - title: string; -} - -const { title } = Astro.props; ---- - - - - - - - - - - {title} - - - - - - diff --git a/src/pages/index.astro b/src/pages/index.astro deleted file mode 100644 index fa55169..0000000 --- a/src/pages/index.astro +++ /dev/null @@ -1,122 +0,0 @@ ---- -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. -

- -
-
- - -- cgit v1.2.3