Archived
Add New rounf and entry pages
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<div class="my-20">
|
||||
<h2 class="text-center text-2xl font-semibold">🎉🎉🎉 Uusi kierros on alkanut! 🎉🎉🎉</h2>
|
||||
<p class="my-10">
|
||||
Uusi kierros on alkanut. Et ole kuitenkaan vielä laittanut omaa ehdokasta sisään. Voit tehdä sen
|
||||
alla olevan lomakkeen avulla.
|
||||
</p>
|
||||
<div
|
||||
class="flex flex-col items-center border-2 border-zinc-500 rounded-xl p-10 text-center bg-zinc-700"
|
||||
>
|
||||
<form action="/api/newentry" method="post">
|
||||
<label for="ytlink" class="my-2">Youtube-linkki:</label>
|
||||
<input
|
||||
type="text"
|
||||
name="ytlink"
|
||||
class="input-text-field block w-full my-6"
|
||||
placeholder="https://www.youtube.com/watch?v=dQw4w9WgXcQ"
|
||||
/>
|
||||
<p class="my-6 text-2xl font-bold">--- TAI ---</p>
|
||||
<label for="upload" class="mb-2">Tiedosto:</label>
|
||||
<input type="file" name="upload" accept="audio/*" class="block w-full my-6" />
|
||||
<button type="submit" class="button-primary mt-4">Liity mukaan</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<main class="mx-auto p-6 my-20">
|
||||
<h2 class="text-center text-2xl font-semibold">Uusi kierros</h2>
|
||||
<p>Tällä hetkellä ei ole kierrosta käynnissä. Voit luoda uuden <a href="/events">tästä</a>.</p>
|
||||
</main>
|
||||
@@ -0,0 +1,8 @@
|
||||
<script>
|
||||
import NewRound from '../../components/NewRound.svelte';
|
||||
import NewEntry from '../../components/NewEntry.svelte';
|
||||
</script>
|
||||
|
||||
<NewRound />
|
||||
<hr />
|
||||
<NewEntry />
|
||||
Reference in New Issue
Block a user