]> git.r.bdr.sh - rbdr/corona-regeln/blame - src/lib/components/rules.svelte
Port to svelte
[rbdr/corona-regeln] / src / lib / components / rules.svelte
CommitLineData
5d9f7190
RBR
1<script>
2 import { getRules } from '$lib/stores/rules';
3
4 $: rules = getRules();
5</script>
6
7<h1>
8 New Corona Regulations Berlin
9</h1>
10<ul>
11 {#each $rules as rule}
12 <li>
13 <h2>Starting {rule.time}</h2>
14 <p>
15 <span class="emoji">{rule.rule.emoji}</span>
16 <span class="text">{rule.rule.text}</span>
17 </p>
18 </li>
19 {/each}
20</ul>