Files
klz-cables.com/components/ui/Card.tsx
Marc Mintel a111851176
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 13s
Build & Deploy / 🧪 QA (push) Successful in 2m56s
Build & Deploy / 🏗️ Build (push) Successful in 4m14s
Build & Deploy / 🚀 Deploy (push) Successful in 29s
Build & Deploy / 🧪 Smoke Test (push) Successful in 1m3s
Build & Deploy / ⚡ Lighthouse (push) Successful in 3m7s
Build & Deploy / 🔔 Notify (push) Successful in 2s
chore: deep semantic HTML audit and improvements across all pages
2026-02-18 19:26:15 +01:00

15 lines
425 B
TypeScript

import React from 'react';
import { cn } from './utils';
interface CardProps extends React.HTMLAttributes<HTMLElement> {
tag?: 'div' | 'article' | 'section' | 'aside' | 'header' | 'footer' | 'nav' | 'main';
}
export function Card({ className, children, tag: Tag = 'div', ...props }: CardProps) {
return (
<Tag className={cn('premium-card overflow-hidden', className)} {...props}>
{children}
</Tag>
);
}