goodnight goobers
This commit is contained in:
parent
a32297e574
commit
117881a8dc
@ -16,3 +16,9 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
@ -5,14 +5,19 @@ import "@/app/global.scss";
|
||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="container">
|
||||
<Navbar></Navbar>
|
||||
<main style={{
|
||||
backgroundColor: "red",
|
||||
width: "100%",
|
||||
height: "auto",
|
||||
position: "relative",
|
||||
marginTop: "70px",
|
||||
}}>{children}</main>
|
||||
<Navbar />
|
||||
<main
|
||||
style={{
|
||||
backgroundColor: "red",
|
||||
width: "100%",
|
||||
height: "auto",
|
||||
position: "relative",
|
||||
marginTop: "70px",
|
||||
animation: "fade 0.9s ease-in"
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</main>
|
||||
<Footer></Footer>
|
||||
</div>
|
||||
);
|
||||
|
@ -4,7 +4,6 @@ import React, { useState, useEffect } from "react";
|
||||
import Link from "next/link";
|
||||
import Modal from "react-modal";
|
||||
import "@/stylesheets/navbar.scss";
|
||||
import index from "@/pages";
|
||||
|
||||
const Navbar = () => {
|
||||
const [modal, setModal] = useState(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user