This commit is contained in:
@ -4,7 +4,7 @@ import NavigationBar from "../components/NavigationBar";
|
||||
import ScrollUpButton from "../components/ScrollUpButton";
|
||||
import { siteConfig } from "../config/data";
|
||||
const currentPath = Astro.url.pathname;
|
||||
import '../styles/global.css';
|
||||
import "../styles/global.css";
|
||||
|
||||
export interface Props {
|
||||
title?: string;
|
||||
@ -13,7 +13,9 @@ export interface Props {
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
|
||||
const pageTitle = title ? `${title} | ${siteConfig.meta.title}` : siteConfig.meta.title;
|
||||
const pageTitle = title
|
||||
? `${title} | ${siteConfig.meta.title}`
|
||||
: siteConfig.meta.title;
|
||||
const pageDescription = description || siteConfig.meta.description;
|
||||
---
|
||||
|
||||
@ -30,7 +32,9 @@ const pageDescription = description || siteConfig.meta.description;
|
||||
<ClientRouter />
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen overflow-x-hidden">
|
||||
<main class="flex-grow flex flex-col gap-4 items-center justify-center">
|
||||
<main
|
||||
class="flex-grow flex flex-col gap-4 items-center justify-center pb-[68px] sm:pb-[76px]"
|
||||
>
|
||||
<slot />
|
||||
</main>
|
||||
<NavigationBar client:load currentPath={currentPath} />
|
||||
|
Reference in New Issue
Block a user