Update Blueprints.tsx
This commit is contained in:
@@ -198,15 +198,16 @@ export default function SiteBuilderBlueprints() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3">
|
<div className="grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3">
|
||||||
{blueprints.map((blueprint) => (
|
{blueprints.map((blueprint) => {
|
||||||
<Card
|
return (
|
||||||
key={blueprint.id}
|
<Card
|
||||||
className={`space-y-4 p-5 ${
|
key={blueprint.id}
|
||||||
selectedIds.has(blueprint.id)
|
className={`space-y-4 p-5 ${
|
||||||
? "ring-2 ring-brand-500 dark:ring-brand-400"
|
selectedIds.has(blueprint.id)
|
||||||
: ""
|
? "ring-2 ring-brand-500 dark:ring-brand-400"
|
||||||
}`}
|
: ""
|
||||||
>
|
}`}
|
||||||
|
>
|
||||||
<div className="flex items-start justify-between">
|
<div className="flex items-start justify-between">
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<p className="text-xs uppercase tracking-wider text-gray-500 dark:text-white/50">
|
<p className="text-xs uppercase tracking-wider text-gray-500 dark:text-white/50">
|
||||||
@@ -271,8 +272,9 @@ export default function SiteBuilderBlueprints() {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
))}
|
);
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user