]> git.r.bdr.sh - rbdr/forum/blob - src/lib/components/actions/topic.svelte
Update / use typescript
[rbdr/forum] / src / lib / components / actions / topic.svelte
1 <script lang="ts">
2 import type { TopicAction } from '$lib/stores/action';
3 export let actions: TopicAction;
4
5 import { _ } from 'svelte-i18n';
6 </script>
7
8 <li>
9 <a href="/reply/{actions.id}" title={$_('header.action.reply.title')}>
10 {@html $_('header.action.reply.display')}
11 </a>
12 </li>
13
14 <style>
15 li {
16 display: inline;
17 margin: 5px;
18 }
19
20 a {
21 text-decoration: none;
22 line-height: 3em;
23 display: inline-block;
24 }
25 </style>