fixed footer & navbar
This commit is contained in:
@@ -54,8 +54,8 @@ export default function NavigationBar() {
|
|||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
isScrolled
|
isScrolled
|
||||||
? "transition-all fixed w-full p-2"
|
? "transition-all fixed w-full p-2 z-50"
|
||||||
: "transition-all fixed w-full p-2 mt-8"
|
: "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">
|
<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">
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import SiteFooter from "../components/SiteFooter";
|
|||||||
|
|
||||||
export default function DefaultLayout() {
|
export default function DefaultLayout() {
|
||||||
return (
|
return (
|
||||||
<div className="relative flex flex-col justify-between h-screen">
|
<div className="relative flex flex-col justify-between">
|
||||||
<div className="flex flex-col h-screen">
|
<div className="flex flex-col min-h-screen">
|
||||||
<SingaporeAgencyStrip />
|
<SingaporeAgencyStrip />
|
||||||
<main className="pt-16 flex-grow">
|
<main className="pt-16 flex-grow">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
|
|||||||
Reference in New Issue
Block a user