feat(admin): editable contact fields in sections and larger logos
Allow address, phone, map, and related site chrome to be edited from contact/settings for all editors, and enlarge brand marks on login, header, and preloader. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+20
@@ -28,6 +28,7 @@ export declare const settingsSectionSchema: z.ZodObject<{
|
||||
locality: z.ZodString;
|
||||
country: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
mapUrl: z.ZodDefault<z.ZodString>;
|
||||
workingHours: z.ZodString;
|
||||
openingHours: z.ZodObject<{
|
||||
days: z.ZodArray<z.ZodEnum<{
|
||||
@@ -43,6 +44,10 @@ export declare const settingsSectionSchema: z.ZodObject<{
|
||||
closes: z.ZodString;
|
||||
}, z.core.$strip>;
|
||||
foundingDate: z.ZodString;
|
||||
headerCta: z.ZodDefault<z.ZodObject<{
|
||||
label: z.ZodString;
|
||||
href: z.ZodString;
|
||||
}, z.core.$strip>>;
|
||||
socials: z.ZodArray<z.ZodObject<{
|
||||
type: z.ZodEnum<{
|
||||
instagram: "instagram";
|
||||
@@ -224,6 +229,8 @@ export declare const contactSectionSchema: z.ZodObject<{
|
||||
formTitle: z.ZodString;
|
||||
successTitle: z.ZodString;
|
||||
successText: z.ZodString;
|
||||
submitLabel: z.ZodDefault<z.ZodString>;
|
||||
resetLabel: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
export declare const footerSectionSchema: z.ZodObject<{
|
||||
enabled: z.ZodDefault<z.ZodBoolean>;
|
||||
@@ -231,6 +238,9 @@ export declare const footerSectionSchema: z.ZodObject<{
|
||||
copyright: z.ZodString;
|
||||
certLine: z.ZodDefault<z.ZodString>;
|
||||
emergencyNote: z.ZodDefault<z.ZodString>;
|
||||
linksTitle: z.ZodDefault<z.ZodString>;
|
||||
productsTitle: z.ZodDefault<z.ZodString>;
|
||||
contactTitle: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
export declare const sectionSchemas: {
|
||||
readonly settings: z.ZodObject<{
|
||||
@@ -246,6 +256,7 @@ export declare const sectionSchemas: {
|
||||
locality: z.ZodString;
|
||||
country: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
mapUrl: z.ZodDefault<z.ZodString>;
|
||||
workingHours: z.ZodString;
|
||||
openingHours: z.ZodObject<{
|
||||
days: z.ZodArray<z.ZodEnum<{
|
||||
@@ -261,6 +272,10 @@ export declare const sectionSchemas: {
|
||||
closes: z.ZodString;
|
||||
}, z.core.$strip>;
|
||||
foundingDate: z.ZodString;
|
||||
headerCta: z.ZodDefault<z.ZodObject<{
|
||||
label: z.ZodString;
|
||||
href: z.ZodString;
|
||||
}, z.core.$strip>>;
|
||||
socials: z.ZodArray<z.ZodObject<{
|
||||
type: z.ZodEnum<{
|
||||
instagram: "instagram";
|
||||
@@ -442,6 +457,8 @@ export declare const sectionSchemas: {
|
||||
formTitle: z.ZodString;
|
||||
successTitle: z.ZodString;
|
||||
successText: z.ZodString;
|
||||
submitLabel: z.ZodDefault<z.ZodString>;
|
||||
resetLabel: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
readonly footer: z.ZodObject<{
|
||||
enabled: z.ZodDefault<z.ZodBoolean>;
|
||||
@@ -449,6 +466,9 @@ export declare const sectionSchemas: {
|
||||
copyright: z.ZodString;
|
||||
certLine: z.ZodDefault<z.ZodString>;
|
||||
emergencyNote: z.ZodDefault<z.ZodString>;
|
||||
linksTitle: z.ZodDefault<z.ZodString>;
|
||||
productsTitle: z.ZodDefault<z.ZodString>;
|
||||
contactTitle: z.ZodDefault<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
};
|
||||
export type SectionKey = keyof typeof sectionSchemas;
|
||||
|
||||
Reference in New Issue
Block a user