feat: separate links option at section level to reduce section item height

This commit is contained in:
Jonathan Zaehringer
2024-03-20 22:20:56 +01:00
parent b23efa773f
commit 6f2e75f22b
15 changed files with 547 additions and 148 deletions

View File

@ -20,6 +20,7 @@ import { volunteerSchema } from "./volunteer";
export const sectionSchema = z.object({
name: z.string(),
columns: z.number().min(1).max(5).default(1),
separateLinks: z.boolean().default(true),
visible: z.boolean().default(true),
});
@ -98,6 +99,7 @@ export type CustomSectionGroup = z.infer<typeof customSchema>;
export const defaultSection: Section = {
name: "",
columns: 1,
separateLinks: true,
visible: true,
};