]> git.r.bdr.sh - rbdr/corona-regeln/blob - src/lib/components/rules.svelte
Add license
[rbdr/corona-regeln] / src / lib / components / rules.svelte
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>