a50c62a66c
Root error/not-found pages lost all CSS after globals left the shared layout. Inline the same token fallbacks as global-error so admin stays off the chat stylesheet. Collapse three LoaderCircle spins into one InlineSpinner, and build greeting fixtures in local time so UTC CI does not hit the night-time copy. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
338 B
TypeScript
15 lines
338 B
TypeScript
type InlineSpinnerProps = Readonly<{
|
|
size?: number;
|
|
className?: string;
|
|
}>;
|
|
|
|
export function InlineSpinner({ size = 16, className = "" }: InlineSpinnerProps) {
|
|
return (
|
|
<span
|
|
aria-hidden="true"
|
|
className={`inline-spinner${className ? ` ${className}` : ""}`}
|
|
style={{ width: size, height: size }}
|
|
/>
|
|
);
|
|
}
|