Merge pull request 'Fix trailing slashes breaking pathname in prod, keep flex for main page div so footer sits properly, misspelling fix' (#14) from website-content-updates into main
All checks were successful
Build and Test - Production / test (push) Successful in 4m40s
Build and Test - Production / build_and_push (push) Successful in 5m4s
Build and Test - Production / deploy_production (push) Successful in 3s

Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
2025-12-06 20:07:23 +00:00
3 changed files with 4 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ const disabledPaths = getPaths(siteLayout, [], true);
export default defineConfig({
site: "https://caperren.com",
trailingSlash: "never",
prefetch: {
prefetchAll: true,
},

View File

@@ -29,7 +29,7 @@ export const siteLayout: navLink[] = [
path: "osu-ceoas-ocean-mixing-group",
children: [
{
navText: "Robotics Oceanographic Surface Sampler",
navText: "Robotic Oceanographic Surface Sampler",
path: "robotic-oceanographic-surface-sampler",
},
{

View File

@@ -40,15 +40,13 @@ const pageEnabled = pathToMetadata(Astro.url.pathname).enabled ?? true;
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{pageEnabled ? pageTitle : "Corwin Perren"}</title>
</head>
<body
class="grid h-dvh w-full max-w-full grid-cols-1 gap-0 bg-black text-white"
>
<body class="flex h-dvh w-full max-w-full flex-col bg-black text-white">
<div
id="content-body-scrolling"
class="grow overflow-x-hidden overflow-y-scroll"
>
<Navbar />
<main class="mx-6 my-2">
<main class="mx-6 my-4">
{
showTitle && pageEnabled && (
<PageGroup>