Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ademilter committed Dec 10, 2021
1 parent a16a668 commit e006a02
Show file tree
Hide file tree
Showing 4 changed files with 993 additions and 5,050 deletions.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@
"author": "",
"license": "ISC",
"dependencies": {
"color": "^3.1.2",
"isomorphic-unfetch": "^3.0.0",
"next": "^9.2.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"color": "^3.2.1",
"isomorphic-unfetch": "^3.1.0",
"next": "^12.0.7",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"simple-react-clipboard": "^1.0.5",
"string-strip-html": "^4.3.16"
"string-strip-html": "^4.5.1"
},
"devDependencies": {
"prettier": "^1.19.1"
"prettier": "^2.5.1"
}
}
14 changes: 14 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Head from 'next/head'

function MyApp({ Component, pageProps }) {
return (
<>
<Head>
<meta name="viewport" content="viewport-fit=cover" />
</Head>
<Component {...pageProps} />
</>
)
}

export default MyApp
18 changes: 2 additions & 16 deletions pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ import Document, { Html, Head, Main, NextScript } from 'next/document'

import { GA_TRACKING_ID } from '../lib/analytics'

class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx)
return { ...initialProps }
}

export default class MyDocument extends Document {
render() {
return (
<Html>
<Head lang="en">
<meta charSet="utf-8" />
<script
async
src={`https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}`}
Expand All @@ -27,18 +23,10 @@ class MyDocument extends Document {
`
}}
/>

<script
src="https://sdk.nextsale.io/nextsale.min.js?key=pk_68804ec40feff8c7faff80920cb9b473b6462ebd"
async
/>

<meta charSet="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>

<link
href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:700&display=swap&subset=latin-ext"
rel="stylesheet"
Expand All @@ -52,5 +40,3 @@ class MyDocument extends Document {
)
}
}

export default MyDocument
Loading

1 comment on commit e006a02

@vercel
Copy link

@vercel vercel bot commented on e006a02 Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.