Files
nutriscan/app/components/ProductCardSkeleton.tsx
T
Evandro Fonseca Junior 9a4e4c762e feat(ui): enhance footer with NutriScan branding and fix database path
- Redesigned Footer.tsx with comprehensive layout including brand section, navigation links, social media icons, and contact info to improve user engagement and brand visibility
- Updated DATABASE_URL in .env to correct Prisma database path for proper configuration and connectivity
- Updated dependencies to support new UI components and ensure compatibility with enhanced features
2025-10-09 00:14:30 -03:00

30 lines
796 B
TypeScript

import { Card, CardContent } from "@/components/ui/card";
import { Skeleton } from "@/components/ui/skeleton";
export function ProductCardSkeleton() {
return (
<Card className="overflow-hidden">
{/* Imagem Skeleton */}
<Skeleton className="h-48 w-full" />
<CardContent className="p-4">
{/* Nome do Produto */}
<Skeleton className="h-6 w-full mb-2" />
<Skeleton className="h-6 w-3/4 mb-3" />
{/* Marca */}
<Skeleton className="h-4 w-1/2 mb-3" />
{/* Categorias */}
<div className="flex gap-1.5 mb-4">
<Skeleton className="h-5 w-16" />
<Skeleton className="h-5 w-20" />
</div>
{/* Botão */}
<Skeleton className="h-10 w-full" />
</CardContent>
</Card>
);
}