WIP Create site

This commit is contained in:
Owen Schwartz 2024-10-17 00:08:14 -04:00
parent 3eca2ab08e
commit 1298182e86
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ const accountFormSchema = z.object({
type AccountFormValues = z.infer<typeof accountFormSchema>; type AccountFormValues = z.infer<typeof accountFormSchema>;
const defaultValues: Partial<AccountFormValues> = { const defaultValues: Partial<AccountFormValues> = {
name: "Wombat", name: "",
method: "wg" method: "wg"
}; };

View file

@ -35,7 +35,7 @@ export function SidebarNav({ className, items, disabled = false, ...props }: Sid
href={item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)} href={item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId)}
className={cn( className={cn(
buttonVariants({ variant: "ghost" }), buttonVariants({ variant: "ghost" }),
pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId) pathname === item.href.replace("{orgId}", orgId).replace("{niceId}", niceId).replace("{resourceId}", resourceId) && !pathname.includes("create")
? "bg-muted hover:bg-muted" ? "bg-muted hover:bg-muted"
: "hover:bg-transparent hover:underline", : "hover:bg-transparent hover:underline",
"justify-start", "justify-start",