From 462b2fe10cf45da3dbcb5ee20ca6dfb79f46e6b6 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 4 Nov 2021 13:34:02 +0200 Subject: Initial commit --- pages/_app.tsx | 13 +++++++++++++ pages/_document.tsx | 22 ++++++++++++++++++++++ pages/index.tsx | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 pages/_app.tsx create mode 100644 pages/_document.tsx create mode 100644 pages/index.tsx (limited to 'pages') diff --git a/pages/_app.tsx b/pages/_app.tsx new file mode 100644 index 0000000..047963f --- /dev/null +++ b/pages/_app.tsx @@ -0,0 +1,13 @@ +import "../styles/globals.css"; +import React from "react"; + +interface Props { + Component: typeof React.Component; + pageProps: any; +} + +const MyApp = ({ Component, pageProps }: Props): JSX.Element => { + return ; +}; + +export default MyApp; diff --git a/pages/_document.tsx b/pages/_document.tsx new file mode 100644 index 0000000..8f33f41 --- /dev/null +++ b/pages/_document.tsx @@ -0,0 +1,22 @@ +import Document, { Html, Head, Main, NextScript, DocumentInitialProps, DocumentContext } from "next/document"; + +class MyDocument extends Document { + static async getInitialProps(ctx: DocumentContext): Promise { + const initialProps = await Document.getInitialProps(ctx); + return { ...initialProps }; + } + + render(): JSX.Element { + return ( + + + +
+ + + + ); + } +} + +export default MyDocument; \ No newline at end of file diff --git a/pages/index.tsx b/pages/index.tsx new file mode 100644 index 0000000..b4eb1cf --- /dev/null +++ b/pages/index.tsx @@ -0,0 +1,32 @@ +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 ( +
+ + jan.systems + + + + +
+

+ jan.systems +

+ +
+ + + +
+ +
+ +
+
+
+ ); +} -- cgit v1.3