Cleanup AI slop and simplify db interface

This commit is contained in:
2026-01-12 18:51:09 -08:00
parent 88b6d1bade
commit 6664e6e3d1
16 changed files with 712 additions and 767 deletions

View File

@@ -1,7 +1,9 @@
import React, { ReactNode } from 'react';
import { minifyCSS, minifyJS } from './utils';
// @ts-expect-error - Importing as text, not a module
import styles from './styles.css' with { type: "text" };
// @ts-expect-error - Importing as text, not a module
import headScript from './onLoad' with { type: "text" };
import { ThemePicker } from './components/theme-picker';
@@ -9,7 +11,7 @@ import { ProfileBadge } from './components/profile-badge';
import { TagPicker } from './components/tag-picker';
import { PostArchive } from './components/post-archive';
export function AppShell({ children }: { children: ReactNode }) {
export function AppShell({ children, searchParams }: { children: ReactNode, searchParams?: URLSearchParams }) {
return (
<html lang="en">
<head>
@@ -23,7 +25,7 @@ export function AppShell({ children }: { children: ReactNode }) {
<aside>
<ThemePicker />
<ProfileBadge />
<TagPicker />
<TagPicker searchParams={searchParams} />
<PostArchive />
</aside>
</body>