mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-12 07:14:14 +00:00
add hyphens to random blueprint name
This commit is contained in:
@@ -293,7 +293,7 @@ export async function applyBlueprint({
|
|||||||
orgId,
|
orgId,
|
||||||
name:
|
name:
|
||||||
name ??
|
name ??
|
||||||
`${faker.word.adjective()} ${faker.word.adjective()} ${faker.word.noun()}`,
|
`${faker.word.adjective()}-${faker.word.adjective()}-${faker.word.noun()}`,
|
||||||
contents: stringifyYaml(configData),
|
contents: stringifyYaml(configData),
|
||||||
createdAt: Math.floor(Date.now() / 1000),
|
createdAt: Math.floor(Date.now() / 1000),
|
||||||
succeeded: blueprintSucceeded,
|
succeeded: blueprintSucceeded,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function InfoSections({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"grid grid-cols-2 md:grid-cols-(--columns) md:gap-16 gap-2 md:items-start",
|
"grid grid-cols-2 md:grid-cols-(--columns) md:space-x-16 gap-4 md:items-start",
|
||||||
columnSizing === "content" &&
|
columnSizing === "content" &&
|
||||||
"md:justify-items-start md:justify-start"
|
"md:justify-items-start md:justify-start"
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const checkboxVariants = cva(
|
|||||||
outlinePrimarySquare:
|
outlinePrimarySquare:
|
||||||
"border rounded-[5px] border-input data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
"border rounded-[5px] border-input data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
|
||||||
outlineSquare:
|
outlineSquare:
|
||||||
"border rounded-[5px] border-input data-[state=checked]:border-primary data-[state=checked]:bg-muted data-[state=checked]:text-accent-foreground"
|
"border rounded-[5px] border-input data-[state=checked]:border-primary data-[state=checked]:bg-muted data-[state=checked]:text-foreground"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
defaultVariants: {
|
defaultVariants: {
|
||||||
@@ -44,7 +44,7 @@ const Checkbox = React.forwardRef<
|
|||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
<CheckboxPrimitive.Indicator className="flex items-center justify-center">
|
<CheckboxPrimitive.Indicator className="flex items-center justify-center">
|
||||||
<Check className="h-4 w-4 text-white" />
|
<Check className="h-4 w-4 text-current" />
|
||||||
</CheckboxPrimitive.Indicator>
|
</CheckboxPrimitive.Indicator>
|
||||||
</CheckboxPrimitive.Root>
|
</CheckboxPrimitive.Root>
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in New Issue
Block a user