Fix trailing slashes breaking pathname in prod, keep flex for main page div so footer sits properly, misspelling fix
All checks were successful
Build and Test - Staging / test (pull_request) Successful in 4m40s
Build and Test - Staging / build_and_push (pull_request) Successful in 5m3s
Build and Test - Staging / deploy_staging (pull_request) Successful in 3s

This commit is contained in:
2025-12-06 11:07:06 -08:00
parent 37e7b3617a
commit a38cd26894
3 changed files with 4 additions and 5 deletions

View File

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

View File

@@ -29,7 +29,7 @@ export const siteLayout: navLink[] = [
path: "osu-ceoas-ocean-mixing-group", path: "osu-ceoas-ocean-mixing-group",
children: [ children: [
{ {
navText: "Robotics Oceanographic Surface Sampler", navText: "Robotic Oceanographic Surface Sampler",
path: "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" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{pageEnabled ? pageTitle : "Corwin Perren"}</title> <title>{pageEnabled ? pageTitle : "Corwin Perren"}</title>
</head> </head>
<body <body class="flex h-dvh w-full max-w-full flex-col bg-black text-white">
class="grid h-dvh w-full max-w-full grid-cols-1 gap-0 bg-black text-white"
>
<div <div
id="content-body-scrolling" id="content-body-scrolling"
class="grow overflow-x-hidden overflow-y-scroll" class="grow overflow-x-hidden overflow-y-scroll"
> >
<Navbar /> <Navbar />
<main class="mx-6 my-2"> <main class="mx-6 my-4">
{ {
showTitle && pageEnabled && ( showTitle && pageEnabled && (
<PageGroup> <PageGroup>