feat: add daily chess puzzle page
All checks were successful
Deploy blog-frontend / build-and-deploy (push) Successful in 2m29s

This commit is contained in:
wypark
2026-05-29 00:18:05 +09:00
parent 4bc0441490
commit ab585b5faa
8 changed files with 516 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import { clsx } from 'clsx';
import {
Archive,
ChevronRight,
Crown,
FileQuestion,
Folder,
FolderOpen,
@@ -284,6 +285,26 @@ function SidebarContent() {
</div>
</div>
</div>
<div className="-mx-2 mt-3 shrink-0 border-t border-[var(--color-line)] px-2 pt-3">
<div className="mb-2 flex h-8 items-center px-3">
<p className="text-xs font-semibold uppercase text-[var(--color-text-subtle)]"></p>
</div>
<Link
href="/play/chess"
onClick={closeSidebar}
className={clsx(
'flex items-center gap-2.5 rounded-lg px-3 py-2 text-sm transition-all',
pathname === '/play/chess'
? 'bg-[var(--color-accent-soft)] font-semibold text-[var(--color-accent)]'
: 'text-[var(--color-text-muted)] hover:bg-black/[0.04] hover:text-[var(--color-text)] dark:hover:bg-white/10',
)}
>
<Crown size={16} />
<span></span>
</Link>
</div>
</div>
</nav>