]> git.r.bdr.sh - rbdr/forum/blame - src/components/footer/footer.svelte
Use only src for aliases
[rbdr/forum] / src / components / footer / footer.svelte
CommitLineData
862a5f9c
BB
1<script>
2 import { _ } from 'svelte-i18n';
3
74b03c33 4 import LanguageSelector from '$/components/language_selector/language_selector.svelte';
862a5f9c
BB
5
6 const licenseUrl = 'https://gitlab.com/rbdr/forum/';
7</script>
8
bd8e98d7 9<footer title="{$_('footer.title')}">
862a5f9c
BB
10 <ul>
11 <li>{@html $_('footer.license', { values: { licenseUrl } })}</li>
12 <li>{$_('footer.choose_language')}: <LanguageSelector /></li>
13 </ul>
14</footer>
15
16<style>
17 footer {
18 grid-column: col-start 1 / span 12;
19 border-top: 1px solid black;
20 }
21
22 ul {
23 padding: 0;
24 }
25
862a5f9c
BB
26 li {
27 display: inline;
28 margin: 5px;
29 }
30
31 a {
32 text-decoration: none;
33 line-height: 3em;
34 display: inline-block;
35 }
862a5f9c 36</style>