Skip to content

Commit 95b1423

Browse files
committed
feat: love footer
1 parent 0900be5 commit 95b1423

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

frontend/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Toaster } from '@/shared/ui/sonner'
66

77
<template>
88
<Toaster richColors />
9-
9+
1010
<MainLayout>
1111
<RouterView v-slot="{ Component }">
1212
<Transition name="page" mode="out-in" appear>

frontend/src/shared/components/layout/LoveFooter.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import { Icon } from '@iconify/vue'
33
</script>
44

55
<template>
6-
<footer class="bg-background border-t py-3 text-center text-xs text-muted-foreground">
7-
Made with <Icon icon="radix-icons:heart-filled" class="h-lh w-lh inline" /> by <a href="https://github.com/ivanskv2000" target="_blank" class="underline underline-offset-2 hover:text-primary transition-colors">ivanskv2000</a>
8-
</footer>
6+
<footer class="bg-background drop-shadow-accent text-muted-foreground border-t py-3 text-center text-xs">
7+
Made with <Icon icon="radix-icons:heart-filled" class="h-lh w-lh inline" /> by
8+
<a
9+
href="https://github.com/ivanskv2000"
10+
target="_blank"
11+
class="hover:text-primary underline underline-offset-2 transition-colors"
12+
>ivanskv2000</a
13+
>
14+
</footer>
915
</template>

frontend/src/shared/components/layout/MainLayout.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import LoveFooter from './LoveFooter.vue'
66
</script>
77

88
<template>
9-
<div class="flex min-h-screen flex-col bg-background">
9+
<div class="bg-background flex min-h-screen flex-col">
1010
<!-- Header -->
11-
<header class="bg-background sticky top-0 z-50 w-full border-b drop-shadow-accent">
11+
<header class="bg-background drop-shadow-accent sticky top-0 z-50 w-full border-b">
1212
<div class="container flex h-14 items-center">
1313
<div class="flex">
1414
<MainLogo />
@@ -21,7 +21,7 @@ import LoveFooter from './LoveFooter.vue'
2121
</header>
2222

2323
<!-- Main Content -->
24-
<main class="container py-6 flex-1">
24+
<main class="container flex-1 py-6">
2525
<slot />
2626
</main>
2727

0 commit comments

Comments
 (0)