Added dependencies. Updated readme.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { AppProps } from "next/app";
|
||||
|
||||
import Head from 'next/head'
|
||||
import Head from "next/head";
|
||||
import React, { Fragment } from "react";
|
||||
|
||||
function LucidCreationWebsite({ Component, pageProps }: AppProps): JSX.Element {
|
||||
@@ -13,7 +13,7 @@ function LucidCreationWebsite({ Component, pageProps }: AppProps): JSX.Element {
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</Fragment>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
export default LucidCreationWebsite;
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
import Document, { Html, Main, NextScript, Head } from 'next/document'
|
||||
import Footer from '../components/layout/Footer'
|
||||
import React from 'react'
|
||||
import Document, { Html, Main, NextScript, Head } from "next/document";
|
||||
import Footer from "../components/layout/Footer";
|
||||
import React from "react";
|
||||
|
||||
class MyDocument extends Document {
|
||||
render(): JSX.Element {
|
||||
return (
|
||||
<Html>
|
||||
<Head>
|
||||
<meta name="description" content="The new and improved Lucid Creations Media website." />
|
||||
<meta
|
||||
name="description"
|
||||
content="The new and improved Lucid Creations Media website."
|
||||
/>
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
@@ -15,8 +18,8 @@ class MyDocument extends Document {
|
||||
</body>
|
||||
<Footer />
|
||||
</Html>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default MyDocument
|
||||
export default MyDocument;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Head from 'next/head'
|
||||
import React, { Fragment } from 'react'
|
||||
import Head from "next/head";
|
||||
import React, { Fragment } from "react";
|
||||
|
||||
const IndexPage = (): JSX.Element => {
|
||||
return (
|
||||
@@ -9,13 +9,11 @@ const IndexPage = (): JSX.Element => {
|
||||
</Head>
|
||||
<Fragment>
|
||||
<div>
|
||||
<span>
|
||||
Hello world!!
|
||||
</span>
|
||||
<span>Hello world!!</span>
|
||||
</div>
|
||||
</Fragment>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
export default IndexPage;
|
||||
|
||||
Reference in New Issue
Block a user