friends-best/pages/_app.tsx

38 lines
1.4 KiB
TypeScript
Raw Normal View History

import '../styles/globals.css'
2021-07-23 16:14:54 +00:00
import type { AppProps } from 'next/app'
2021-07-23 18:35:41 +00:00
import {NextIntlProvider} from 'next-intl';
2021-07-24 13:31:40 +00:00
import PlausibleProvider from 'next-plausible';
import Head from 'next/head';
2021-07-23 16:14:54 +00:00
2021-07-23 18:35:41 +00:00
function _App({ Component, pageProps }: AppProps) {
2021-07-24 13:31:40 +00:00
return (
<>
<Head>
<title>Vänner Bäst | Friends Best</title>
<link rel="icon" href="https://www.vannerba.st/favicon.png" />
<meta property="og:image" content="https://www.vannerba.st/yr.jpg" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@Ludoviko_" />
<meta name="twitter:creator" content="@Ludoviko_" />
<meta property="og:title" content="Vänner Bäst | Friends Best" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://www.vannerba.st/yr.jpg" />
<meta name="theme-color"
content="#9CA3AF"
// @ts-ignore
media="(prefers-color-scheme: light)" />
<meta name="theme-color"
content="#1F2937"
// @ts-ignore
media="(prefers-color-scheme: dark)"/>
</Head>
2021-07-24 13:31:40 +00:00
<PlausibleProvider trackOutboundLinks={true} domain="vannerba.st">
<NextIntlProvider messages={pageProps.messages}>
<Component {...pageProps} />
</NextIntlProvider>
2021-07-24 13:31:40 +00:00
</PlausibleProvider>
</>
2021-07-24 13:31:40 +00:00
)
2021-07-23 16:14:54 +00:00
}
2021-07-23 18:35:41 +00:00
export default _App