]> git.r.bdr.sh - rbdr/forum/blob - src/components/footer/footer.svelte
3587aabf8a4692821b10e4a37e6ed178fcbb75ce
[rbdr/forum] / src / components / footer / footer.svelte
1 <script>
2 import { _ } from 'svelte-i18n';
3
4 import LanguageSelector from '../language_selector/language_selector.svelte';
5
6 const licenseUrl = 'https://gitlab.com/rbdr/forum/';
7 </script>
8
9 <footer title="{$_('footer.title')}">
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
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 }
36 </style>