fix: update styles in BlogPost, Footer, and Header components for consistency and improved readability
This commit is contained in:
parent
a6c77933f8
commit
6c1caf1c27
3 changed files with 4 additions and 4 deletions
|
|
@ -30,10 +30,10 @@ const { title, description, date, tags } = Astro.props;
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="max-w-3xl mb-8
|
class="max-w-3xl mb-8
|
||||||
prose dark:prose-invert
|
prose prose-invert
|
||||||
prose-h1:border-b prose-h1:pb-4
|
prose-h1:border-b prose-h1:pb-4
|
||||||
prose-a:underline prose-a:underline-offset-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"
|
prose-headings:text-zinc-300"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<footer class="w-full text-center">
|
<footer class="w-full text-center">
|
||||||
<p class="text-xs text-zinc-600 dark:text-zinc-400">
|
<p class="text-xs text-zinc-400">
|
||||||
© {new Date().getFullYear()} Dhemas Nurjaya. All rights reserved.
|
© {new Date().getFullYear()} Dhemas Nurjaya. All rights reserved.
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import NavLink from "@/components/NavLink.astro";
|
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">
|
<nav class="flex flex-row justify-between" aria-label="Main navigation">
|
||||||
<div class="flex gap-2 items-center">
|
<div class="flex gap-2 items-center">
|
||||||
<a href="/" aria-label="Home">
|
<a href="/" aria-label="Home">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue