]>
Commit | Line | Data |
---|---|---|
1 | <script> | |
2 | import { _ } from 'svelte-i18n'; | |
3 | ||
4 | import LanguageSelector from '$/components/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 | </style> |