chore:little fixes and formating and linting and patches

This commit is contained in:
2026-03-31 15:50:54 +02:00
parent a1ce71ffb6
commit 9b197abcfa
815 changed files with 22960 additions and 8982 deletions

View File

@@ -1,22 +1,27 @@
import { cn } from '@/lib/utils';
import Image from 'next/image';
import { cn } from '@/lib/utils';
export function Figure({
src,
alt,
caption,
className,
}: { src: string; alt: string; caption: string; className?: string }) {
}: {
src: string;
alt: string;
caption: string;
className?: string;
}) {
return (
<figure className={cn('-mx-4', className)}>
<Image
src={src}
alt={alt || caption}
width={1200}
height={800}
className="rounded-lg"
height={800}
src={src}
width={1200}
/>
<figcaption className="text-center text-sm text-muted-foreground mt-2">
<figcaption className="mt-2 text-center text-muted-foreground text-sm">
{caption}
</figcaption>
</figure>