Add Wix microsite component: ServiceCard
cgen-0beae8d2dc574f52921d616b5d0d4292
This commit is contained in:
parent
bbf2a4f69f
commit
aabe31ba1b
1 changed files with 27 additions and 0 deletions
27
client/components/wix/ServiceCard.tsx
Normal file
27
client/components/wix/ServiceCard.tsx
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
|
||||
|
||||
export default function ServiceCard({
|
||||
name,
|
||||
summary,
|
||||
highlights,
|
||||
}: {
|
||||
name: string;
|
||||
summary: string;
|
||||
highlights: string[];
|
||||
}) {
|
||||
return (
|
||||
<Card className="h-full border-border/40 bg-card/60 backdrop-blur">
|
||||
<CardHeader>
|
||||
<CardTitle>{name}</CardTitle>
|
||||
<CardDescription>{summary}</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<ul className="list-disc pl-5 text-sm text-muted-foreground space-y-1">
|
||||
{highlights.map((h, i) => (
|
||||
<li key={i}>{h}</li>
|
||||
))}
|
||||
</ul>
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue