Move HTML title to correct place

This commit is contained in:
2023-06-22 11:19:52 +03:00
parent b1839ce31f
commit e46ec76314
3 changed files with 14 additions and 7 deletions

16
package-lock.json generated
View File

@@ -723,9 +723,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001346", "version": "1.0.30001506",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001506.tgz",
"integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==", "integrity": "sha512-6XNEcpygZMCKaufIcgpQNZNf00GEqc7VQON+9Rd0K1bMYo8xhMZRAo5zpbnbMNizi4YNgIDAFrdykWsvY3H4Hw==",
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@@ -734,6 +734,10 @@
{ {
"type": "tidelift", "type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite" "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
} }
] ]
}, },
@@ -3632,9 +3636,9 @@
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001346", "version": "1.0.30001506",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001506.tgz",
"integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==" "integrity": "sha512-6XNEcpygZMCKaufIcgpQNZNf00GEqc7VQON+9Rd0K1bMYo8xhMZRAo5zpbnbMNizi4YNgIDAFrdykWsvY3H4Hw=="
}, },
"chalk": { "chalk": {
"version": "4.1.2", "version": "4.1.2",

View File

@@ -4,10 +4,14 @@ import type { AppProps } from 'next/app';
import Footer from './components/Footer'; import Footer from './components/Footer';
import NavBar from './components/NavBar'; import NavBar from './components/NavBar';
import Logo from './components/Logo'; import Logo from './components/Logo';
import Head from 'next/head';
function Runosaari({ Component, pageProps }: AppProps) { function Runosaari({ Component, pageProps }: AppProps) {
return ( return (
<> <>
<Head>
<title>Runosaari</title>
</Head>
<NavBar /> <NavBar />
<Logo /> <Logo />
<main> <main>

View File

@@ -5,7 +5,6 @@ class MyDocument extends Document {
return ( return (
<Html> <Html>
<Head> <Head>
<title>Runosaari</title>
<link <link
href='https://fonts.googleapis.com/css?family=Crimson+Text' href='https://fonts.googleapis.com/css?family=Crimson+Text'
rel='stylesheet' rel='stylesheet'