goodnight goobers
This commit is contained in:
		| @@ -16,3 +16,9 @@ | |||||||
|     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 | ||||||
|  |         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> | ||||||
|   ); |   ); | ||||||
|   | |||||||
| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user