"use client"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader } from "@/components/ui/card"; import { ArrowLeft, Loader2 } from "lucide-react"; interface ThreadViewLoadingProps { onBackToHome?: () => void; } function isEven(n: number) { return n % 2 === 0; } export function LoadingActionsCardContent() { return (
{Array.from({ length: 8 }, (_, i) => (
{isEven(i) ? (
) : (
)}
))}
); } export function LoadingActionsCard() { return (
Loading actions...
); } export function LoadingChatSection() { return (
Loading conversation...
{Array.from({ length: 3 }, (_, i) => (
{i === 1 && (
)}
))}
); } export function ThreadViewLoading({ onBackToHome }: ThreadViewLoadingProps) { return (
•
); }