diff --git a/app/globals.css b/app/globals.css index f1e6f11..a82f7cf 100644 --- a/app/globals.css +++ b/app/globals.css @@ -101,6 +101,11 @@ a:hover { text-decoration-thickness: 3px; } + :where(a, button, input, textarea, select, [role="button"]):focus-visible { + outline: 2px solid var(--color-accent); + outline-offset: 3px; + border-radius: 0.375rem; + } } /* === Dark mode token overrides === */ diff --git a/app/page.tsx b/app/page.tsx index 56a0004..339d4dc 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,12 +1,10 @@ import { getPosts } from '@/lib/posts' import { PostList } from '@/components/blog/PostList' -import Template from './template' export default async function HomePage() { const posts = await getPosts() return ( - ) } diff --git a/app/posts/page.tsx b/app/posts/page.tsx index 23d5c2d..cd6dcbc 100644 --- a/app/posts/page.tsx +++ b/app/posts/page.tsx @@ -1,6 +1,5 @@ import { getPosts } from '@/lib/posts' import { PostSearch } from '@/components/blog/PostSearch' -import Template from '../template' export const metadata = { title: 'Posts' } @@ -8,7 +7,6 @@ export default async function PostsPage() { const posts = await getPosts() return ( - ) } diff --git a/components/blog/TableOfContents.tsx b/components/blog/TableOfContents.tsx index 6cf1e2e..fae7ddc 100644 --- a/components/blog/TableOfContents.tsx +++ b/components/blog/TableOfContents.tsx @@ -58,7 +58,7 @@ export function TableOfContents() { if (headings.length === 0) return null; return ( -