mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-11 09:51:47 +00:00
Upgrades + warning fix (#70)
* Upgrade all the things! * fix: heed 'viewport meta tags should not be used in _document.js's <Head>' warning
This commit is contained in:
9463
package-lock.json
generated
9463
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@@ -16,32 +16,32 @@
|
||||
"@zeit/next-css": "^1.0.1",
|
||||
"@zeit/next-less": "^1.0.1",
|
||||
"@zeit/next-stylus": "^1.0.1",
|
||||
"axios": "^0.19.0",
|
||||
"axios": "^0.20.0",
|
||||
"classnames": "^2.2.6",
|
||||
"font-awesome": "^4.7.0",
|
||||
"less": "^3.10.3",
|
||||
"lodash": "^4.17.15",
|
||||
"next": "^9.1.2",
|
||||
"next-fonts": "^0.19.0",
|
||||
"parse-github-event": "^0.2.0",
|
||||
"next-fonts": "^1.4.0",
|
||||
"parse-github-event": "^1.1.3",
|
||||
"react": "^16.11.0",
|
||||
"react-dom": "^16.11.0",
|
||||
"react-ga": "^2.7.0",
|
||||
"react-ga": "^3.1.2",
|
||||
"react-stripe-checkout": "^2.6.3",
|
||||
"react-time-ago": "^5.0.7",
|
||||
"react-time-ago": "^6.0.1",
|
||||
"stylus": "^0.54.7",
|
||||
"twitter-text": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "12.12.5",
|
||||
"@types/react": "16.9.11",
|
||||
"@types/node": "14.11.2",
|
||||
"@types/react": "16.9.49",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint": "^6.6.0",
|
||||
"eslint": "^7.9.0",
|
||||
"eslint-config-prettier": "^6.5.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-react": "^7.16.0",
|
||||
"prettier": "^1.18.2",
|
||||
"typescript": "3.6.4"
|
||||
"prettier": "^2.1.2",
|
||||
"typescript": "4.0.3"
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5"
|
||||
|
||||
47
pages/_app.tsx
Normal file
47
pages/_app.tsx
Normal file
@@ -0,0 +1,47 @@
|
||||
import React from 'react';
|
||||
import Head from 'next/head';
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<meta
|
||||
name="description"
|
||||
content="Koodiklinikka on suomalainen yhteisö ohjelmistoalan harrastajille ja ammattilaisille."
|
||||
/>
|
||||
<meta
|
||||
name="keywords"
|
||||
content="ohjelmointi,frontend,open source,devaus,suomi,javascript,clojure,go,java,node.js,io.js,angular.js,web"
|
||||
/>
|
||||
<meta charSet="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="180x180"
|
||||
href="/static/icons/apple-touch-icon.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="32x32"
|
||||
href="/static/icons/favicon-32x32.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="16x16"
|
||||
href="/static/icons/favicon-16x16.png"
|
||||
/>
|
||||
<link rel="manifest" href="/static/icons/site.webmanifest"/>
|
||||
<meta property="og:image" content="images/logo.png"/>
|
||||
<script src="https://js.stripe.com/v3/"/>
|
||||
<script src="//use.typekit.net/scb5xny.js"/>
|
||||
<script>{"try{Typekit.load();}catch(e){};"}</script>
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default MyApp;
|
||||
@@ -29,41 +29,7 @@ class MyDocument extends Document {
|
||||
render() {
|
||||
return (
|
||||
<Html lang="fi">
|
||||
<Head>
|
||||
<meta
|
||||
name="description"
|
||||
content="Koodiklinikka on suomalainen yhteisö ohjelmistoalan harrastajille ja ammattilaisille."
|
||||
/>
|
||||
<meta
|
||||
name="keywords"
|
||||
content="ohjelmointi,frontend,open source,devaus,suomi,javascript,clojure,go,java,node.js,io.js,angular.js,web"
|
||||
/>
|
||||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link
|
||||
rel="apple-touch-icon"
|
||||
sizes="180x180"
|
||||
href="/static/icons/apple-touch-icon.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="32x32"
|
||||
href="/static/icons/favicon-32x32.png"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="16x16"
|
||||
href="/static/icons/favicon-16x16.png"
|
||||
/>
|
||||
<link rel="manifest" href="/static/icons/site.webmanifest" />
|
||||
<meta property="og:image" content="images/logo.png" />
|
||||
<script src="https://js.stripe.com/v3/" />
|
||||
<script src="//use.typekit.net/scb5xny.js" />
|
||||
<script>{"try{Typekit.load();}catch(e){};"}</script>
|
||||
</Head>
|
||||
<Head />
|
||||
<body>
|
||||
<div className="site">
|
||||
<div className="container">
|
||||
|
||||
Reference in New Issue
Block a user