Add HTML document title
This commit is contained in:
17
package-lock.json
generated
17
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
315
pages/index.tsx
315
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 (
|
||||
<div className={styles.outerContainer}>
|
||||
<div className={styles.innerContainer}>
|
||||
<header className={styles.sectionContainer}>
|
||||
<span className={styles.address}>
|
||||
Velkuantie 988, 21180 Livonsaari
|
||||
</span>
|
||||
<Image
|
||||
className={styles.mainLogo}
|
||||
src='/big-logo.webp'
|
||||
alt='logo'
|
||||
width={528}
|
||||
height={237}
|
||||
loading='lazy'
|
||||
/>
|
||||
<h1 className={styles.title + ' ' + styles.underLogo}>
|
||||
Kauppa&Ravintola&Kahvila&Baari
|
||||
</h1>
|
||||
</header>
|
||||
<>
|
||||
<NextSeo
|
||||
title='Livonsaaren Osuuskauppa'
|
||||
description='Kyläkauppa, kahvila, ravintola ja baari Livonsaarella'
|
||||
/>
|
||||
<div className={styles.outerContainer}>
|
||||
<div className={styles.innerContainer}>
|
||||
<header className={styles.sectionContainer}>
|
||||
<span className={styles.address}>
|
||||
Velkuantie 988, 21180 Livonsaari
|
||||
</span>
|
||||
<Image
|
||||
className={styles.mainLogo}
|
||||
src='/big-logo.webp'
|
||||
alt='logo'
|
||||
width={528}
|
||||
height={237}
|
||||
loading='lazy'
|
||||
/>
|
||||
<h1 className={styles.title + ' ' + styles.underLogo}>
|
||||
Kauppa&Ravintola&Kahvila&Baari
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<OpenHours />
|
||||
<Image
|
||||
className={styles.keepersImage}
|
||||
src='/elvira-iveta.png'
|
||||
layout='responsive'
|
||||
alt='kaupanpitäjät'
|
||||
width={251}
|
||||
height={251}
|
||||
loading='lazy'
|
||||
/>
|
||||
<span className={styles.emailAddress}>
|
||||
info@livonsaarenosuuskauppa.fi
|
||||
</span>
|
||||
<span className={styles.phone}>+358 40 0460600</span>
|
||||
<div className={styles.socialMediaContainer}>
|
||||
<a href='https://www.facebook.com/LivonsaarenOsuuskauppa/'>
|
||||
<section className={styles.sectionContainer}>
|
||||
<OpenHours />
|
||||
<Image
|
||||
className={styles.keepersImage}
|
||||
src='/elvira-iveta.png'
|
||||
layout='responsive'
|
||||
alt='kaupanpitäjät'
|
||||
width={251}
|
||||
height={251}
|
||||
loading='lazy'
|
||||
/>
|
||||
<span className={styles.emailAddress}>
|
||||
info@livonsaarenosuuskauppa.fi
|
||||
</span>
|
||||
<span className={styles.phone}>+358 40 0460600</span>
|
||||
<div className={styles.socialMediaContainer}>
|
||||
<a href='https://www.facebook.com/LivonsaarenOsuuskauppa/'>
|
||||
<Image
|
||||
className={styles.socialMediaIcon}
|
||||
src='/fb-icon.png'
|
||||
alt='facebook'
|
||||
width={100}
|
||||
height={100}
|
||||
loading='lazy'
|
||||
/>
|
||||
</a>
|
||||
<a href='https://www.instagram.com/livonsaaren_osuuskauppa/'>
|
||||
<Image
|
||||
className={styles.socialMediaIcon}
|
||||
src='/insta-icon.png'
|
||||
alt='instagram'
|
||||
width={100}
|
||||
height={100}
|
||||
loading='lazy'
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Postin automaattipalvelu</h1>
|
||||
<p className={styles.postServiceDesc}>
|
||||
Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren
|
||||
Osuuskaupasta
|
||||
</p>
|
||||
<span className={styles.postServiceInfo}>ma-la 12:00-19:00</span>
|
||||
<span className={styles.postServiceInfo}>
|
||||
Velkuantie 988, 21180 Livonsaari
|
||||
</span>
|
||||
<a href='https://www.smartpost.fi/' className={styles.link}>
|
||||
Lisätietoja
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Tervetuloa ravintolaan!</h1>
|
||||
<Image
|
||||
className={styles.menuImage}
|
||||
src='/restaurant.webp'
|
||||
alt='ravintola'
|
||||
width={506}
|
||||
height={89}
|
||||
loading='lazy'
|
||||
/>
|
||||
<h1 className={styles.title}>Alla kesäkauden tarjoilut</h1>
|
||||
<div className={styles.menuContainer}>
|
||||
<a href='/ravintola.pdf' className={styles.menuLink}>
|
||||
<h1 className={styles.title}>Ruoat</h1>
|
||||
</a>
|
||||
<a href='/baari.pdf' className={styles.menuLink}>
|
||||
<h1 className={styles.title}>Juomat</h1>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title + ' ' + styles.instagramText}>
|
||||
Seuraa meitä{' '}
|
||||
<a
|
||||
href='https://www.instagram.com/livonsaaren_osuuskauppa/'
|
||||
className={styles.instagramLink}
|
||||
>
|
||||
@Instagramissa
|
||||
</a>
|
||||
</h1>
|
||||
<div className={styles.instagramImagesContainer}>
|
||||
<Image
|
||||
className={styles.socialMediaIcon}
|
||||
src='/fb-icon.png'
|
||||
alt='facebook'
|
||||
width={100}
|
||||
height={100}
|
||||
className={styles.instagramImage}
|
||||
src='/kauppa.png'
|
||||
alt='kauppa ulkoa'
|
||||
width={650}
|
||||
height={650}
|
||||
loading='lazy'
|
||||
/>
|
||||
</a>
|
||||
<a href='https://www.instagram.com/livonsaaren_osuuskauppa/'>
|
||||
<Image
|
||||
className={styles.socialMediaIcon}
|
||||
src='/insta-icon.png'
|
||||
alt='instagram'
|
||||
width={100}
|
||||
height={100}
|
||||
className={styles.instagramImage}
|
||||
src='/cafe.png'
|
||||
alt='kahvi ja leivos'
|
||||
width={650}
|
||||
height={650}
|
||||
loading='lazy'
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<Image
|
||||
className={styles.instagramImage}
|
||||
src='/bar.png'
|
||||
alt='kaupan baari'
|
||||
width={650}
|
||||
height={650}
|
||||
loading='lazy'
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Postin automaattipalvelu</h1>
|
||||
<p className={styles.postServiceDesc}>
|
||||
Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren
|
||||
Osuuskaupasta
|
||||
</p>
|
||||
<span className={styles.postServiceInfo}>ma-la 12:00-19:00</span>
|
||||
<span className={styles.postServiceInfo}>
|
||||
Velkuantie 988, 21180 Livonsaari
|
||||
</span>
|
||||
<a href='https://www.smartpost.fi/' className={styles.link}>
|
||||
Lisätietoja
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Tervetuloa ravintolaan!</h1>
|
||||
<Image
|
||||
className={styles.menuImage}
|
||||
src='/restaurant.webp'
|
||||
alt='ravintola'
|
||||
width={506}
|
||||
height={89}
|
||||
loading='lazy'
|
||||
/>
|
||||
<h1 className={styles.title}>Alla kesäkauden tarjoilut</h1>
|
||||
<div className={styles.menuContainer}>
|
||||
<a href='/ravintola.pdf' className={styles.menuLink}>
|
||||
<h1 className={styles.title}>Ruoat</h1>
|
||||
</a>
|
||||
<a href='/baari.pdf' className={styles.menuLink}>
|
||||
<h1 className={styles.title}>Juomat</h1>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title + ' ' + styles.instagramText}>
|
||||
Seuraa meitä{' '}
|
||||
<a
|
||||
href='https://www.instagram.com/livonsaaren_osuuskauppa/'
|
||||
className={styles.instagramLink}
|
||||
>
|
||||
@Instagramissa
|
||||
</a>
|
||||
</h1>
|
||||
<div className={styles.instagramImagesContainer}>
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Teemme yhteistyötä</h1>
|
||||
<Image
|
||||
className={styles.instagramImage}
|
||||
src='/kauppa.png'
|
||||
alt='kauppa ulkoa'
|
||||
width={650}
|
||||
height={650}
|
||||
className={styles.collaborationImage}
|
||||
src='/collaboration.png'
|
||||
alt='yhteystyö'
|
||||
width={496}
|
||||
height={326}
|
||||
loading='lazy'
|
||||
/>
|
||||
<Image
|
||||
className={styles.instagramImage}
|
||||
src='/cafe.png'
|
||||
alt='kahvi ja leivos'
|
||||
width={650}
|
||||
height={650}
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<OpenHours />
|
||||
<iframe
|
||||
className={styles.googleMaps}
|
||||
src='https://maps.google.com/maps?q=Velkuantie%20988%2C%20Livonsaari%2C%20Finland&t=m&z=13&output=embed&iwloc=near'
|
||||
allowFullScreen={false}
|
||||
loading='lazy'
|
||||
/>
|
||||
<Image
|
||||
className={styles.instagramImage}
|
||||
src='/bar.png'
|
||||
alt='kaupan baari'
|
||||
width={650}
|
||||
height={650}
|
||||
loading='lazy'
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
referrerPolicy='no-referrer-when-downgrade'
|
||||
></iframe>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<h1 className={styles.title}>Teemme yhteistyötä</h1>
|
||||
<Image
|
||||
className={styles.collaborationImage}
|
||||
src='/collaboration.png'
|
||||
alt='yhteystyö'
|
||||
width={496}
|
||||
height={326}
|
||||
loading='lazy'
|
||||
/>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<section className={styles.sectionContainer}>
|
||||
<OpenHours />
|
||||
<iframe
|
||||
className={styles.googleMaps}
|
||||
src='https://maps.google.com/maps?q=Velkuantie%20988%2C%20Livonsaari%2C%20Finland&t=m&z=13&output=embed&iwloc=near'
|
||||
allowFullScreen={false}
|
||||
loading='lazy'
|
||||
referrerPolicy='no-referrer-when-downgrade'
|
||||
></iframe>
|
||||
</section>
|
||||
|
||||
<span className={styles.separator} />
|
||||
|
||||
<ScrollToTop />
|
||||
<ScrollToTop />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user