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'; import { ProfileBadge } from './components/profile-badge'; import { TagPicker } from './components/tag-picker'; import { PostArchive } from './components/post-archive'; export function AppShell({ children, searchParams }: { children: ReactNode, searchParams?: URLSearchParams }) { return (