diff --git a/site/app/components/Shell.tsx b/site/app/components/Shell.tsx index eeb40ce..62656e0 100644 --- a/site/app/components/Shell.tsx +++ b/site/app/components/Shell.tsx @@ -6,6 +6,7 @@ import { MotionContext } from '../motion/motion'; import { defaults, visible, type NAV } from '../settings'; import AccountMenu from './AccountMenu'; import { Editable, useEditing } from './kit/Editable'; +import { LivePulse } from './kit/live'; import { openSearch, Palette } from './kit/Palette'; import { SubscribeForm, SubscribeLink } from './kit/subscribe'; @@ -70,6 +71,7 @@ export default function Shell({ children }: { children: ReactNode }) { search / + {root && } diff --git a/site/app/components/kit/basics.tsx b/site/app/components/kit/basics.tsx index 798c10d..fbc4ee6 100644 --- a/site/app/components/kit/basics.tsx +++ b/site/app/components/kit/basics.tsx @@ -10,12 +10,18 @@ export const accentStyle = (accent: string | undefined) => interface AvatarProps { member: { name: string; avatarUrl: string; accent: string }; size?: 'xs' | 'sm' | 'md' | 'lg'; + online?: boolean; } -export function Avatar({ member, size }: AvatarProps) { +export function Avatar({ member, size, online = false }: AvatarProps) { const pixels = size ? { xs: 20, sm: 32, md: 40, lg: 64 }[size] : 48; return ( -