diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro index 4ee9f72..b79b7ce 100644 --- a/frontend/src/layouts/Layout.astro +++ b/frontend/src/layouts/Layout.astro @@ -88,7 +88,7 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0; {isAdmin ? ( 0; )} {isAdmin ? ( 0; class="font-display italic text-sm text-[var(--subtext1)] hover:text-[var(--mauve)] transition-colors tracking-wide" >Contact )} - + {isAdmin && ( )} @@ -151,7 +151,7 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;

{isAdmin ? ( Or send a note directly - +

diff --git a/frontend/src/pages/index.astro b/frontend/src/pages/index.astro index 3870480..f1dae2f 100644 --- a/frontend/src/pages/index.astro +++ b/frontend/src/pages/index.astro @@ -61,7 +61,7 @@ const isAdmin = Astro.cookies.get('admin_session')?.value === '1';

{isAdmin ? ( {isAdmin ? (

)} - {posts.length > 0 && } + {posts.length > 0 && } diff --git a/frontend/src/pages/posts/[slug].astro b/frontend/src/pages/posts/[slug].astro index 2069f2e..ad255d7 100644 --- a/frontend/src/pages/posts/[slug].astro +++ b/frontend/src/pages/posts/[slug].astro @@ -95,7 +95,7 @@ const displayTitle = post ? (post.title || formatSlug(post.slug)) : 'Work'; Edit - + )}