feat(page): Kommentar-Badge oben mit Scroll-to-Comments
Deploy / verify (push) Successful in 1m0s
Deploy / deploy (push) Successful in 1m22s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-06-03 09:33:22 +02:00
parent df4380409e
commit 5d2988fa1b
+13
View File
@@ -2,6 +2,8 @@
import ContentRows from '$lib/components/ContentRows.svelte';
import Accordion from '$lib/components/Accordion.svelte';
import Comments from '$lib/components/Comments.svelte';
import PostActions from '$lib/components/PostActions.svelte';
import { page } from '$app/stores';
import type { PageData } from './$types';
let { data }: { data: PageData } = $props();
@@ -14,6 +16,17 @@
</div>
{/if}
{#if data.commentPageId}
<div class="mb-4 print:hidden">
<PostActions
url={$page.url.href}
title={data.seoTitle}
commentPageId={data.commentPageId}
commentTargetId="comments-section"
/>
</div>
{/if}
<article>
<ContentRows layout={data.page} translations={data.translations} />
</article>