From 1f00e0d0f8a6399edbde5a25acb14ee7321f43c5 Mon Sep 17 00:00:00 2001 From: mortennordseth Date: Mon, 1 Jul 2024 08:25:15 +0200 Subject: [PATCH] add friday information --- src/startskudd/components/clock/clock.tsx | 2 +- src/startskudd/index.tsx | 33 ++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/startskudd/components/clock/clock.tsx b/src/startskudd/components/clock/clock.tsx index 1d06d98c7..f807779bc 100644 --- a/src/startskudd/components/clock/clock.tsx +++ b/src/startskudd/components/clock/clock.tsx @@ -6,7 +6,7 @@ const Clock = () => { useState(calculateTime()); function calculateTime(): ClockObject { - const startskuddDate = new Date('2024-08-04T17:00:00.00+02:00'); + const startskuddDate = new Date('2024-08-02T09:00:00.00+02:00'); const timeNow = new Date(); const diffMs = startskuddDate.getTime() - timeNow.getTime(); const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24)); diff --git a/src/startskudd/index.tsx b/src/startskudd/index.tsx index a39ecfaf1..75440b881 100644 --- a/src/startskudd/index.tsx +++ b/src/startskudd/index.tsx @@ -57,6 +57,7 @@ const Startskudd = () => { + @@ -74,14 +75,14 @@ const Startskudd = () => {

Start:

-

Søndag, 4. august, 17:00

+

Fredag, 2. august, 09:00

Sted:

-

Oppdal

+

Trondheim, Teams og Oppdal

-

Avreise:

+

Avreise Oppdal:

Søndag, 4. august

@@ -126,6 +127,32 @@ const Startskudd = () => { /> +
+ +

🐧 Fredag 02.08.

+ +
+ + + + + + + +
+

🐨 Søndag 04.08.