This commit is contained in:
@@ -32,7 +32,7 @@ const navigation = defineCollection({
|
||||
}),
|
||||
pageTitles: z.object({
|
||||
services: z.string(),
|
||||
soumission: z.string(),
|
||||
submission: z.string(),
|
||||
}),
|
||||
}),
|
||||
});
|
||||
@@ -92,51 +92,51 @@ const contact = defineCollection({
|
||||
}),
|
||||
});
|
||||
|
||||
const soumission = defineCollection({
|
||||
loader: glob({ pattern: '**/*.json', base: './src/content/soumission' }),
|
||||
const submission = defineCollection({
|
||||
loader: glob({ pattern: '**/*.json', base: './src/content/submission' }),
|
||||
schema: z.object({
|
||||
pageTitle: z.string(),
|
||||
title: z.string(),
|
||||
subtitle: z.string(),
|
||||
form: z.object({
|
||||
ariaLabel: z.string(),
|
||||
nom: z.string(),
|
||||
nomPlaceholder: z.string(),
|
||||
courriel: z.string(),
|
||||
courrielPlaceholder: z.string(),
|
||||
telephone: z.string(),
|
||||
telephonePlaceholder: z.string(),
|
||||
adresse: z.string(),
|
||||
adressePlaceholder: z.string(),
|
||||
typeService: z.string(),
|
||||
typeServicePlaceholder: z.string(),
|
||||
typeServiceOptions: z.object({
|
||||
interieur: z.string(),
|
||||
exterieur: z.string(),
|
||||
fullNameLabel: z.string(),
|
||||
fullNamePlaceholder: z.string(),
|
||||
emailLabel: z.string(),
|
||||
emailPlaceholder: z.string(),
|
||||
phoneLabel: z.string(),
|
||||
phonePlaceholder: z.string(),
|
||||
workAddressLabel: z.string(),
|
||||
workAddressPlaceholder: z.string(),
|
||||
serviceTypeLabel: z.string(),
|
||||
serviceTypePlaceholder: z.string(),
|
||||
serviceTypeOptions: z.object({
|
||||
interior: z.string(),
|
||||
exterior: z.string(),
|
||||
commercial: z.string(),
|
||||
decoration: z.string(),
|
||||
autre: z.string(),
|
||||
other: z.string(),
|
||||
}),
|
||||
message: z.string(),
|
||||
messageLabel: z.string(),
|
||||
messagePlaceholder: z.string(),
|
||||
fichiers: z.string(),
|
||||
fichiersHint: z.string(),
|
||||
fichiersAccepted: z.string(),
|
||||
fichiersRemove: z.string(),
|
||||
envoyer: z.string(),
|
||||
sending: z.string(),
|
||||
attachmentsLabel: z.string(),
|
||||
attachmentsHint: z.string(),
|
||||
attachmentsAccepted: z.string(),
|
||||
attachmentsRemove: z.string(),
|
||||
submitLabel: z.string(),
|
||||
submittingLabel: z.string(),
|
||||
successTitle: z.string(),
|
||||
successMessage: z.string(),
|
||||
errorTitle: z.string(),
|
||||
errorMessage: z.string(),
|
||||
validation: z.object({
|
||||
nom: z.string(),
|
||||
courriel: z.string(),
|
||||
telephone: z.string(),
|
||||
typeService: z.string(),
|
||||
fullName: z.string(),
|
||||
email: z.string(),
|
||||
phone: z.string(),
|
||||
serviceType: z.string(),
|
||||
message: z.string(),
|
||||
fichiersType: z.string(),
|
||||
fichiersSize: z.string(),
|
||||
attachmentsType: z.string(),
|
||||
attachmentsSize: z.string(),
|
||||
}),
|
||||
}),
|
||||
sidebar: z.object({
|
||||
@@ -221,7 +221,7 @@ export const collections = {
|
||||
hero,
|
||||
cta,
|
||||
contact,
|
||||
soumission,
|
||||
submission,
|
||||
footer,
|
||||
notFound,
|
||||
pourquoi,
|
||||
|
||||
Reference in New Issue
Block a user