]>
Commit | Line | Data |
---|---|---|
862a5f9c BB |
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 | ||
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> |