Fix trailing slashes breaking pathname in prod, keep flex for main page div so footer sits properly, misspelling fix
This commit is contained in:
@@ -13,6 +13,7 @@ const disabledPaths = getPaths(siteLayout, [], true);
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://caperren.com",
|
||||
trailingSlash: "never",
|
||||
prefetch: {
|
||||
prefetchAll: true,
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user