Merge version_1 into main #2
@@ -48,12 +48,13 @@ export default function LandingPage() {
|
||||
tag="Grossiste Premium • Prix Nets • Service Fiable"
|
||||
background={{ variant: "radial-gradient" }}
|
||||
mediaItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg?_wi=1", imageAlt: "Professionnel de gros commerce" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boss-financial-expert-discussing-trading-strategy-studying-financial-data-closeup-shot-broker-job-concept_74855-14225.jpg?_wi=1", imageAlt: "Partenariat commercial de luxe" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-receiving-products-ordered-online_23-2148577109.jpg?_wi=1", imageAlt: "Livraison ponctuelle garantie" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg", imageAlt: "Professionnel de gros commerce" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boss-financial-expert-discussing-trading-strategy-studying-financial-data-closeup-shot-broker-job-concept_74855-14225.jpg", imageAlt: "Partenariat commercial de luxe" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-receiving-products-ordered-online_23-2148577109.jpg", imageAlt: "Livraison ponctuelle garantie" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/businesswomen-fist-bump_53876-15167.jpg", imageAlt: "Négociation tarifaire transparente" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/business-people-shaking-hands-together_53876-14767.jpg", imageAlt: "Succès du partenariat commercial" }
|
||||
]}
|
||||
mediaAnimation="blur-reveal"
|
||||
buttons={[
|
||||
{ text: "Demander un devis", href: "#contact" },
|
||||
{ text: "En savoir plus", href: "#avantages" }
|
||||
@@ -71,6 +72,7 @@ export default function LandingPage() {
|
||||
{ icon: Truck, label: "Livraison Fiable", value: "100% Ponctuelle" },
|
||||
{ icon: Shield, label: "Confiance Pro", value: "Engagée" }
|
||||
]}
|
||||
metricsAnimation="blur-reveal"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -85,22 +87,22 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Transparence Tarifaire", description: "Devis clairs, détaillés, confirmés par écrit avant validation. Zéro ambiguïté, zéro surprise. Votre confiance mérite de la clarté.", icon: CheckCircle,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-rich-woman-sitting-home_23-2149722596.jpg?_wi=1", imageAlt: "Transparence des prix" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-rich-woman-sitting-home_23-2149722596.jpg?_wi=2", imageAlt: "Détail tarifaire clair" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-rich-woman-sitting-home_23-2149722596.jpg", imageAlt: "Transparence des prix" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/full-shot-rich-woman-sitting-home_23-2149722596.jpg", imageAlt: "Détail tarifaire clair" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Service Humain & Réactif", description: "Un vrai partenaire commercial, pas une interface froide. Nous écoutons vos besoins et nous adaptons. Réactivité garantie sous 24h.", icon: Handshake,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/startup-colleagues-reviewing-data-improve-customer-satisfaction-retention_482257-90953.jpg?_wi=1", imageAlt: "Service professionnel" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/startup-colleagues-reviewing-data-improve-customer-satisfaction-retention_482257-90953.jpg?_wi=2", imageAlt: "Assistance commerciale" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/startup-colleagues-reviewing-data-improve-customer-satisfaction-retention_482257-90953.jpg", imageAlt: "Service professionnel" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/startup-colleagues-reviewing-data-improve-customer-satisfaction-retention_482257-90953.jpg", imageAlt: "Assistance commerciale" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Livraison Ponctuelle", description: "La ponctualité c'est notre signature. Suivi rigoureux, engagement sur les délais. Votre activité ne peut pas attendre, nous le savons.", icon: Truck,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-laptop-coffee-cup_23-2149097901.jpg?_wi=1", imageAlt: "Livraison à l'heure" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-laptop-coffee-cup_23-2149097901.jpg?_wi=2", imageAlt: "Fiabilité logistique" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-laptop-coffee-cup_23-2149097901.jpg", imageAlt: "Livraison à l'heure" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-laptop-coffee-cup_23-2149097901.jpg", imageAlt: "Fiabilité logistique" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
@@ -116,9 +118,9 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{ id: "1", name: "Épicerie & Alimentaire", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg?_wi=2", imageAlt: "Produits alimentaires professionnels" },
|
||||
{ id: "2", name: "Hygiène & Entretien", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/boss-financial-expert-discussing-trading-strategy-studying-financial-data-closeup-shot-broker-job-concept_74855-14225.jpg?_wi=2", imageAlt: "Solutions d'hygiène" },
|
||||
{ id: "3", name: "Produits pour Professionnels", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-receiving-products-ordered-online_23-2148577109.jpg?_wi=2", imageAlt: "Produits professionnels" }
|
||||
{ id: "1", name: "Épicerie & Alimentaire", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg", imageAlt: "Produits alimentaires professionnels" },
|
||||
{ id: "2", name: "Hygiène & Entretien", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/boss-financial-expert-discussing-trading-strategy-studying-financial-data-closeup-shot-broker-job-concept_74855-14225.jpg", imageAlt: "Solutions d'hygiène" },
|
||||
{ id: "3", name: "Produits pour Professionnels", price: "Sur devis", imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-receiving-products-ordered-online_23-2148577109.jpg", imageAlt: "Produits professionnels" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -141,6 +143,7 @@ export default function LandingPage() {
|
||||
sideDescription="Tout ce qu'il faut savoir pour débuter avec Al Madina Grossiste."
|
||||
textPosition="left"
|
||||
useInvertedBackground={true}
|
||||
faqsAnimation="blur-reveal"
|
||||
faqs={[
|
||||
{ id: "1", title: "Comment obtenir un devis ?", content: "Envoyez votre demande avec les produits recherchés, les quantités et vos besoins. Nous répondons avec une proposition claire et adaptée sous 24h ouvrées." },
|
||||
{ id: "2", title: "Travaillez-vous uniquement avec des professionnels ?", content: "Oui, Al Madina Grossiste cible une clientèle professionnelle : commerces, restaurateurs, revendeurs et acheteurs réguliers qui cherchent des volumes et de la fiabilité." },
|
||||
@@ -170,7 +173,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg?_wi=3"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-young-businesspeople-analyzing-document-restaurant_23-2147876709.jpg"
|
||||
imageAlt="Al Madina Grossiste"
|
||||
logoText="Al Madina Grossiste"
|
||||
copyrightText="© 2025 Al Madina Grossiste. Tous droits réservés."
|
||||
|
||||
@@ -1,51 +1,44 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
fontSize?: number;
|
||||
className?: string;
|
||||
fill?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
const SvgTextLogo = ({
|
||||
text,
|
||||
fontSize = 48,
|
||||
className = '',
|
||||
fill = 'currentColor',
|
||||
}: SvgTextLogoProps) => {
|
||||
const textWidth = text.length * (fontSize * 0.6);
|
||||
const padding = 20;
|
||||
const width = textWidth + padding * 2;
|
||||
const height = fontSize + padding * 2;
|
||||
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
width={width}
|
||||
height={height}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x={padding}
|
||||
y={height / 2}
|
||||
fontSize={fontSize}
|
||||
fontWeight="bold"
|
||||
fill={fill}
|
||||
textAnchor="start"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user