aboutsummaryrefslogtreecommitdiff
path: root/src/pages/_app.tsx
blob: d295175a2b4faef62f69a64c0c49a2abbbc11998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import Image from 'next/future/image';
import config from '../config';

function MyApp({ Component, pageProps }: AppProps) {
  return (
    <>
      <a href="/" style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', textDecoration: 'none', marginBottom: '12px' }}>
        <Image src={config.CDN + config.paths.logo} width={128} height={128} alt="logo" />
        <h1>{config.title}</h1>
      </a>
      <Component {...pageProps} />
    </>
  )
}

export default MyApp;