Initial next app with favicon and metadata.

This commit is contained in:
2021-08-09 15:14:38 -05:00
parent cef40c17e9
commit 59dadfcd42
17 changed files with 3413 additions and 101 deletions

24
pages/_document.tsx Normal file
View File

@@ -0,0 +1,24 @@
import Document, { Html, Main, NextScript, Head } from 'next/document'
import Footer from '../components/layout/Footer'
class MyDocument extends Document {
render() {
return (
<Html>
<Head>
<meta name="description" content="The new and improved Lucid Creations Media website." />
<meta charSet="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="icon" href="/logo/favicon/favicon.ico" />
</Head>
<body>
<Main />
<NextScript />
</body>
<Footer />
</Html>
)
}
}
export default MyDocument

21
pages/index.tsx Normal file
View File

@@ -0,0 +1,21 @@
import Head from 'next/head'
import React, { Fragment } from 'react'
const IndexPage = () => {
return (
<div>
<Head>
<title>Lucid Creations Media</title>
</Head>
<Fragment>
<div>
<span>
Hello world!!
</span>
</div>
</Fragment>
</div>
)
}
export default IndexPage