goodnight goobers
This commit is contained in:
parent
a32297e574
commit
117881a8dc
@ -15,4 +15,10 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes fade {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -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
|
||||||
backgroundColor: "red",
|
style={{
|
||||||
width: "100%",
|
backgroundColor: "red",
|
||||||
height: "auto",
|
width: "100%",
|
||||||
position: "relative",
|
height: "auto",
|
||||||
marginTop: "70px",
|
position: "relative",
|
||||||
}}>{children}</main>
|
marginTop: "70px",
|
||||||
|
animation: "fade 0.9s ease-in"
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</main>
|
||||||
<Footer></Footer>
|
<Footer></Footer>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user