refactor: simplify comment form state, auth client exports, and feed builder

- Replace CommentFormContext/Provider with a plain `useCommentFormState` hook; the context abstraction was unused outside the file
- Narrow auth-client exports to only `signIn`; `authClient` and `useSession` are no longer exported
- Add `getPosts()` as a canonical sorted-posts helper and use it in `getFrontMatter` and `buildFeed`, removing the redundant sort in the latter
- Drop JSON feed support from `createFeedHandler` since no JSON feed route exists
- Rewrite `FrontMatter` as a `Pick` over the content-collections `Post` type to stay in sync automatically
This commit is contained in:
jake committed 2026-10-03 09:21:59 -04:00
1 parent a8c4a0a09e
commit d6bd6a4702
6 files changed
+449 -458

No files matched your search

+390 -347
View File
File diff suppressed because it is too large. Load diff