This commit is contained in:
1
LOG.md
1
LOG.md
@@ -8,6 +8,7 @@
|
||||
- Refined the desktop layout after review: the sidebar can now collapse on PC, the main window width is more consistent across dashboard/list/reader/chess/admin views, the sidebar archive shortcut was removed, and the top menu now uses WYPark branding with GitHub/email links plus theme switching only.
|
||||
- Moved auth/admin/write/logout actions into the Dock and changed category windows/menu labels to show the actual category name instead of Finder/posts copy.
|
||||
- Tuned the follow-up layout: main content now centers inside the area remaining after the desktop sidebar, sidebar GitHub/email shortcuts were removed, top-bar GitHub/email links now sit as plain left-side menu items, and the home labels were simplified to 홈/WYPark.
|
||||
- Softened the home dashboard inner popular/latest sections so they no longer render as nested macOS windows with traffic-light controls; they now read as embedded dashboard panels inside the WYPark window.
|
||||
- Validation: `npm run lint` passed, `npm run build` passed. The build logged a sitemap fetch warning because the backend API at the local default was not reachable, but the command completed successfully.
|
||||
- Browser verification: previously started this app on `http://localhost:3100` because ports 3000 and 3001 were already occupied; confirmed desktop background gradients, menu bar, Dock, and window surfaces on `/`, `/archive`, and `/login`. For this follow-up, the dev/standalone server started successfully in foreground but exited when launched as a background non-interactive process, so browser verification was skipped after lint/build passed.
|
||||
- Recommended next task: review the remaining older Korean strings in admin/editor flows and normalize any mojibake that predates this redesign.
|
||||
|
||||
@@ -193,20 +193,22 @@ function PostListPanel({
|
||||
return (
|
||||
<WindowSurface
|
||||
as="section"
|
||||
title={(
|
||||
<span className="flex items-center gap-2">
|
||||
showTrafficLights={false}
|
||||
className="shadow-none"
|
||||
bodyClassName="overflow-hidden"
|
||||
>
|
||||
<div className="flex min-h-12 items-center justify-between gap-3 border-b border-[var(--color-line)] bg-white/[0.16] px-5 py-3 dark:bg-white/[0.04]">
|
||||
<h2 className="flex min-w-0 items-center gap-2 text-sm font-bold text-[var(--color-text)]">
|
||||
{icon}
|
||||
{title}
|
||||
</span>
|
||||
)}
|
||||
controls={(
|
||||
<Link href="/archive" className="inline-flex items-center gap-1 text-xs font-semibold text-[var(--color-text-muted)] transition hover:text-[var(--color-accent)]">
|
||||
<span className="truncate">{title}</span>
|
||||
</h2>
|
||||
<Link href="/archive" className="inline-flex shrink-0 items-center gap-1 text-xs font-semibold text-[var(--color-text-muted)] transition hover:text-[var(--color-accent)]">
|
||||
전체 보기
|
||||
<ChevronRight size={14} />
|
||||
</Link>
|
||||
)}
|
||||
bodyClassName="p-5 md:p-6"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div className="p-5 md:p-6">
|
||||
{posts.length > 0 ? (
|
||||
<div className="divide-y divide-[var(--color-line)]">
|
||||
{posts.map((post, index) => (
|
||||
@@ -221,6 +223,7 @@ function PostListPanel({
|
||||
) : (
|
||||
<EmptyState title={isPopular ? '인기 글을 집계 중입니다.' : '아직 공개된 글이 없습니다.'} className="min-h-72" />
|
||||
)}
|
||||
</div>
|
||||
</WindowSurface>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user