Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/components/ui/card.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/components/ui/card.tsx |
| Original SHA-256 | f4b358ab2687f60de90896f71aeaadb3aa7e6fe6d3580957f2eab8e0bf5de799 |
| Git blob SHA | 1427692300918818d04bab5c28cee2ac95495445 |
| Reading-copy SHA-256 | f4b358ab2687f60de90896f71aeaadb3aa7e6fe6d3580957f2eab8e0bf5de799 |
Recovered source transcript
Download complete source text ↓69 lines · 1.7 KB
import * as DesignSystemCard from '@thedaviddias/design-system/card'
import { cn } from '@/lib/utils'
// Custom Card components with consistent styling
/**
* Custom Card component with consistent styling
*
* @param props - Card component props
* @returns Card component
*/
export function Card({ className, ...props }: React.ComponentProps<typeof DesignSystemCard.Card>) {
return (
<DesignSystemCard.Card className={cn('rounded-none border-border/50', className)} {...props} />
)
}
/**
* Card header component
*
* @param props - CardHeader component props
* @returns CardHeader component
*/
export function CardHeader({
className,
...props
}: React.ComponentProps<typeof DesignSystemCard.CardHeader>) {
return <DesignSystemCard.CardHeader className={className} {...props} />
}
/**
* Card title component
*
* @param props - CardTitle component props
* @returns CardTitle component
*/
export function CardTitle({
className,
...props
}: React.ComponentProps<typeof DesignSystemCard.CardTitle>) {
return <DesignSystemCard.CardTitle className={className} {...props} />
}
/**
* Card description component
*
* @param props - CardDescription component props
* @returns CardDescription component
*/
export function CardDescription({
className,
...props
}: React.ComponentProps<typeof DesignSystemCard.CardDescription>) {
return <DesignSystemCard.CardDescription className={className} {...props} />
}
/**
* Card content component
*
* @param props - CardContent component props
* @returns CardContent component
*/
export function CardContent({
className,
...props
}: React.ComponentProps<typeof DesignSystemCard.CardContent>) {
return <DesignSystemCard.CardContent className={className} {...props} />
}