Skip to content

Commit

Permalink
added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Nov 24, 2024
1 parent fae45d7 commit f6259b4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="min-h-screen">
<div>
<NuxtPage />
</div>
</template>
19 changes: 18 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,26 @@
</BreadcrumbList>
</Breadcrumb>

<main class="px-6">
<main class="min-h-screen px-6">
<slot></slot>
</main>

<footer class="mt-auto p-6 bg-[var(--primary-100)]">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-4">
<img src="/blog-previews/probablyjassin.webp" alt="Footer logo" class="h-10 w-10 rounded-full" />
<p class="text-[var(--text-900)]">© 2024 Jässin Aouani</p>
</div>
<div class="flex space-x-6">
<a href="https://github.com/probablyjassin" class="text-[var(--text-900)] hover:text-[var(--secondary-400)] transition-colors">
<Icon name="line-md:github" class="w-6 h-6" />
</a>
<a href="mailto:[email protected]" class="text-[var(--text-900)] hover:text-[var(--secondary-400)] transition-colors">
<Icon name="line-md:email" class="w-6 h-6" />
</a>
</div>
</div>
</footer>
</div>
</template>

Expand Down

0 comments on commit f6259b4

Please sign in to comment.