goodnight goobers

This commit is contained in:
scarlett kadan 2024-06-15 00:37:02 -04:00
parent a32297e574
commit 117881a8dc
3 changed files with 20 additions and 10 deletions

View File

@ -16,3 +16,9 @@
justify-content: space-between;
align-items: center;
}
@keyframes fade {
0% {
opacity: 0;
}
}

View File

@ -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>
);

View File

@ -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);