From d2cbb1004f7ce023e6c9a351ae9385169b1f77a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 7 Mar 2026 18:58:42 +0100 Subject: [PATCH] fix: show author description on magazine article page Add description field to ARTICLE_BY_SLUG_QUERY and render it in the author bio card below the name. Co-Authored-By: Claude Sonnet 4.6 --- packages/frontend/src/lib/services.ts | 1 + packages/frontend/src/routes/magazine/[slug]/+page.svelte | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/lib/services.ts b/packages/frontend/src/lib/services.ts index 4a9a980..dfbc7a5 100644 --- a/packages/frontend/src/lib/services.ts +++ b/packages/frontend/src/lib/services.ts @@ -296,6 +296,7 @@ const ARTICLE_BY_SLUG_QUERY = gql` artist_name slug avatar + description } } } diff --git a/packages/frontend/src/routes/magazine/[slug]/+page.svelte b/packages/frontend/src/routes/magazine/[slug]/+page.svelte index f7b6c08..37e5b01 100644 --- a/packages/frontend/src/routes/magazine/[slug]/+page.svelte +++ b/packages/frontend/src/routes/magazine/[slug]/+page.svelte @@ -151,10 +151,13 @@ class="w-16 h-16 rounded-full object-cover ring-2 ring-primary/20" />
-

About {author.artist_name}

+

About {author.artist_name}

+ {#if author.description} +

{author.description}

+ {/if} {#if author.slug} - View profile + View profile → {/if}