From 37c8e231c3f6948025c3670374e2677f1265143d Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Thu, 26 Mar 2026 01:38:00 +0100 Subject: [PATCH] fixed back button and coloring --- frontend/src/components/PostCard.astro | 2 +- frontend/src/layouts/AdminLayout.astro | 19 ++++++++++-- frontend/src/pages/admin/editor.astro | 43 +++++++++++++++++++------- frontend/src/pages/posts/[slug].astro | 5 +-- 4 files changed, 53 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/PostCard.astro b/frontend/src/components/PostCard.astro index f0ebba6..42d886b 100644 --- a/frontend/src/components/PostCard.astro +++ b/frontend/src/components/PostCard.astro @@ -14,7 +14,7 @@ const { slug, excerpt, formatSlug } = Astro.props;

{formatSlug(slug)}

-

+

{excerpt || `Read more about ${formatSlug(slug)}...`}

diff --git a/frontend/src/layouts/AdminLayout.astro b/frontend/src/layouts/AdminLayout.astro index eada2e3..546efc4 100644 --- a/frontend/src/layouts/AdminLayout.astro +++ b/frontend/src/layouts/AdminLayout.astro @@ -9,12 +9,18 @@ const { title } = Astro.props; --- + + + + + +