diff options
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/_app.tsx | 13 | ||||
| -rw-r--r-- | pages/_document.tsx | 22 | ||||
| -rw-r--r-- | pages/index.tsx | 32 |
3 files changed, 0 insertions, 67 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx deleted file mode 100644 index 047963f..0000000 --- a/pages/_app.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import "../styles/globals.css"; -import React from "react"; - -interface Props { - Component: typeof React.Component; - pageProps: any; -} - -const MyApp = ({ Component, pageProps }: Props): JSX.Element => { - return <Component {...pageProps} />; -}; - -export default MyApp; diff --git a/pages/_document.tsx b/pages/_document.tsx deleted file mode 100644 index 8f33f41..0000000 --- a/pages/_document.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import Document, { Html, Head, Main, NextScript, DocumentInitialProps, DocumentContext } from "next/document"; - -class MyDocument extends Document { - static async getInitialProps(ctx: DocumentContext): Promise<DocumentInitialProps> { - const initialProps = await Document.getInitialProps(ctx); - return { ...initialProps }; - } - - render(): JSX.Element { - return ( - <Html lang="en"> - <Head /> - <body> - <Main /> - <NextScript /> - </body> - </Html> - ); - } -} - -export default MyDocument;
\ No newline at end of file diff --git a/pages/index.tsx b/pages/index.tsx deleted file mode 100644 index b4eb1cf..0000000 --- a/pages/index.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import Head from "next/head"; -import Box from "../components/Box/Box"; -import Social from "../components/Social/Social"; -import styles from "../styles/Home.module.css"; - -export default function Home(): JSX.Element { - return ( - <div className={styles.container}> - <Head> - <title>jan.systems</title> - <link rel="icon" href="/favicon.ico" /> - <meta name="description" content="The personal home page of Jan Tuomi" /> - </Head> - - <main className={styles.main}> - <h1 className={styles.title}> - jan.systems - </h1> - - <div className={styles.socials}> - <Social type="telegram" /> - <Social type="linkedin" /> - <Social type="github" /> - </div> - - <div className={styles.boxes}> - <Box text="Files" href="/files" /> - </div> - </main> - </div> - ); -} |
