]> git.r.bdr.sh - rbdr/forum/blobdiff - src/components/footer/footer.svelte
Add jest for testing
[rbdr/forum] / src / components / footer / footer.svelte
index 3587aabf8a4692821b10e4a37e6ed178fcbb75ce..2d5f8ff1050d5b02d68cbe2131f9f0f358a07e08 100644 (file)
@@ -1,36 +1,30 @@
 <script>
-  import { _ } from 'svelte-i18n';
+       import { _ } from 'svelte-i18n';
 
-  import LanguageSelector from '../language_selector/language_selector.svelte';
+       import LanguageSelector from '$/components/language_selector/language_selector.svelte';
 
-  const licenseUrl = 'https://gitlab.com/rbdr/forum/';
+       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 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;
-  }
+       footer {
+               grid-column: col-start 1 / span 12;
+               border-top: 1px solid black;
+       }
 
-  ul {
-    padding: 0;
-  }
+       ul {
+               padding: 0;
+       }
 
-  li {
-    display: inline;
-    margin: 5px;
-  }
-
-  a {
-    text-decoration: none;
-    line-height: 3em;
-    display: inline-block;
-  }
+       li {
+               display: inline;
+               margin: 5px;
+       }
 </style>