|
1 | 1 | <template> |
2 | 2 | <UApp> |
3 | 3 | <Navbar /> |
4 | | - <main class="min-h-screen px-6"> |
5 | | - <NuxtLoadingIndicator color="pink" error-color="red" /> |
| 4 | + <NuxtLoadingIndicator color="pink" error-color="red" /> |
| 5 | + <UMain class="px-6"> |
6 | 6 | <NuxtLayout> |
7 | 7 | <NuxtPage /> |
8 | 8 | </NuxtLayout> |
9 | | - </main> |
10 | | - <footer class="mt-auto p-6 bg-[var(--primary-100)]" style="background-color: var(--primary-100)"> |
11 | | - <div class="container mx-auto flex justify-between items-center"> |
12 | | - <div class="flex items-center space-x-4"> |
13 | | - <NuxtPicture src="images/blog-thumbnails/probablyjassin.webp" alt="Footer logo" class="h-10 w-10 rounded-full" /> |
14 | | - <p class="text-[var(--text-900)]">© {{ new Date().getFullYear() }} <span class="whitespace-nowrap">Jässin</span></p> |
15 | | - </div> |
16 | | - <div class="flex space-x-6"> |
17 | | - <a title="github" href="https://github.com/probablyjassin" class="text-[var(--text-900)] hover:text-[var(--secondary-400)] transition-colors"> |
18 | | - <Icon name="line-md:github" class="w-6 h-6" /> |
19 | | - </a> |
20 | | - < a title= "email" href= "mailto:[email protected]" class= "text-(--text-900) hover:text-(--secondary-400) transition-colors"> |
21 | | - <Icon name="line-md:email" class="w-6 h-6" /> |
22 | | - </a> |
23 | | - </div> |
24 | | - </div> |
25 | | - </footer> |
| 9 | + </UMain> |
| 10 | + <UFooter class="bg-[var(--primary-100)]"> |
| 11 | + <template #left> |
| 12 | + <NuxtPicture src="images/blog-thumbnails/probablyjassin.webp" alt="Footer logo" class="h-12 w-12 rounded-full" /> |
| 13 | + <p class="text-[var(--text-900)]">© {{ new Date().getFullYear() }} <span class="whitespace-nowrap">Jässin</span></p> |
| 14 | + </template> |
| 15 | + |
| 16 | + <template #right> |
| 17 | + <a title="github" href="https://github.com/probablyjassin" class="text-[var(--text-900)] hover:text-[var(--secondary-400)] transition-colors"> |
| 18 | + <Icon name="line-md:github" class="w-6 h-6" /> |
| 19 | + </a> |
| 20 | + < a title= "email" href= "mailto:[email protected]" class= "text-(--text-900) hover:text-(--secondary-400) transition-colors"> |
| 21 | + <Icon name="line-md:email" class="w-6 h-6" /> |
| 22 | + </a> |
| 23 | + </template> |
| 24 | + </UFooter> |
26 | 25 | </UApp> |
27 | 26 | </template> |
28 | 27 |
|
29 | 28 | <style> |
30 | 29 | /* Page Transitions */ |
31 | 30 | .page-enter-active, |
32 | 31 | .page-leave-active { |
33 | | - transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); |
| 32 | + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); |
34 | 33 | } |
35 | 34 | .page-enter-from, |
36 | 35 | .page-leave-to { |
|
0 commit comments