fixed footer & navbar

This commit is contained in:
2024-07-31 09:46:34 +08:00
parent 989e5b9c3a
commit 092795d8e8
2 changed files with 4 additions and 4 deletions

View File

@@ -54,8 +54,8 @@ export default function NavigationBar() {
<div
className={
isScrolled
? "transition-all fixed w-full p-2"
: "transition-all fixed w-full p-2 mt-8"
? "transition-all fixed w-full p-2 z-50"
: "transition-all fixed w-full p-2 z-50 mt-8"
}
>
<div className="relative bg-primary-50 dark:bg-primary-800 border-2 border-primary-100 dark:border-primary-950 shadow-lg w-full h-full rounded-xl flex flex-col justify-center p-1">

View File

@@ -6,8 +6,8 @@ import SiteFooter from "../components/SiteFooter";
export default function DefaultLayout() {
return (
<div className="relative flex flex-col justify-between h-screen">
<div className="flex flex-col h-screen">
<div className="relative flex flex-col justify-between">
<div className="flex flex-col min-h-screen">
<SingaporeAgencyStrip />
<main className="pt-16 flex-grow">
<Outlet />