From ebb9f0d158d8ebc61f33529784ef324ad16649f1 Mon Sep 17 00:00:00 2001 From: Justin Dennison Date: Sun, 24 Nov 2024 20:19:21 -0500 Subject: [PATCH] chore: moved to using a LandingLayout for the landing page to isolate different facets of me --- src/layouts/LandingLayout.astro | 25 +++++++++++++++++++++++++ src/pages/index.astro | 6 +++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 src/layouts/LandingLayout.astro diff --git a/src/layouts/LandingLayout.astro b/src/layouts/LandingLayout.astro new file mode 100644 index 0000000..d41822b --- /dev/null +++ b/src/layouts/LandingLayout.astro @@ -0,0 +1,25 @@ +--- +import { ViewTransitions } from "astro:transitions"; +import BaseHead from "@components/BaseHead.astro"; +interface Props { + title: string; +} + +const {title} = Astro.props; +--- + + + + + + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 49418bf..9d3f30f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,14 +1,14 @@ --- -import Layout from "@layouts/Layout.astro"; +import LandingLayout from "@layouts/LandingLayout.astro"; const baseUrl = import.meta.env.BASE_URL; --- - +

Welcome to JD's page.

-
+