From 6d0292394ee22ef536f7c4a4c09bb242efd1a305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Fri, 6 Jun 2025 13:54:35 +0300 Subject: [PATCH] Summer 2025 update --- components/OpenHours.tsx | 16 +++++++++++----- pages/index.tsx | 8 ++++---- .../{ravintola.old.pdf => ravintola.2023.pdf} | Bin public/ravintola.2024.pdf | Bin 0 -> 4066695 bytes public/ravintola.pdf | Bin 4066695 -> 824247 bytes 5 files changed, 15 insertions(+), 9 deletions(-) rename public/{ravintola.old.pdf => ravintola.2023.pdf} (100%) create mode 100644 public/ravintola.2024.pdf diff --git a/components/OpenHours.tsx b/components/OpenHours.tsx index ca9b799..7e3d12a 100644 --- a/components/OpenHours.tsx +++ b/components/OpenHours.tsx @@ -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 ( <> -

ma-la 12:00-19:00

- {/* Only during summer season +

su-to 9:00-19:00

+ {/* Only during summer season */}

- pe-la 11:00-21:00 + pe-la 9:00-21:00

- */} + {kitchenNotice && (

Keittiö auki klo 12:00-19:00

)} + +

Tervetuloa!

); diff --git a/pages/index.tsx b/pages/index.tsx index e828355..8080adc 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -33,7 +33,7 @@ export default function Index() {

Auki:

- +
-

Tervetuloa kahvilaan!

+

Tervetuloa ravintolaan!

-

Alla syyskauden tarjoilut

+

Alla kesäkauden tarjoilut

{/* Only during summer season */} @@ -172,7 +172,7 @@ export default function Index() {

Auki:

- +