Summer 2025 update

This commit is contained in:
2025-06-06 13:54:35 +03:00
parent 123db50182
commit 6d0292394e
5 changed files with 15 additions and 9 deletions

View File

@@ -1,15 +1,21 @@
import React from 'react';
import styles from '../styles/OpenHours.module.scss';
export const OpenHours = () => {
type OpenHoursProps = {
kitchenNotice?: boolean;
};
export const OpenHours = ({ kitchenNotice }: OpenHoursProps) => {
return (
<>
<p className={styles.openHoursText}>ma-la 12:00-19:00</p>
{/* Only during summer season
<p className={styles.openHoursText}>su-to 9:00-19:00</p>
{/* Only during summer season */}
<p className={styles.openHoursDesc}>
pe-la 11:00-21:00
pe-la 9:00-21:00
</p>
*/}
{kitchenNotice && (<p className={styles.openHoursDesc}>Keittiö auki klo 12:00-19:00</p>)}
<h2 className={styles.openHoursTitle}>Tervetuloa!</h2>
</>
);

View File

@@ -33,7 +33,7 @@ export default function Index() {
<section className={styles.sectionContainer}>
<h2 className={styles.openHoursTitle}>Auki:</h2>
<OpenHours />
<OpenHours kitchenNotice />
<Image
className={styles.mainImage}
src='/main.png'
@@ -90,7 +90,7 @@ export default function Index() {
<span className={styles.separator} />
<section className={styles.sectionContainer}>
<h1 className={styles.title}>Tervetuloa kahvilaan!</h1>
<h1 className={styles.title}>Tervetuloa ravintolaan!</h1>
<Image
className={styles.menuImage}
src='/restaurant.webp'
@@ -99,7 +99,7 @@ export default function Index() {
height={89}
loading='lazy'
/>
<h1 className={styles.title}>Alla syyskauden tarjoilut</h1>
<h1 className={styles.title}>Alla kesäkauden tarjoilut</h1>
<div className={styles.menuContainer}>
{/* Only during summer season */}
<a href='/ravintola.pdf' className={styles.menuLink}>
@@ -172,7 +172,7 @@ export default function Index() {
<section className={styles.sectionContainer}>
<h2 className={styles.openHoursTitle}>Auki:</h2>
<OpenHours />
<OpenHours kitchenNotice />
<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'

BIN
public/ravintola.2024.pdf Normal file

Binary file not shown.

Binary file not shown.