Skip to content

Commit

Permalink
add friday information
Browse files Browse the repository at this point in the history
  • Loading branch information
mortennordseth committed Jul 1, 2024
1 parent 14a36e5 commit 1f00e0d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/startskudd/components/clock/clock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Clock = () => {
useState<ClockObject>(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));
Expand Down
33 changes: 30 additions & 3 deletions src/startskudd/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const Startskudd = () => {
<Meny>
<MenyButton text="Praktisk info" emoji="📌" />
<MenyButton text="Kontakt" emoji="💬" />
<MenyButton text="Fredag" emoji="🐧" />
<MenyButton text="Søndag" emoji="🐨" />
<MenyButton text="Mandag" emoji="🐳" />
<MenyButton text="Tirsdag" emoji="🐥" />
Expand All @@ -74,14 +75,14 @@ const Startskudd = () => {
<div className={style.startskudd__info}>
<div>
<p>Start:</p>
<p>Søndag, 4. august, 17:00</p>
<p>Fredag, 2. august, 09:00</p>
</div>
<div>
<p>Sted:</p>
<p>Oppdal</p>
<p>Trondheim, Teams og Oppdal</p>
</div>
<div>
<p>Avreise:</p>
<p>Avreise Oppdal:</p>
<p>Søndag, 4. august</p>
</div>
<div>
Expand Down Expand Up @@ -126,6 +127,32 @@ const Startskudd = () => {
/>
</section>

<section id="Fredag">
<Flexbox>
<h2 className={style.startskudd__h2}>🐧 Fredag 02.08.</h2>
<Label>Fredag</Label>
</Flexbox>
<TimeSchedule time={'09:00'} activity={'Bli-kjent runde'} />
<TimeSchedule
time={'10:00'}
activity={'Velkommen til Variant v/Odd Morten'}
/>
<TimeSchedule time={'10:30'} activity={'Intro til RÅ v/Tonje'} />
<TimeSchedule time={'11:15'} activity={'Lunsj'} />
<TimeSchedule
time={'12:00'}
activity={'Intro til design v/Stina Sofie'}
/>
<TimeSchedule
time={'13:00'}
activity={'Intro til utvikling v/Morten'}
/>
<TimeSchedule
time={'14:00'}
activity={'Kunsten å bygge team i full storm v/Hilde og Jakob'}
/>
</section>

<section id="Søndag">
<Flexbox>
<h2 className={style.startskudd__h2}>🐨 Søndag 04.08.</h2>
Expand Down

0 comments on commit 1f00e0d

Please sign in to comment.