From 17cf73528ede3cb38a34f26ba2b2d49d2897e5dd Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:33:16 +0000 Subject: [PATCH 1/4] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 163 +++++++++------------------------------ 1 file changed, 38 insertions(+), 125 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 94aabf2..f965c0c 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -23,8 +23,7 @@ export default function ContactPage() { const footerColumns = [ { - title: "Entreprise", - items: [ + title: "Entreprise", items: [ { label: "Accueil", href: "/" }, { label: "À propos", href: "/about" }, { label: "Services", href: "/services" }, @@ -32,8 +31,7 @@ export default function ContactPage() { ], }, { - title: "Services", - items: [ + title: "Services", items: [ { label: "Construction", href: "/services" }, { label: "Rénovation", href: "/services" }, { label: "Travaux extérieurs", href: "/services" }, @@ -41,8 +39,7 @@ export default function ContactPage() { ], }, { - title: "Contact", - items: [ + title: "Contact", items: [ { label: "Email", href: "mailto:contact@fidanconstruction.fr" }, { label: "Téléphone", href: "tel:+33381000000" }, { label: "Lunéville", href: "/" }, @@ -50,8 +47,7 @@ export default function ContactPage() { ], }, { - title: "Légal", - items: [ + title: "Légal", items: [ { label: "Politique de confidentialité", href: "/" }, { label: "Conditions d'utilisation", href: "/" }, { label: "Mentions légales", href: "/" }, @@ -67,7 +63,7 @@ export default function ContactPage() { borderRadius="rounded" contentWidth="small" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -89,9 +85,9 @@ export default function ContactPage() { tag="Expertise Locale" tagIcon={Hammer} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/close-up-experienced-carpenter-his-younger-employee_329181-15694.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/close-up-experienced-carpenter-his-younger-employee_329181-15694.jpg" imageAlt="Chantier de construction professionnel" mediaAnimation="slide-up" imagePosition="right" @@ -102,19 +98,11 @@ export default function ContactPage() { buttonAnimation="slide-up" testimonials={[ { - name: "Marie Dupont", - handle: "Propriétaire, Lunéville", - testimonial: "Travail impeccable et respect des délais. Équipe très professionnelle !", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2786.jpg?_wi=4", - }, + name: "Marie Dupont", handle: "Propriétaire, Lunéville", testimonial: "Travail impeccable et respect des délais. Équipe très professionnelle !", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2786.jpg"}, { - name: "Jean Bernard", - handle: "Investisseur immobilier", - testimonial: "Fidan Construction a transformé ma propriété. Résultat exceptionnel !", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/positive-businesswoman-work_1098-3861.jpg?_wi=4", - }, + name: "Jean Bernard", handle: "Investisseur immobilier", testimonial: "Fidan Construction a transformé ma propriété. Résultat exceptionnel !", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/positive-businesswoman-work_1098-3861.jpg"}, ]} testimonialRotationInterval={5000} ariaLabel="Section héro Fidan Construction" @@ -130,7 +118,7 @@ export default function ContactPage() { description="Fidan Construction" subdescription="Lunéville, Meurthe-et-Moselle" icon={CheckCircle} - imageSrc="http://img.b2bpic.net/free-photo/men-standing-brick-wall-building-construction_259150-57715.jpg?_wi=3" + imageSrc="http://img.b2bpic.net/free-photo/men-standing-brick-wall-building-construction_259150-57715.jpg" imageAlt="Équipe Fidan Construction" mediaAnimation="slide-up" useInvertedBackground={true} @@ -147,63 +135,39 @@ export default function ContactPage() { tagAnimation="slide-up" features={[ { - title: "Construction", - description: "Construction de maisons neuves, travaux de gros œuvre et maçonnerie professionnelle.", - icon: Hammer, + title: "Construction", description: "Construction de maisons neuves, travaux de gros œuvre et maçonnerie professionnelle.", icon: Hammer, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg?_wi=3", - imageAlt: "Travaux de construction", - }, + imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg", imageAlt: "Travaux de construction"}, { - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=5", - imageAlt: "Projet de construction terminé", - }, + imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Projet de construction terminé"}, ], }, { - title: "Rénovation", - description: "Rénovation complète d'appartements et maisons, aménagement intérieur moderne.", - icon: Paintbrush, + title: "Rénovation", description: "Rénovation complète d'appartements et maisons, aménagement intérieur moderne.", icon: Paintbrush, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/tidy-bathroom-with-shiny-tiles_1203-1501.jpg?_wi=2", - imageAlt: "Travaux de rénovation", - }, + imageSrc: "http://img.b2bpic.net/free-photo/tidy-bathroom-with-shiny-tiles_1203-1501.jpg", imageAlt: "Travaux de rénovation"}, { - imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=4", - imageAlt: "Rénovation intérieure", - }, + imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg", imageAlt: "Rénovation intérieure"}, ], }, { - title: "Travaux extérieurs", - description: "Façades, terrasses, aménagement extérieur et espaces paysagers.", - icon: Hammer, + title: "Travaux extérieurs", description: "Façades, terrasses, aménagement extérieur et espaces paysagers.", icon: Hammer, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/enjoying-morning-sun-before-start-work_329181-11779.jpg?_wi=2", - imageAlt: "Travaux extérieurs", - }, + imageSrc: "http://img.b2bpic.net/free-photo/enjoying-morning-sun-before-start-work_329181-11779.jpg", imageAlt: "Travaux extérieurs"}, { - imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg?_wi=4", - imageAlt: "Rénovation de façade", - }, + imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg", imageAlt: "Rénovation de façade"}, ], }, { - title: "Réparations spécialisées", - description: "Réparations structurelles et améliorations de l'habitat selon vos besoins.", - icon: Wrench, + title: "Réparations spécialisées", description: "Réparations structurelles et améliorations de l'habitat selon vos besoins.", icon: Wrench, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg?_wi=4", - imageAlt: "Réparations professionnelles", - }, + imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg", imageAlt: "Réparations professionnelles"}, { - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=6", - imageAlt: "Travaux de réparation", - }, + imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Travaux de réparation"}, ], }, ]} @@ -223,25 +187,13 @@ export default function ContactPage() { tagAnimation="slide-up" metrics={[ { - id: "1", - value: "20+", - description: "Années d'expertise", - }, + id: "1", value: "20+", description: "Années d'expertise"}, { - id: "2", - value: "500+", - description: "Projets réalisés", - }, + id: "2", value: "500+", description: "Projets réalisés"}, { - id: "3", - value: "98%", - description: "Satisfaction clients", - }, + id: "3", value: "98%", description: "Satisfaction clients"}, { - id: "4", - value: "100%", - description: "Respect des délais", - }, + id: "4", value: "100%", description: "Respect des délais"}, ]} gridVariant="uniform-all-items-equal" animationType="scale-rotate" @@ -260,26 +212,11 @@ export default function ContactPage() { tagAnimation="slide-up" products={[ { - id: "1", - name: "Rénovation Complète - Maison Lunéville", - price: "Rénovation complète", - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=7", - imageAlt: "Rénovation complète de maison", - }, + id: "1", name: "Rénovation Complète - Maison Lunéville", price: "Rénovation complète", imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Rénovation complète de maison"}, { - id: "2", - name: "Aménagement Intérieur - Appartement", - price: "Aménagement intérieur", - imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=5", - imageAlt: "Aménagement intérieur", - }, + id: "2", name: "Aménagement Intérieur - Appartement", price: "Aménagement intérieur", imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg", imageAlt: "Aménagement intérieur"}, { - id: "3", - name: "Rénovation Façade - Maison Classique", - price: "Rénovation façade", - imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg?_wi=5", - imageAlt: "Rénovation de façade", - }, + id: "3", name: "Rénovation Façade - Maison Classique", price: "Rénovation façade", imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg", imageAlt: "Rénovation de façade"}, ]} gridVariant="three-columns-all-equal-width" animationType="slide-up" @@ -293,41 +230,17 @@ export default function ContactPage() { Date: Thu, 12 Mar 2026 17:33:17 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 95 +++++++++++------------------------------------- 1 file changed, 22 insertions(+), 73 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2663dbc..c613d4a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -24,8 +24,7 @@ export default function HomePage() { const footerColumns = [ { - title: "Entreprise", - items: [ + title: "Entreprise", items: [ { label: "Accueil", href: "/" }, { label: "À propos", href: "#about" }, { label: "Services", href: "/services" }, @@ -33,8 +32,7 @@ export default function HomePage() { ], }, { - title: "Services", - items: [ + title: "Services", items: [ { label: "Construction", href: "/services" }, { label: "Rénovation", href: "/services" }, { label: "Travaux extérieurs", href: "/services" }, @@ -42,8 +40,7 @@ export default function HomePage() { ], }, { - title: "Contact", - items: [ + title: "Contact", items: [ { label: "Email", href: "mailto:contact@fidanconstruction.fr" }, { label: "Téléphone", href: "tel:+33381000000" }, { label: "Lunéville", href: "#" }, @@ -51,8 +48,7 @@ export default function HomePage() { ], }, { - title: "Légal", - items: [ + title: "Légal", items: [ { label: "Politique de confidentialité", href: "#" }, { label: "Conditions d'utilisation", href: "#" }, { label: "Mentions légales", href: "#" }, @@ -68,7 +64,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="small" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -90,9 +86,9 @@ export default function HomePage() { tag="Expertise Locale" tagIcon={Hammer} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/close-up-experienced-carpenter-his-younger-employee_329181-15694.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/close-up-experienced-carpenter-his-younger-employee_329181-15694.jpg" imageAlt="Chantier de construction professionnel" mediaAnimation="slide-up" imagePosition="right" @@ -103,19 +99,11 @@ export default function HomePage() { buttonAnimation="slide-up" testimonials={[ { - name: "Marie Dupont", - handle: "Propriétaire, Lunéville", - testimonial: "Travail impeccable et respect des délais. Équipe très professionnelle !", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2786.jpg?_wi=1", - }, + name: "Marie Dupont", handle: "Propriétaire, Lunéville", testimonial: "Travail impeccable et respect des délais. Équipe très professionnelle !", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2786.jpg"}, { - name: "Jean Bernard", - handle: "Investisseur immobilier", - testimonial: "Fidan Construction a transformé ma propriété. Résultat exceptionnel !", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/positive-businesswoman-work_1098-3861.jpg?_wi=1", - }, + name: "Jean Bernard", handle: "Investisseur immobilier", testimonial: "Fidan Construction a transformé ma propriété. Résultat exceptionnel !", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/positive-businesswoman-work_1098-3861.jpg"}, ]} testimonialRotationInterval={5000} ariaLabel="Section héro Fidan Construction" @@ -131,7 +119,7 @@ export default function HomePage() { description="Fidan Construction" subdescription="Lunéville, Meurthe-et-Moselle" icon={CheckCircle} - imageSrc="http://img.b2bpic.net/free-photo/men-standing-brick-wall-building-construction_259150-57715.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/men-standing-brick-wall-building-construction_259150-57715.jpg" imageAlt="Équipe Fidan Construction" mediaAnimation="slide-up" useInvertedBackground={true} @@ -169,26 +157,11 @@ export default function HomePage() { tagAnimation="slide-up" products={[ { - id: "1", - name: "Rénovation Complète - Maison Lunéville", - price: "Rénovation complète", - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=1", - imageAlt: "Rénovation complète de maison", - }, + id: "1", name: "Rénovation Complète - Maison Lunéville", price: "Rénovation complète", imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Rénovation complète de maison"}, { - id: "2", - name: "Aménagement Intérieur - Appartement", - price: "Aménagement intérieur", - imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=1", - imageAlt: "Aménagement intérieur", - }, + id: "2", name: "Aménagement Intérieur - Appartement", price: "Aménagement intérieur", imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg", imageAlt: "Aménagement intérieur"}, { - id: "3", - name: "Rénovation Façade - Maison Classique", - price: "Rénovation façade", - imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg?_wi=1", - imageAlt: "Rénovation de façade", - }, + id: "3", name: "Rénovation Façade - Maison Classique", price: "Rénovation façade", imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg", imageAlt: "Rénovation de façade"}, ]} gridVariant="three-columns-all-equal-width" animationType="slide-up" @@ -202,41 +175,17 @@ export default function HomePage() { Date: Thu, 12 Mar 2026 17:33:17 +0000 Subject: [PATCH 3/4] Update src/app/services/page.tsx --- src/app/services/page.tsx | 66 +++++++++++---------------------------- 1 file changed, 19 insertions(+), 47 deletions(-) diff --git a/src/app/services/page.tsx b/src/app/services/page.tsx index 2b047ba..478805f 100644 --- a/src/app/services/page.tsx +++ b/src/app/services/page.tsx @@ -7,7 +7,7 @@ import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwen import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo"; import ContactSplit from "@/components/sections/contact/ContactSplit"; import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; -import { Briefcase, Star, Mail } from "lucide-react"; +import { Hammer, Paintbrush, Wrench, Briefcase, Star, Mail } from "lucide-react"; export default function ServicesPage() { const navItems = [ @@ -20,8 +20,7 @@ export default function ServicesPage() { const footerColumns = [ { - title: "Entreprise", - items: [ + title: "Entreprise", items: [ { label: "Accueil", href: "/" }, { label: "À propos", href: "#about" }, { label: "Services", href: "/services" }, @@ -29,8 +28,7 @@ export default function ServicesPage() { ], }, { - title: "Services", - items: [ + title: "Services", items: [ { label: "Construction", href: "/services" }, { label: "Rénovation", href: "/services" }, { label: "Travaux extérieurs", href: "/services" }, @@ -38,8 +36,7 @@ export default function ServicesPage() { ], }, { - title: "Contact", - items: [ + title: "Contact", items: [ { label: "Email", href: "mailto:contact@fidanconstruction.fr" }, { label: "Téléphone", href: "tel:+33381000000" }, { label: "Lunéville", href: "#" }, @@ -47,8 +44,7 @@ export default function ServicesPage() { ], }, { - title: "Légal", - items: [ + title: "Légal", items: [ { label: "Politique de confidentialité", href: "#" }, { label: "Conditions d'utilisation", href: "#" }, { label: "Mentions légales", href: "#" }, @@ -64,7 +60,7 @@ export default function ServicesPage() { borderRadius="rounded" contentWidth="small" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -88,63 +84,39 @@ export default function ServicesPage() { tagAnimation="slide-up" features={[ { - title: "Construction", - description: "Construction de maisons neuves, travaux de gros œuvre et maçonnerie professionnelle.", - icon: "Hammer", + title: "Construction", description: "Construction de maisons neuves, travaux de gros œuvre et maçonnerie professionnelle.", icon: Hammer, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg?_wi=1", - imageAlt: "Travaux de construction", - }, + imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg", imageAlt: "Travaux de construction"}, { - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=2", - imageAlt: "Projet de construction terminé", - }, + imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Projet de construction terminé"}, ], }, { - title: "Rénovation", - description: "Rénovation complète d'appartements et maisons, aménagement intérieur moderne.", - icon: "Paintbrush", + title: "Rénovation", description: "Rénovation complète d'appartements et maisons, aménagement intérieur moderne.", icon: Paintbrush, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/tidy-bathroom-with-shiny-tiles_1203-1501.jpg?_wi=1", - imageAlt: "Travaux de rénovation", - }, + imageSrc: "http://img.b2bpic.net/free-photo/tidy-bathroom-with-shiny-tiles_1203-1501.jpg", imageAlt: "Travaux de rénovation"}, { - imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg?_wi=2", - imageAlt: "Rénovation intérieure", - }, + imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg", imageAlt: "Rénovation intérieure"}, ], }, { - title: "Travaux extérieurs", - description: "Façades, terrasses, aménagement extérieur et espaces paysagers.", - icon: "Hammer", + title: "Travaux extérieurs", description: "Façades, terrasses, aménagement extérieur et espaces paysagers.", icon: Hammer, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/enjoying-morning-sun-before-start-work_329181-11779.jpg?_wi=1", - imageAlt: "Travaux extérieurs", - }, + imageSrc: "http://img.b2bpic.net/free-photo/enjoying-morning-sun-before-start-work_329181-11779.jpg", imageAlt: "Travaux extérieurs"}, { - imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg?_wi=2", - imageAlt: "Rénovation de façade", - }, + imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg", imageAlt: "Rénovation de façade"}, ], }, { - title: "Réparations spécialisées", - description: "Réparations structurelles et améliorations de l'habitat selon vos besoins.", - icon: "Wrench", + title: "Réparations spécialisées", description: "Réparations structurelles et améliorations de l'habitat selon vos besoins.", icon: Wrench, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg?_wi=2", - imageAlt: "Réparations professionnelles", - }, + imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317323.jpg", imageAlt: "Réparations professionnelles"}, { - imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg?_wi=3", - imageAlt: "Travaux de réparation", - }, + imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692341.jpg", imageAlt: "Travaux de réparation"}, ], }, ]} @@ -185,7 +157,7 @@ export default function ServicesPage() { description="Contactez-nous dès aujourd'hui pour une consultation gratuite. Nous étudierons votre projet et vous proposerons un devis sans engagement." background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/business-people-office_23-2148017144.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/business-people-office_23-2148017144.jpg" imageAlt="Contact Fidan Construction" mediaAnimation="slide-up" mediaPosition="right" -- 2.49.1 From eb1406a0314ef10173143ab30343d25f89da31a4 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:33:18 +0000 Subject: [PATCH 4/4] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 61 ++++++++----------- 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..90e3587 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ "use client"; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { SVGProps } from "react"; -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +interface SvgTextLogoProps extends SVGProps { + text?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = "Webild", className = "", ...props +}) => { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1