Add responsive Navbar

This commit is contained in:
stefan080106
2022-05-15 18:26:01 +02:00
parent cda1af7ce4
commit ce142c4a60
7 changed files with 417 additions and 64 deletions

View File

@@ -1,7 +1,17 @@
import '../styles/globals.css'
import Navbar from "../components/Navbar";
import "../styles/globals.css";
import styles from "../styles/Home.module.css";
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
return (
<div {...pageProps} className={styles.container}>
{/* Navbar */}
<Navbar />
{/* main */}
<Component className={styles.main} />
{/* footer */}
</div>
);
}
export default MyApp
export default MyApp;