fix: update styles in BlogPost, Footer, and Header components for consistency and improved readability

This commit is contained in:
fiatcode 2026-01-23 07:57:39 +07:00
parent a6c77933f8
commit 6c1caf1c27
3 changed files with 4 additions and 4 deletions

View file

@ -30,10 +30,10 @@ const { title, description, date, tags } = Astro.props;
<div
class="max-w-3xl mb-8
prose dark:prose-invert
prose prose-invert
prose-h1:border-b prose-h1:pb-4
prose-a:underline prose-a:underline-offset-4
prose-p:text-justify prose-img:rounded-xl
prose-p:text-zinc-300 prose-p:text-justify prose-img:rounded-xl
prose-headings:text-zinc-300"
>
<slot />

View file

@ -1,5 +1,5 @@
<footer class="w-full text-center">
<p class="text-xs text-zinc-600 dark:text-zinc-400">
<p class="text-xs text-zinc-400">
&copy; {new Date().getFullYear()} Dhemas Nurjaya. All rights reserved.
</p>
</footer>

View file

@ -2,7 +2,7 @@
import NavLink from "@/components/NavLink.astro";
---
<header class="text-black dark:text-white w-full">
<header class="w-full">
<nav class="flex flex-row justify-between" aria-label="Main navigation">
<div class="flex gap-2 items-center">
<a href="/" aria-label="Home">