refactor: apply consistent formatting to improve code quality
Some checks failed
Deploy to Production / deploy (push) Failing after 2m20s
Lint / lint (push) Successful in 9m37s

Ensure uniform code formatting across components by aligning with the established code style. Adjust imports, indentation, and spacing to enhance readability and maintainability.
This commit is contained in:
Mathis HERRIOT
2026-01-14 17:26:58 +01:00
parent 03e5915fcc
commit 35abd0496e
95 changed files with 6839 additions and 6659 deletions

View File

@@ -1,35 +1,40 @@
import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card";
import {
Card,
CardContent,
CardFooter,
CardHeader,
} from "@/components/ui/card";
import { Skeleton } from "@/components/ui/skeleton";
export function ContentSkeleton() {
return (
<Card className="overflow-hidden border-none shadow-sm">
<CardHeader className="p-4 flex flex-row items-center space-y-0 gap-3">
<Skeleton className="h-8 w-8 rounded-full" />
<div className="flex flex-col gap-1.5">
<Skeleton className="h-3 w-24" />
<Skeleton className="h-2 w-16" />
</div>
</CardHeader>
<CardContent className="p-0 aspect-square">
<Skeleton className="h-full w-full" />
</CardContent>
<CardFooter className="p-4 flex flex-col gap-4">
<div className="w-full flex justify-between">
<div className="flex gap-2">
<Skeleton className="h-8 w-12 rounded-md" />
<Skeleton className="h-8 w-12 rounded-md" />
</div>
<Skeleton className="h-8 w-20 rounded-md" />
</div>
<div className="w-full space-y-2">
<Skeleton className="h-4 w-full" />
<div className="flex gap-1">
<Skeleton className="h-4 w-12" />
<Skeleton className="h-4 w-12" />
</div>
</div>
</CardFooter>
</Card>
);
return (
<Card className="overflow-hidden border-none shadow-sm">
<CardHeader className="p-4 flex flex-row items-center space-y-0 gap-3">
<Skeleton className="h-8 w-8 rounded-full" />
<div className="flex flex-col gap-1.5">
<Skeleton className="h-3 w-24" />
<Skeleton className="h-2 w-16" />
</div>
</CardHeader>
<CardContent className="p-0 aspect-square">
<Skeleton className="h-full w-full" />
</CardContent>
<CardFooter className="p-4 flex flex-col gap-4">
<div className="w-full flex justify-between">
<div className="flex gap-2">
<Skeleton className="h-8 w-12 rounded-md" />
<Skeleton className="h-8 w-12 rounded-md" />
</div>
<Skeleton className="h-8 w-20 rounded-md" />
</div>
<div className="w-full space-y-2">
<Skeleton className="h-4 w-full" />
<div className="flex gap-1">
<Skeleton className="h-4 w-12" />
<Skeleton className="h-4 w-12" />
</div>
</div>
</CardFooter>
</Card>
);
}