Updated summer time open hours

This commit is contained in:
2024-06-11 22:02:43 +03:00
parent 14de3ba908
commit ac098bd349
5 changed files with 21 additions and 17 deletions

View File

@@ -4,13 +4,11 @@ import styles from '../styles/OpenHours.module.scss';
export const OpenHours = () => { export const OpenHours = () => {
return ( return (
<> <>
<h2 className={styles.openHoursTitle}>Auki:</h2> <p className={styles.openHoursText}>su-to 9:00-19:00</p>
<p className={styles.openHoursText}>ma-la 12:00-19:00</p> {/* Only during summer season*/}
{/* Only during summer season
<p className={styles.openHoursDesc}> <p className={styles.openHoursDesc}>
kysynnän ja sään salliessa myös pidempään pe-la 9:00-21:00
</p> </p>
*/}
<h2 className={styles.openHoursTitle}>Tervetuloa!</h2> <h2 className={styles.openHoursTitle}>Tervetuloa!</h2>
</> </>
); );

19
package-lock.json generated
View File

@@ -293,9 +293,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001429", "version": "1.0.30001632",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001429.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz",
"integrity": "sha512-511ThLu1hF+5RRRt0zYCf2U2yRr9GPF6m5y90SBCWsvSoYoW7yAGlv/elyPaNfvGCkp6kj/KFZWU0BMA69Prsg==", "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==",
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@@ -304,8 +304,13 @@
{ {
"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"
} }
] ],
"license": "CC-BY-4.0"
}, },
"node_modules/chokidar": { "node_modules/chokidar": {
"version": "3.5.3", "version": "3.5.3",
@@ -838,9 +843,9 @@
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001429", "version": "1.0.30001632",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001429.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz",
"integrity": "sha512-511ThLu1hF+5RRRt0zYCf2U2yRr9GPF6m5y90SBCWsvSoYoW7yAGlv/elyPaNfvGCkp6kj/KFZWU0BMA69Prsg==" "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg=="
}, },
"chokidar": { "chokidar": {
"version": "3.5.3", "version": "3.5.3",

View File

@@ -32,6 +32,7 @@ export default function Index() {
</header> </header>
<section className={styles.sectionContainer}> <section className={styles.sectionContainer}>
<h2 className={styles.openHoursTitle}>Auki:</h2>
<OpenHours /> <OpenHours />
<Image <Image
className={styles.keepersImage} className={styles.keepersImage}
@@ -77,7 +78,7 @@ export default function Index() {
Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren Lähetä tai nouda paketti Postin pakettiautomaatista Livonsaaren
Osuuskaupasta Osuuskaupasta
</p> </p>
<span className={styles.postServiceInfo}>ma-la 12:00-19:00</span> <OpenHours />
<span className={styles.postServiceInfo}> <span className={styles.postServiceInfo}>
Velkuantie 988, 21180 Livonsaari Velkuantie 988, 21180 Livonsaari
</span> </span>
@@ -100,11 +101,10 @@ export default function Index() {
/> />
<h1 className={styles.title}>Alla syyskauden tarjoilut</h1> <h1 className={styles.title}>Alla syyskauden tarjoilut</h1>
<div className={styles.menuContainer}> <div className={styles.menuContainer}>
{/* Only during summer season {/* Only during summer season */}
<a href='/ravintola.pdf' className={styles.menuLink}> <a href='/ravintola.pdf' className={styles.menuLink}>
<h1 className={styles.title}>Ruoat</h1> <h1 className={styles.title}>Ruoat</h1>
</a> </a>
*/}
<a href='/baari.pdf' className={styles.menuLink}> <a href='/baari.pdf' className={styles.menuLink}>
<h1 className={styles.title}>Juomat</h1> <h1 className={styles.title}>Juomat</h1>
</a> </a>
@@ -171,6 +171,7 @@ export default function Index() {
<span className={styles.separator} /> <span className={styles.separator} />
<section className={styles.sectionContainer}> <section className={styles.sectionContainer}>
<h2 className={styles.openHoursTitle}>Auki:</h2>
<OpenHours /> <OpenHours />
<iframe <iframe
className={styles.googleMaps} className={styles.googleMaps}

BIN
public/ravintola.old.pdf Normal file

Binary file not shown.

Binary file not shown.