feat: activate payload cms collections
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
// payload/collections/Testimonials.ts
|
||||
// Schéma Payload CMS pour les témoignages clients.
|
||||
// COMMENTÉ — activé lors de la migration vers Payload.
|
||||
|
||||
/*
|
||||
import type { CollectionConfig } from 'payload'
|
||||
|
||||
export const Testimonials: CollectionConfig = {
|
||||
@@ -46,19 +41,8 @@ export const Testimonials: CollectionConfig = {
|
||||
{
|
||||
name: 'featured',
|
||||
type: 'checkbox',
|
||||
label: 'Afficher sur la page d\'accueil',
|
||||
label: "Afficher sur la page d'accueil",
|
||||
defaultValue: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
*/
|
||||
|
||||
export type PayloadTestimonial = {
|
||||
id: string;
|
||||
name: string;
|
||||
ville: string;
|
||||
service: string;
|
||||
text: string;
|
||||
rating: number;
|
||||
featured: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user