mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-25 22:25:01 +00:00
31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
import { Card, CardContent } from '@/components/ui/card'
|
|
import { Sparkle } from '@phosphor-icons/react'
|
|
|
|
export function FeatureItem({ icon, title, description }: { icon: React.ReactNode; title: string; description: string }) {
|
|
return (
|
|
<div className="flex gap-3">
|
|
<div className="text-accent mt-0.5">{icon}</div>
|
|
<div className="space-y-1">
|
|
<h4 className="font-semibold text-sm">{title}</h4>
|
|
<p className="text-sm text-muted-foreground">{description}</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export function AIFeatureCard({ title, description }: { title: string; description: string }) {
|
|
return (
|
|
<Card className="bg-primary/5 border-primary/20">
|
|
<CardContent className="pt-4 pb-4">
|
|
<div className="flex gap-3">
|
|
<Sparkle size={20} weight="duotone" className="text-accent flex-shrink-0 mt-0.5" />
|
|
<div className="space-y-1">
|
|
<h4 className="font-semibold text-sm">{title}</h4>
|
|
<p className="text-sm text-muted-foreground">{description}</p>
|
|
</div>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
)
|
|
}
|