-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_app.tsx
26 lines (24 loc) · 845 Bytes
/
_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
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { AppProvider } from '../state/AppContext';
import { AnimatePresence } from 'framer-motion';
import '../styles/globals.css';
function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
</Head>
<AppProvider>
<AnimatePresence mode="wait">
<Component {...pageProps} />
</AnimatePresence>
</AppProvider>
</>
);
}
export default MyApp;