first commit

This commit is contained in:
2020-03-04 16:23:49 +01:00
commit 31692dfbd4
21 changed files with 8093 additions and 0 deletions

21
pages/_app.tsx Normal file
View File

@ -0,0 +1,21 @@
import App from 'next/app'
import Head from 'next/head'
import React from 'react'
import '../styl/index.styl'
export default class Index extends App {
public render() {
const { Component, pageProps } = this.props
return(
<>
<Head>
<title>Next Template Hello World !</title>
</Head>
<Component {...pageProps} />
</>
)
}
}

17
pages/index.tsx Normal file
View File

@ -0,0 +1,17 @@
import React from 'react'
import '../styl/index.styl'
export default class Index extends React.Component {
public render() {
return(
<>
<h1>Hello World !</h1>
<style jsx>{`
h1
font-size: 39px
`}</style>
</>
)
}
}