Fix trailing slashes breaking pathname in prod, keep flex for main page div so footer sits properly, misspelling fix #14

Merged
caperren merged 4 commits from website-content-updates into main 2025-12-06 20:07:23 +00:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit a38cd26894 - Show all commits

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>