mirror of
https://github.com/beilunyang/moemail.git
synced 2026-08-27 11:00:04 +08:00
21 lines
675 B
TypeScript
21 lines
675 B
TypeScript
interface FeatureCardProps {
|
|
icon: React.ReactNode
|
|
title: string
|
|
description: string
|
|
}
|
|
|
|
export function FeatureCard({ icon, title, description }: FeatureCardProps) {
|
|
return (
|
|
<div className="p-4 rounded border-2 border-primary/20 hover:border-primary/40 transition-colors bg-white/5 backdrop-blur">
|
|
<div className="flex items-center gap-3">
|
|
<div className="rounded-lg bg-primary/10 text-primary p-2">
|
|
{icon}
|
|
</div>
|
|
<div className="text-left">
|
|
<h3 className="font-bold">{title}</h3>
|
|
<p className="text-sm text-gray-600 dark:text-gray-400">{description}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|