관리자 블록형 글쓰기 추가

This commit is contained in:
2026-05-01 18:17:12 +09:00
parent 0fd18bfb48
commit 10bf6b422e
14 changed files with 701 additions and 286 deletions

View File

@@ -24,8 +24,8 @@ if (!page.value) {
<h1 class="static-page__title mt-4 text-5xl font-semibold leading-tight">
{{ page.title }}
</h1>
<p class="static-page__description mt-6 whitespace-pre-line text-lg leading-8 text-muted">
{{ page.content }}
</p>
<ContentRenderer class="static-page__content mt-8">
<ContentMarkdownRenderer :content="page.content" />
</ContentRenderer>
</article>
</template>

View File

@@ -29,8 +29,6 @@ const postTag = computed(() => post.value.tags?.[0]?.toUpperCase() || 'POST')
</h1>
</ProseHeaderCard>
<p class="post-detail__content whitespace-pre-line">
{{ post.content }}
</p>
<ContentMarkdownRenderer class="post-detail__content" :content="post.content" />
</ContentRenderer>
</template>