nav drawer closes on navigation

This commit is contained in:
Benjamin Palko 2025-05-01 10:50:37 -04:00
parent 5b8eaca2cb
commit 8be8fb9b60
4 changed files with 83 additions and 79 deletions

View file

@ -1,23 +0,0 @@
<script lang="ts">
interface Props {
links: {
name: string;
href: string;
}[];
}
let { links }: Props = $props();
</script>
<div class="flex justify-between text-xs lg:text-lg">
<div class="flex gap-2 lg:gap-8">
{#each links as link (link.href)}
<a
href={link.href}
target="_blank"
class="hover:text-base-content text-slate-600 transition-colors">{link.name}</a
>
{/each}
</div>
<p class="text-slate-600">© 2025 Benjamin Palko</p>
</div>

View file

@ -13,7 +13,7 @@
<div class="hero bg-base-200">
<div class="hero-content">
<div class="flex max-w-5xl gap-12">
<div class="flex flex-col gap-12 lg:flex-row">
<div class="flex-0">
<div class="avatar">
<div
@ -32,7 +32,7 @@
<p class="block py-6">
{description}
</p>
<div class="flex justify-end gap-4">
<div class="flex flex-col gap-2 lg:flex-row lg:justify-end lg:gap-4">
<a href="/resume" class="btn btn-outline btn-primary btn-wide">Resume</a>
<a href="/contact" class="btn btn-primary btn-wide">Contact</a>
</div>