✨ Add responsive Navbar
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user