Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions apps/web/src/components/mock-window.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ export function MockWindow({
showAudioIndicator,
variant = "desktop",
className,
title,
children,
}: {
showAudioIndicator?: boolean;
variant?: "desktop" | "mobile";
className?: string;
title?: string;
children: React.ReactNode;
}) {
const isMobile = variant === "mobile";
Expand All @@ -28,6 +30,15 @@ export function MockWindow({
<div className="size-3 rounded-full bg-yellow-400"></div>
<div className="size-3 rounded-full bg-green-400"></div>
</div>

{title && (
<div className="flex-1 text-center">
<span className="text-sm text-neutral-600 font-medium">
{title}
</span>
</div>
)}

{showAudioIndicator && (
<div className="ml-auto">
<DancingSticks
Expand Down
608 changes: 587 additions & 21 deletions apps/web/src/routeTree.gen.ts

Large diffs are not rendered by default.

Loading
Loading