-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_app.tsx
51 lines (41 loc) · 1.12 KB
/
_app.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { AppProps } from "next/app";
import Head from "next/head";
import NextNProgress from "nextjs-progressbar";
import Tailwindbreakpoints from "components/Tailwindbreakpoints";
import Navbar from "components/Navbar";
import "styles/globals.css";
const App = ({ Component, pageProps }: AppProps) => {
return (
<>
{/* progress bar on change in router */}
<NextNProgress
color="#000"
startPosition={0.0}
stopDelayMs={0}
height={2}
showOnShallow={true}
/>
{/* <Tailwindbreakpoints /> */}
<Head>
<title>JavaScript Equality Table :)</title>
<link rel="icon" href="/logo.svg" />
{/* meta tags */}
<meta charSet="UTF-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
</Head>
<div id="wrapper" className="flex flex-col md:flex-row ">
<div className="my-3 w-[19rem] md:w-40 self-center md:self-start">
<Navbar />
</div>
<main id="main-content" className="my-5 mx-auto">
<Component {...pageProps} />
</main>
</div>
</>
);
};
export default App;