Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 477215e commit 1f52324
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions frontend/src/lib/components/Navigation/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
<script>
import { Footer, FooterLinkGroup, FooterLink, FooterBrand, FooterIcon } from 'flowbite-svelte';
import { FacebookSolid, InstagramSolid } from 'flowbite-svelte-icons';
import { _ } from 'svelte-i18n';
</script>

import {
Footer,
FooterBrand,
FooterIcon,
FooterLink,
FooterLinkGroup,
} from "flowbite-svelte";
import { FacebookSolid, InstagramSolid } from "flowbite-svelte-icons";
import { _ } from "svelte-i18n";
</script>

<Footer footerType="socialmedia" class="bg-zinc-700">
<div class="flex justify-between items-center px-1">
<div class="mb-2 mr-5 lg:ml-11 md:ml-10 max-sm:mr-3 max-sm:ml-1">
<FooterBrand class="flex" href="/" src="/src/lib/assets/mondey_dark.svg" alt="MONDEY logo"/>
</div>
</div>
<div class="grid grid-cols-2 gap-9 sm:grid-cols-2 min-md:mr-20 lg:mr-20 ml-3">
<div>
<h2 class="mb-6 mt-4 text-sm font-semibold text-white uppercase dark:text-white">{$_("footer.information")}</h2>
Expand Down Expand Up @@ -41,4 +47,4 @@
</FooterIcon>
</div>
</div>
</Footer>
</Footer>
4 changes: 2 additions & 2 deletions frontend/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import LocaleChooser from "$lib/components/LocaleChooser.svelte";
import FunctionalIcon from "$lib/components/Navigation/FunctionalIcon.svelte";
import UserProfile from "$lib/components/UserProfile.svelte";
import "$lib/i18n";
import Footer from "$lib/components/Navigation/Footer.svelte";
import { getTranslations } from "$lib/i18n";
import { user } from "$lib/stores/userStore.svelte";
import Footer from "$lib/components/Navigation/Footer.svelte";
import {
Avatar,
DarkMode,
Expand Down Expand Up @@ -67,4 +67,4 @@ onMount(async () => {
{@render children?.()}
</div>

<Footer/>
<Footer/>

0 comments on commit 1f52324

Please sign in to comment.