-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_app.js
64 lines (54 loc) · 1.76 KB
/
_app.js
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
52
53
54
55
56
57
58
59
60
61
62
63
64
import '../styles/globals.css';
import 'tailwindcss/tailwind.css';
import { DefaultSeo } from 'next-seo';
import Head from 'next/head';
import ProgressLoad from 'components/ProgressLoad';
import React, { useEffect } from 'react';
import { SidebarProvider } from 'context/SidebarContext';
import { ThemeProvider } from 'context/ThemeContext';
import Navbar from 'components/Navbar';
import { Windmill } from '@windmill/react-ui';
function MyApp({ Component, pageProps }) {
return (
<>
<Head>
<meta name='viewport' content='width=device-width,initial-scale=1' />
{/* <meta
name='google-site-verification'
content={
gtag.GOOGLE_VERIF || '-yo'
}
/> */}
<meta name='yandex-verification' content='356dad746d43cc34' />
<meta name='theme-color' content='#f0efeb' />
<link rel='icon' type='image/x-icon' href='/favicon.ico' />
<link rel='icon' type='image/png' href='/favicon.png'></link>
<title>Nextjs Windmill Dashboard</title>
<meta name='description' content='Windmill Dashboard for nextjs' />
<link
rel='stylesheet'
href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1.1/css/all.css'
/>
</Head>
<style jsx global>{`
html {
font-family: 'Roboto', sans-serif;
scroll-behavior: smooth;
scroll-behavior: smooth;
}
`}</style>
<DefaultSeo />
{/* <ThemeProvider> */}
<SidebarProvider>
<Windmill usePreferences={true}>
<Navbar>
<ProgressLoad />
<Component {...pageProps} />
</Navbar>
</Windmill>
</SidebarProvider>
{/* </ThemeProvider> */}
</>
);
}
export default MyApp;