diff --git a/Frontend/components/cvTemplateSelection.tsx b/Frontend/components/cvTemplateSelection.tsx index 155dad6..3d4e1a8 100644 --- a/Frontend/components/cvTemplateSelection.tsx +++ b/Frontend/components/cvTemplateSelection.tsx @@ -15,11 +15,28 @@ import { useStore } from "@nanostores/react"; export const CVTemplateShowcase = () => { const router = useRouter(); const selectedTemplate = useStore($selectedTemplate); - const templates = [ - { id: 1, selectedColor: "purple-rose", image: bender }, - { id: 2, selectedColor: "blue-teal", image: bender }, - { id: 3, selectedColor: "orange-yellow", image: bender }, - { id: 4, selectedColor: "green-lime", image: bender }, + const templatesModern1 = [ + { id: 1, selectedColor: "grayScale", image: bender }, + { id: 2, selectedColor: "blueShades", image: bender }, + { id: 3, selectedColor: "earthTones", image: bender }, + { id: 4, selectedColor: "mintFresh", image: bender }, + { id: 5, selectedColor: "purpleHaze", image: bender }, + { id: 6, selectedColor: "sunsetOrange", image: bender }, + { id: 7, selectedColor: "oceanBreeze", image: bender }, + { id: 8, selectedColor: "roseGold", image: bender }, + ] + const templatesModern2 = [ + { id: 9, selectedColor: "purple-rose", image: bender }, + { id: 10, selectedColor: "blue-teal", image: bender }, + { id: 11, selectedColor: "orange-yellow", image: bender }, + { id: 12, selectedColor: "green-lime", image: bender }, + ]; + + const templatesModern3 = [ + { id: 13, selectedColor: "greenGold", image: bender }, + { id: 14, selectedColor: "navyBlue", image: bender }, + { id: 15, selectedColor: "burgundy", image: bender }, + { id: 16, selectedColor: "charcoal", image: bender }, ]; const handleCardClick = (template: SelectedTemplate) => { @@ -38,21 +55,80 @@ export const CVTemplateShowcase = () => { return (
{experiences[0]?.jobTitle}
+{experience.companyName}
+{`${experience.startDate} - ${experience.endDate || 'Présent'}`}
+{formation.institution}
+{formation.yearObtained}
++
{experience.companyName}
{`${
@@ -176,7 +178,7 @@ export const ModernCV2 = ({ data, selectedColor }: Props) => {
+
{formation.institution}
diff --git a/Frontend/components/resumesTemplates/MRT3.tsx b/Frontend/components/resumesTemplates/MRT3.tsx
new file mode 100644
index 0000000..77ae113
--- /dev/null
+++ b/Frontend/components/resumesTemplates/MRT3.tsx
@@ -0,0 +1,117 @@
+import React from "react";
+import Image from "next/image";
+import { ModernCV3Props } from "@/utils/templatesType";
+import { ColorScheme3 } from "@/utils/TemplatesColors";
+
+export const ModernCV3 = ({ data, selectedColor }: ModernCV3Props) => {
+ const { personalInfo, education, experiences, skills, languages, interests } = data;
+
+ return (
+ {experiences[0]?.jobTitle} {personalInfo.phoneNumber} {personalInfo.email} {experience.companyName} {`${experience.startDate} - ${experience.endDate || 'Présent'}`} {formation.institution} {formation.yearObtained}
Formation
@@ -185,7 +187,7 @@ export const ModernCV2 = ({ data, selectedColor }: Props) => {
{formation.degree}
- {personalInfo.fullName}
+ Informations
+
+
+ Compétences
+
+ {skills.map((item, index) => (
+
+ Langues
+
+ {languages.map((item, index) => (
+
+ Centres d'intérêt
+
+ {interests.map((item, index) => (
+
+ Expériences professionnelles
+ {experiences.map((experience, index) => (
+ {experience.jobTitle}
+
+ {experience.technicalSkills.split('\n').map((item, i) => (
+
+ Formation
+ {education.map((formation, index) => (
+ {formation.degree}
+