frontpage/pages/_app.tsx

48 lines
2.4 KiB
TypeScript
Raw Normal View History

2021-12-14 23:45:00 +01:00
import type { AppProps } from "next/app";
2021-12-17 20:03:03 +01:00
import Head from "next/head";
2022-10-16 15:59:08 +02:00
import { ThemeProvider } from "next-themes";
2022-10-07 23:03:39 +02:00
import "../styles/globals.scss";
2022-06-21 18:44:20 +02:00
import { CommandsProvider } from "../lib/commands/ContextProvider";
2022-09-30 19:23:14 +02:00
import { ModalFunctionProvider } from "../components/Terminal/contexts/ModalFunctions";
2021-11-30 23:48:54 +01:00
function MyApp({ Component, pageProps }: AppProps) {
2021-12-17 20:03:03 +01:00
return <>
<Head>
2022-06-12 14:22:15 +02:00
<meta charSet="utf-8" />
2021-12-17 20:06:43 +01:00
<meta name="description" content="This is the homepage of C0ntroller." />
2022-10-29 22:17:08 +02:00
<meta name="keyword" content="private, homepage, software, portfolio, development, cli, hacker, terminal, javascript, js, typescript, ts, nextjs, react, responsive" />
2021-12-17 20:06:43 +01:00
<meta name="author" content="C0ntroller" />
<meta name="copyright" content="C0ntroller" />
<meta name="robots" content="index,nofollow" />
2021-12-17 20:03:03 +01:00
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png" />
2022-06-12 14:22:15 +02:00
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png" />
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png" />
2021-12-17 20:03:03 +01:00
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="msapplication-TileColor" content="#444444" />
<meta name="msapplication-TileImage" content="/mstile-310x310.png" />
<meta name="theme-color" content="#444444" />
</Head>
2022-10-16 15:59:08 +02:00
<ThemeProvider>
<CommandsProvider>
<ModalFunctionProvider>
<Component {...pageProps} />
</ModalFunctionProvider>
</CommandsProvider>
</ThemeProvider>
2021-12-17 20:03:03 +01:00
</>;
2021-11-30 23:48:54 +01:00
}
2021-12-14 23:45:00 +01:00
export default MyApp;