2 import { _ } from 'svelte-i18n';
4 import { params } from '@roxi/routify';
5 import { version } from '$/config/config';
8 <header title="{$_('header.title')}">
10 <li><strong><a href="/" aria-label="{$_('header.long_version', { values: { version } })}">{$_('header.short_version', { values: { version } })}</a></strong></li>
11 <li><a href="/new" aria-label="{$_('header.action.new.title')}">{@html $_('header.action.new.display')}</a></li>
12 {#if $params.topic_id}
13 <li><a href="/reply/{$params.topic_id}" aria-label="{$_('header.action.reply.title')}">{@html $_('header.action.reply.display')}</a></li>
15 <li><a href="/search" aria-label="{$_('header.action.search.title')}">{@html $_('header.action.search.display')}</a></li>
16 <li><a href="/logout" aria-label="{$_('header.action.log_out.title')}">{@html $_('header.action.log_out.display')}</a></li>
22 grid-column: col-start 1 / span 12;
23 border-bottom: 1px solid black;
32 text-decoration: underline;
41 text-decoration: none;
43 display: inline-block;
48 text-decoration: underline;