From 1a9e4097fbcd55a86e9182ad0a3a37d5d273bc17 Mon Sep 17 00:00:00 2001 From: MotorTruck1221 Date: Wed, 9 Oct 2024 03:09:55 -0600 Subject: [PATCH] Fix the initial index page --- src/layouts/Layout.astro | 7 ++++--- src/pages/index.astro | 26 ++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 9b49360..35400b5 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -4,10 +4,11 @@ import Header from "@components/Header.astro"; import MobileNavigation from "@components/MobileNavigation.astro"; import SettingsLoader from "@components/settings/Loader.astro"; interface Props { - title: string; + title: string; + noHeader?: string; } -const { title } = Astro.props; +const { title, noHeader } = Astro.props; --- @@ -33,7 +34,7 @@ const { title } = Astro.props; -
+ {!noHeader &&
}
diff --git a/src/pages/index.astro b/src/pages/index.astro index 1d12d2f..57ae94e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,9 +1,31 @@ --- -import Card from "@components/Card.astro"; import Layout from "@layouts/Layout.astro"; --- -loading... + +
+ + + + + +
+
+