commit d179fc0c260944fd7ef35706423099ace88c0703
parent 716c4be5a8163f72c2157a046e06065952fde178
Author: mokou <mokou@posteo.de>
Date: Thu, 21 May 2020 22:53:31 +0200
feat: Add Update log
Closes #3
Diffstat:
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/src/App.svelte b/src/App.svelte
@@ -3,12 +3,14 @@
import { is24Hrs } from './stores'
import Index from './pages/Index.svelte'
import Event from './pages/Event.svelte'
+ import Log from './pages/Log.svelte'
export let router = navaid()
let route
let routeParams
router.on('/', setRoute(Index))
+ router.on('/updates', setRoute(Log))
router.on('/:id', setRoute(Event))
router.listen()
@@ -33,6 +35,8 @@
{:else}
toggle 24-hours
{/if}
+ •
+ <a href="/updates">update log</a>
<br/>
</span>
</div>
diff --git a/src/main.css b/src/main.css
@@ -51,6 +51,14 @@ input {
@apply bg-white text-gray-600 cursor-not-allowed;
}
+.new {
+ @apply border-blue-400 border-l-2;
+}
+
+.new > * {
+ @apply pl-3;
+}
+
.autocomplete__menu {
@apply w-full bg-white border border-gray-400 rounded border-t-0;
}
diff --git a/src/pages/Log.svelte b/src/pages/Log.svelte
@@ -0,0 +1,20 @@
+<script>
+</script>
+
+<h1 class="text-5xl font-serif font-extrabold">koro Update Log</h1>
+
+<section class="max-w-xl mb-3 new">
+ <h2 class="text-2xl" name="110">Version 1.1.0</h2>
+ <ul class="list-disc ml-4">
+ <li>Added the ability to convert between AM/PM and 24-Hour display. You can toggle this in the site footer.</li>
+ <li>Added this update log!</li>
+ <li>Fixed a bug where you could keep scrolling to the right on the time select grid, which made everything bug out.</li>
+ </ul>
+</section>
+
+<section class="max-w-xl pl-3">
+ <h2 class="text-2xl" name="100">Version 1.0.0</h2>
+ <ul class="list-disc ml-4">
+ <li>Initial release!</li>
+ </ul>
+</section>