Merge pull request #9 from LucidKobold/graphql

Added org/repo to package.json. Fixed meta data.
This commit is contained in:
Lucid Kobold
2021-09-13 16:18:16 -04:00
committed by GitHub
6 changed files with 50 additions and 22 deletions

3
next-env.d.ts vendored
View File

@@ -1,3 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@@ -1,5 +1,13 @@
{
"private": true,
"name": "lucid-creations-media-website",
"homepage": "https://github.com/LucidCreationsMedia/LucidCreationsWebsite",
"version": "0.1.0",
"author": {
"name": "Lucid Creations Media",
"url": "https://lucidcreations.media",
"email": "social@lucidcreations.media"
},
"scripts": {
"dev": "next",
"build": "next build",

19
pages/_app.tsx Normal file
View File

@@ -0,0 +1,19 @@
import type { AppProps } from "next/app";
import Head from 'next/head'
import React, { Fragment } from "react";
function LucidCreationWebsite({ Component, pageProps }: AppProps): JSX.Element {
return (
<Fragment>
<Head>
<meta charSet="utf-8" />
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="icon" href="/logo/favicon/favicon.ico" />
</Head>
<Component {...pageProps} />
</Fragment>
)
}
export default LucidCreationWebsite;

View File

@@ -1,15 +1,13 @@
import Document, { Html, Main, NextScript, Head } from 'next/document'
import Footer from '../components/layout/Footer'
import React from 'react'
class MyDocument extends Document {
render() {
render(): JSX.Element {
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 />

View File

@@ -1,7 +1,7 @@
import Head from 'next/head'
import React, { Fragment } from 'react'
const IndexPage = () => {
const IndexPage = (): JSX.Element => {
return (
<div>
<Head>
@@ -18,4 +18,4 @@ const IndexPage = () => {
)
}
export default IndexPage
export default IndexPage;

View File

@@ -2786,6 +2786,22 @@ fsevents@~2.3.1:
languageName: node
linkType: hard
"lucid-creations-media-website@workspace:.":
version: 0.0.0-use.local
resolution: "lucid-creations-media-website@workspace:."
dependencies:
"@types/node": ^16.4.13
"@types/react": ^17.0.2
"@types/react-dom": ^17.0.1
eslint: ^7.32.0
eslint-config-next: ^11.0.1
next: ^11.1.1
react: ^17.0.2
react-dom: ^17.0.2
typescript: 4.3.5
languageName: unknown
linkType: soft
"make-dir@npm:^3.0.2":
version: 3.1.0
resolution: "make-dir@npm:3.1.0"
@@ -3961,22 +3977,6 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"root-workspace-0b6124@workspace:.":
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@types/node": ^16.4.13
"@types/react": ^17.0.2
"@types/react-dom": ^17.0.1
eslint: ^7.32.0
eslint-config-next: ^11.0.1
next: ^11.1.1
react: ^17.0.2
react-dom: ^17.0.2
typescript: 4.3.5
languageName: unknown
linkType: soft
"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"