-
{{ $t('pages.testimonials.title') }}
-
{{ $t('pages.testimonials.description') }}
+
+
+
+
+
+ {{ $t('testimonials.page_title') }}
+
+
+ {{ $t('testimonials.page_description') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 🕷️
+
+ {{ $t('testimonials.load_error') }}
+
+
+
+
+
+
+ 💬
+
+ {{ $t('testimonials.no_testimonials') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('testimonials.cta_title') }}
+
+
+ {{ $t('testimonials.cta_description') }}
+
+
+ {{ $t('testimonials.cta_button') }}
+
+
+
+
+
diff --git a/frontend/app/types/testimonial.ts b/frontend/app/types/testimonial.ts
new file mode 100644
index 0000000..9fbf0ed
--- /dev/null
+++ b/frontend/app/types/testimonial.ts
@@ -0,0 +1,22 @@
+export type PersonalityType = 'sage' | 'sarcastique' | 'enthousiaste' | 'professionnel'
+
+export interface Testimonial {
+ id: number
+ name: string
+ role: string
+ company: string | null
+ avatar: string | null
+ text: string
+ personality: PersonalityType
+ display_order: number
+ project?: {
+ id: number
+ slug: string
+ title: string
+ } | null
+}
+
+export interface TestimonialsResponse {
+ data: Testimonial[]
+ meta: { lang: string }
+}
diff --git a/frontend/i18n/en.json b/frontend/i18n/en.json
index b40114e..6e40774 100644
--- a/frontend/i18n/en.json
+++ b/frontend/i18n/en.json
@@ -108,6 +108,15 @@
"load_projects_error": "Unable to load related projects",
"no_related_projects": "No projects use this skill yet"
},
+ "testimonials": {
+ "page_title": "Testimonials | Skycel",
+ "page_description": "Discover what my collaborators and clients say about my work.",
+ "load_error": "Unable to load testimonials...",
+ "no_testimonials": "No testimonials yet",
+ "cta_title": "Want to work together?",
+ "cta_description": "Let's discuss your project and see how I can help.",
+ "cta_button": "Contact me"
+ },
"pages": {
"projects": {
"title": "Projects",
diff --git a/frontend/i18n/fr.json b/frontend/i18n/fr.json
index 6bd259e..5526b06 100644
--- a/frontend/i18n/fr.json
+++ b/frontend/i18n/fr.json
@@ -108,6 +108,15 @@
"load_projects_error": "Impossible de charger les projets li\u00e9s",
"no_related_projects": "Aucun projet n'utilise encore cette comp\u00e9tence"
},
+ "testimonials": {
+ "page_title": "T\u00e9moignages | Skycel",
+ "page_description": "D\u00e9couvrez ce que disent mes collaborateurs et clients de mon travail.",
+ "load_error": "Impossible de charger les t\u00e9moignages...",
+ "no_testimonials": "Aucun t\u00e9moignage pour le moment",
+ "cta_title": "Envie de travailler ensemble ?",
+ "cta_description": "Discutons de votre projet et voyons comment je peux vous aider.",
+ "cta_button": "Me contacter"
+ },
"pages": {
"projects": {
"title": "Projets",