From ff1d7f4deabe2d68deb1209009a78adfb550fb55 Mon Sep 17 00:00:00 2001 From: Joice Joseph Date: Fri, 15 Nov 2024 20:51:34 +0530 Subject: [PATCH] feat: adds schedule page --- src/components/navbar.jsx | 41 +------- src/layouts/Layout.astro | 7 +- src/pages/index.astro | 130 ++++++++++++++++++++++++-- src/pages/schedule.astro | 191 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 321 insertions(+), 48 deletions(-) create mode 100644 src/pages/schedule.astro diff --git a/src/components/navbar.jsx b/src/components/navbar.jsx index 44e4497..e3b4116 100644 --- a/src/components/navbar.jsx +++ b/src/components/navbar.jsx @@ -22,20 +22,8 @@ export default function Navbar() {
{/* Add your navigation links here */} - - - - - - + +
)} diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index cc51c81..7f5fa40 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,9 +3,10 @@ interface Props { title: string; } -const { title } = Astro.props; import Footer from '../components/elements/footer.astro'; -// import Navbar from '../components/navbar.jsx'; +import Navbar from '../components/navbar.jsx'; + +const { title } = Astro.props; --- @@ -19,7 +20,7 @@ import Footer from '../components/elements/footer.astro'; {title} - +