feat: add authenticated list reading
This commit is contained in:
@@ -4,7 +4,7 @@ export function AppShell({
|
||||
active,
|
||||
children,
|
||||
}: {
|
||||
active?: 'user' | 'search'
|
||||
active?: 'user' | 'search' | 'list'
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
@@ -26,6 +26,13 @@ export function AppShell({
|
||||
>
|
||||
検索
|
||||
</Link>
|
||||
<Link
|
||||
aria-current={active === 'list' ? 'page' : undefined}
|
||||
search={{ target: '' }}
|
||||
to="/list"
|
||||
>
|
||||
リスト
|
||||
</Link>
|
||||
</nav>
|
||||
</header>
|
||||
<section className="reader">{children}</section>
|
||||
|
||||
Reference in New Issue
Block a user