mirror of
https://github.com/DerTyp7/apartment-altenau-nextjs.git
synced 2025-10-29 12:52:12 +01:00
[init] initlialize next app & convert old react app
This commit is contained in:
16
pages/_app.jsx
Normal file
16
pages/_app.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import "../styles/variables.scss";
|
||||
import "../styles/globals.scss";
|
||||
import Nav from "../components/Nav";
|
||||
import Footer from "../components/Footer";
|
||||
|
||||
export default function App({ Component, pageProps }) {
|
||||
return (
|
||||
<>
|
||||
<Nav {...pageProps} />
|
||||
<main>
|
||||
<Component {...pageProps} />
|
||||
</main>
|
||||
<Footer {...pageProps} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user