Made a baseline working carousel, timeline, and started flushing out content for primary spacex experience

This commit is contained in:
2025-11-06 01:21:27 -08:00
parent 6f728ad146
commit d6e75ae2ea
26 changed files with 638 additions and 100 deletions

View File

@@ -1,7 +1,8 @@
---
import '../styles/global.css'
import Navbar from '../components/Navbar.astro';
import Footer from '../components/Footer.astro';
import '@styles/global.css'
import Navbar from '@components/Navbar.astro';
import Footer from '@components/Footer.astro';
const pageTitle = Astro.props.title ? `${Astro.props.title} - Corwin Perren` : "Corwin Perren";
---
@@ -12,14 +13,19 @@ const pageTitle = Astro.props.title ? `${Astro.props.title} - Corwin Perren` : "
<link rel="icon" href="/favicon.svg" type="image/svg+xml"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{pageTitle}</title>
<script is:inline type="module" src="/src/scripts/main.js"></script>
</head>
<body class="bg-black text-white">
<Navbar/>
<main class="mx-6 mt-6 mb-14">
{(Astro.props.title) && (
<h1 class="font-extrabold md:text-3xl md:mb-6">{Astro.props.title}</h1>
)}
<slot/>
</main>
<Footer/>
</body>
</html>
<script is:inline type="module" src="/src/scripts/main.js"></script>

View File

@@ -1,6 +1,6 @@
---
import BaseLayout from './BaseLayout.astro';
---
<BaseLayout>
<BaseLayout title={Astro.props.title}>
<slot/>
</BaseLayout>