aboutsummaryrefslogtreecommitdiff
path: root/src/components/footer/footer.svelte
blob: 2d5f8ff1050d5b02d68cbe2131f9f0f358a07e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<script>
	import { _ } from 'svelte-i18n';

	import LanguageSelector from '$/components/language_selector/language_selector.svelte';

	const licenseUrl = 'https://gitlab.com/rbdr/forum/';
</script>

<footer title={$_('footer.title')}>
	<ul>
		<li>{@html $_('footer.license', { values: { licenseUrl } })}</li>
		<li>{$_('footer.choose_language')}: <LanguageSelector /></li>
	</ul>
</footer>

<style>
	footer {
		grid-column: col-start 1 / span 12;
		border-top: 1px solid black;
	}

	ul {
		padding: 0;
	}

	li {
		display: inline;
		margin: 5px;
	}
</style>