From 3e935e96eded7650a25dd14294fee24686437f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Sat, 12 Nov 2022 18:08:13 +0200 Subject: [PATCH] Add HTML document title --- package-lock.json | 17 +++ package.json | 1 + pages/index.tsx | 315 +++++++++++++++++++++++----------------------- 3 files changed, 179 insertions(+), 154 deletions(-) diff --git a/package-lock.json b/package-lock.json index fbd8187..fbf5365 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@types/react": "18.0.24", "@types/react-dom": "18.0.8", "next": "13.0.1", + "next-seo": "^5.14.1", "react": "18.2.0", "react-dom": "18.2.0", "sass": "^1.55.0", @@ -498,6 +499,16 @@ } } }, + "node_modules/next-seo": { + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/next-seo/-/next-seo-5.14.1.tgz", + "integrity": "sha512-NiJeQbxYP3z+EMp52q8k3Q+OfX2+Yv2WehERDj98r2wjXxL+woKpRBdsSVYolTD0Hm8IWs42SzaISE93RoQdOw==", + "peerDependencies": { + "next": "^8.1.1-canary.54 || >=9.0.0", + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -944,6 +955,12 @@ "use-sync-external-store": "1.2.0" } }, + "next-seo": { + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/next-seo/-/next-seo-5.14.1.tgz", + "integrity": "sha512-NiJeQbxYP3z+EMp52q8k3Q+OfX2+Yv2WehERDj98r2wjXxL+woKpRBdsSVYolTD0Hm8IWs42SzaISE93RoQdOw==", + "requires": {} + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", diff --git a/package.json b/package.json index 97422d6..688e372 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@types/react": "18.0.24", "@types/react-dom": "18.0.8", "next": "13.0.1", + "next-seo": "^5.14.1", "react": "18.2.0", "react-dom": "18.2.0", "sass": "^1.55.0", diff --git a/pages/index.tsx b/pages/index.tsx index 7ec4db6..7a3d20d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -2,178 +2,185 @@ import styles from '../styles/Index.module.scss'; import Image from 'next/image'; import { OpenHours } from '../components/OpenHours'; import { ScrollToTop } from '../components/ScrollToTop'; +import { NextSeo } from 'next-seo'; export default function Index() { return ( -
-
-
- - Velkuantie 988, 21180 Livonsaari - - logo -

- Kauppa&Ravintola&Kahvila&Baari -

-
+ <> + +
+
+
+ + Velkuantie 988, 21180 Livonsaari + + logo +

+ Kauppa&Ravintola&Kahvila&Baari +

+
-
- - kaupanpitäjät - - info@livonsaarenosuuskauppa.fi - - +358 40 0460600 -
- +
+ + kaupanpitäjät + + info@livonsaarenosuuskauppa.fi + + +358 40 0460600 + +
+ + + +
+

Postin automaattipalvelu

+

+ Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren + Osuuskaupasta +

+ ma-la 12:00-19:00 + + Velkuantie 988, 21180 Livonsaari + + + Lisätietoja + +
+ + + +
+

Tervetuloa ravintolaan!

+ ravintola +

Alla kesäkauden tarjoilut

+ +
+ + + +
+

+ Seuraa meitä{' '} + + @Instagramissa + +

+
facebook - - instagram - -
-
+ kaupan baari +
+
- + -
-

Postin automaattipalvelu

-

- Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren - Osuuskaupasta -

- ma-la 12:00-19:00 - - Velkuantie 988, 21180 Livonsaari - - - Lisätietoja - -
- - - -
-

Tervetuloa ravintolaan!

- ravintola -

Alla kesäkauden tarjoilut

- -
- - - -
-

- Seuraa meitä{' '} - - @Instagramissa - -

-
+
+

Teemme yhteistyötä

kauppa ulkoa - kahvi ja leivos + + + +
+ + +
- + -
-

Teemme yhteistyötä

- yhteystyö -
- - - -
- - -
- - - - + +
-
+ ); }