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; justify-content: space-between;
align-items: center; 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 }) { export default function Layout({ children }: { children: React.ReactNode }) {
return ( return (
<div className="container"> <div className="container">
<Navbar></Navbar> <Navbar />
<main style={{ <main
style={{
backgroundColor: "red", backgroundColor: "red",
width: "100%", width: "100%",
height: "auto", height: "auto",
position: "relative", position: "relative",
marginTop: "70px", marginTop: "70px",
}}>{children}</main> animation: "fade 0.9s ease-in"
}}
>
{children}
</main>
<Footer></Footer> <Footer></Footer>
</div> </div>
); );

View File

@ -4,7 +4,6 @@ import React, { useState, useEffect } from "react";
import Link from "next/link"; import Link from "next/link";
import Modal from "react-modal"; import Modal from "react-modal";
import "@/stylesheets/navbar.scss"; import "@/stylesheets/navbar.scss";
import index from "@/pages";
const Navbar = () => { const Navbar = () => {
const [modal, setModal] = useState(false); const [modal, setModal] = useState(false);