BLOG-45 Post content page #67

Merged
squid merged 9 commits from BLOG-45_post_content_page into main 2025-07-24 22:20:58 +08:00
3 changed files with 2 additions and 3 deletions
Showing only changes of commit e4807cac7a - Show all commits

View File

@ -1,5 +1,4 @@
<script lang="ts"> <script lang="ts">
import { StatusType } from '$lib/common/adapter/presenter/asyncState';
import { PostListBloc, PostListEventType } from '$lib/post/adapter/presenter/postListBloc'; import { PostListBloc, PostListEventType } from '$lib/post/adapter/presenter/postListBloc';
import PostPreview from '$lib/post/framework/ui/PostPreview.svelte'; import PostPreview from '$lib/post/framework/ui/PostPreview.svelte';
import { getContext, onMount } from 'svelte'; import { getContext, onMount } from 'svelte';

View File

@ -34,7 +34,7 @@
</div> </div>
<div class="flex flex-col gap-y-2.5"> <div class="flex flex-col gap-y-2.5">
<PostPreviewLabels labels={postInfo.labels} /> <PostPreviewLabels labels={postInfo.labels} />
<span class="line-clamp-1 font-bold text-lg">{postInfo.title}</span> <span class="line-clamp-1 text-lg font-bold">{postInfo.title}</span>
<span class="line-clamp-3 text-justify text-sm">{postInfo.description}</span> <span class="line-clamp-3 text-justify text-sm">{postInfo.description}</span>
<span class="text-sm text-gray-500">{postInfo.formattedPublishedTime}</span> <span class="text-sm text-gray-500">{postInfo.formattedPublishedTime}</span>
</div> </div>

View File

@ -3,7 +3,7 @@
</script> </script>
<div <div
class="min-h-content-height mx-auto flex max-w-screen-xl flex-col items-center justify-center px-4 md:px-6" class="mx-auto flex min-h-content-height max-w-screen-xl flex-col items-center justify-center px-4 md:px-6"
> >
<div class="flex flex-row items-end gap-x-4 md:gap-x-6"> <div class="flex flex-row items-end gap-x-4 md:gap-x-6">
<h1 class="text-5xl font-extrabold text-gray-800 underline md:text-7xl">404</h1> <h1 class="text-5xl font-extrabold text-gray-800 underline md:text-7xl">404</h1>