remove wip page

This commit is contained in:
Kiril Videlov 2023-02-07 15:28:03 +01:00
parent 9d9c9bd537
commit c28e4b1c3b
3 changed files with 13 additions and 22 deletions

View File

@ -56,10 +56,6 @@
>
new project
</button>
<div class="flex items-center justify-center">
<a href="/wip">wip</a>
</div>
</nav>
<slot />
</main>

View File

@ -4,6 +4,9 @@
import type { PageData } from "./$types";
import { Timeline, CodeViewer } from "$lib/components";
import { Operation } from "$lib/crdt";
import { TimelineDay } from "$lib/components/timeline";
import type { Session } from "$lib/session";
import { dummySessions } from "$lib/session";
export let data: PageData;
const { deltas } = data;
@ -45,6 +48,16 @@
);
</script>
<div class="p-3">
<div class="flex flex-row space-x-3 text-slate-400 text-lg">
<div>Week</div>
<div class="text-slate-700">Day</div>
<div>Session</div>
</div>
<div>
<TimelineDay sessions={dummySessions} />
</div>
</div>
<ul class="flex flex-col gap-2">
{#if $showTimeline}
<Timeline min={$min} max={$max} on:value={(e) => value.set(e.detail)} />

View File

@ -1,18 +0,0 @@
<script lang="ts">
import { TimelineDay } from "$lib/components/timeline";
import type { Session } from "$lib/session";
import { dummySessions } from "$lib/session";
export let sessions: Session[] = dummySessions;
</script>
<div class="p-3">
<div class="flex flex-row space-x-3 text-slate-400 text-lg">
<div>Week</div>
<div class="text-slate-700">Day</div>
<div>Session</div>
</div>
<div>
<TimelineDay sessions={sessions}></TimelineDay>
</div>
</div>