import type { ArticleSlug, Locale } from "./site";

export type Article = {
  slug: ArticleSlug;
  type: string;
  title: string;
  summary: string;
  readingTime: string;
  reviewNote: string;
  sections: { title: string; paragraphs: string[]; bullets?: string[] }[];
  cta: string;
};

const fr: Article[] = [
  {
    slug: "seo-local-maroc",
    type: "Article",
    title: "SEO local au Maroc : comment être trouvé par les bons clients",
    summary:
      "Une présence locale cohérente relie Google, le site, la réputation, le contenu et une prochaine étape claire.",
    readingTime: "7 min",
    reviewNote: "Brouillon éditorial à relire et sourcer avant publication finale.",
    sections: [
      {
        title: "Comprendre l’intention locale",
        paragraphs: [
          "Une personne qui cherche un professionnel à Fès, Casablanca ou Rabat veut souvent comparer, vérifier, appeler ou se déplacer. L’entreprise doit expliquer rapidement ce qu’elle propose, où elle agit, pourquoi elle est crédible et comment avancer.",
          "Le SEO local n’est pas une action isolée. Une fiche Google ne compense pas un site faible, et un beau site ne compense pas des informations incohérentes.",
        ],
      },
      {
        title: "Construire une présence cohérente",
        paragraphs: [
          "Le nom, le téléphone, la ville, le site et les horaires doivent rester cohérents entre Google, le site et les réseaux. Cette cohérence est technique, mais aussi profondément liée à la confiance.",
          "Le site confirme la promesse créée par la recherche. Il doit être rapide, lisible sur téléphone et capable de répondre aux questions locales sans répéter artificiellement le nom d’une ville.",
        ],
      },
      {
        title: "Transformer la visibilité en décision",
        paragraphs: [
          "Les avis honnêtes, les photographies réelles, les réponses utiles et un contact simple aident la bonne personne à avancer. Le trafic n’est pas la finalité ; une demande qualifiée est un signal beaucoup plus utile.",
        ],
        bullets: [
          "Impressions et recherches locales pertinentes",
          "Visites du site, appels, messages et itinéraires",
          "Demandes qualifiées et cohérence de la réputation",
        ],
      },
    ],
    cta: "Votre entreprise est-elle visible au bon moment, auprès des bonnes personnes ?",
  },
  {
    slug: "marketing-medical-confiance",
    type: "Article",
    title: "Marketing médical au Maroc : construire la confiance avant la visibilité",
    summary:
      "La communication médicale doit rendre l’expertise compréhensible sans fausse promesse, pression ou conseil individuel.",
    readingTime: "7 min",
    reviewNote: "Brouillon éditorial nécessitant une revue médicale et réglementaire.",
    sections: [
      {
        title: "La confiance précède le contact",
        paragraphs: [
          "Avant de téléphoner, un patient peut consulter Google, le site, les avis, les réseaux et plusieurs vidéos. Chaque point de contact influence sa perception du sérieux, de la clarté et de la sécurité.",
          "La visibilité amplifie cette perception. Elle ne la crée pas automatiquement.",
        ],
      },
      {
        title: "Éduquer sans promettre",
        paragraphs: [
          "Le contenu médical utile répond à des questions fréquentes, explique une démarche générale et réduit l’incertitude. Il ne remplace pas un diagnostic et ne garantit aucun résultat.",
          "Une bibliothèque de vidéos peut construire l’autorité quand chaque sujet possède une question précise, un langage accessible et une destination claire après le visionnage.",
        ],
      },
      {
        title: "Mesurer au-delà des vues",
        paragraphs: [
          "Les vues indiquent une diffusion, pas à elles seules un impact médical ou business. Il faut aussi observer les recherches de marque, les visites du site, les messages, la qualité des questions et l’engagement avec les contenus pédagogiques.",
        ],
      },
    ],
    cta: "Votre expertise est-elle aussi claire en ligne qu’elle l’est dans votre pratique ?",
  },
  {
    slug: "credibilite-digitale",
    type: "Article",
    title: "Crédibilité digitale : la décision commence avant le premier contact",
    summary:
      "Le site, Google, les réseaux, les avis et la qualité de réponse composent ensemble une première impression silencieuse.",
    readingTime: "6 min",
    reviewNote: "Brouillon éditorial à relire avant publication finale.",
    sections: [
      {
        title: "La première impression est un système",
        paragraphs: [
          "Un prospect évalue une entreprise avant de lui écrire. Il cherche une proposition claire, des informations à jour, une identité cohérente, des preuves réelles et une expérience fluide.",
          "La simplicité n’affaiblit pas l’expertise. Elle la démontre.",
        ],
      },
      {
        title: "La preuve est plus forte que la promesse",
        paragraphs: [
          "Les superlatifs ont peu de valeur sans preuve. Le travail réel, une méthode visible, un chiffre vérifié, un contenu pédagogique ou un processus transparent permettent à la crédibilité de se construire.",
        ],
      },
      {
        title: "Le contact fait partie de la marque",
        paragraphs: [
          "Un formulaire trop long, une absence de confirmation ou une réponse imprécise peut détruire la confiance accumulée. Le visiteur doit comprendre quelles informations sont utiles et ce qui se passera ensuite.",
        ],
      },
    ],
    cta: "Votre présence digitale reflète-t-elle réellement la qualité de votre entreprise ?",
  },
  {
    slug: "yashal-growth-system",
    type: "Framework",
    title: "Le Yashal Growth System",
    summary:
      "Six piliers connectés : Strategy, Credibility, Visibility, Authority, Performance et Growth.",
    readingTime: "5 min",
    reviewNote: "Framework officiel ; rédaction éditoriale à relire.",
    sections: [
      {
        title: "Une croissance durable est un système",
        paragraphs: [
          "Un site peut être beau mais invisible. Une campagne peut générer de l’attention sans confiance. Une marque peut être reconnue mais ne pas convertir. Le système relie les décisions qui se renforcent.",
        ],
      },
      {
        title: "Les six piliers",
        paragraphs: [
          "Strategy définit la direction. Credibility réduit le risque perçu. Visibility permet d’être trouvé. Authority transforme l’expertise en confiance reconnue. Performance relie les investissements aux indicateurs utiles. Growth réinvestit l’apprentissage dans la stratégie.",
        ],
      },
      {
        title: "Utiliser le framework",
        paragraphs: [
          "Comprendre le business, diagnostiquer le frein principal, prioriser les actifs, exécuter avec des standards, mesurer les signaux utiles et améliorer continuellement.",
        ],
      },
    ],
    cta: "Quel pilier limite actuellement votre croissance ?",
  },
  {
    slug: "site-web-strategique",
    type: "Guide",
    title: "Construire un site web qui inspire confiance et crée des conversations",
    summary:
      "Un site stratégique clarifie la valeur, démontre la crédibilité et rend la prochaine étape naturelle.",
    readingTime: "8 min",
    reviewNote: "Brouillon éditorial à relire avant publication finale.",
    sections: [
      {
        title: "Définir la décision attendue",
        paragraphs: [
          "Avant le design, il faut définir ce que le visiteur doit comprendre et faire. Certaines visites mènent au contact ; d’autres à la méthode, au travail ou à une ressource utile.",
        ],
      },
      {
        title: "Organiser la confiance",
        paragraphs: [
          "La confiance se construit progressivement : clarté, crédibilité, autorité, confiance, action. La méthode, le travail réel, les fondateurs, les connaissances et la transparence réduisent l’incertitude.",
          "Les solutions doivent être présentées comme des réponses à un problème : situation, impact, approche, actif à construire et prochaine étape.",
        ],
      },
      {
        title: "Faire du contact une conversation",
        paragraphs: [
          "Le formulaire demande uniquement ce qui aide à préparer une réponse. La vitesse, le mobile, l’accessibilité et une alternative WhatsApp font partie de la qualité du système.",
        ],
      },
    ],
    cta: "Votre site actuel aide-t-il vraiment les visiteurs à prendre une meilleure décision ?",
  },
  {
    slug: "video-actif-croissance",
    type: "Analyse de projet",
    title: "Transformer une vidéo en actif de croissance",
    summary:
      "Une vidéo devient stratégique lorsqu’elle possède un objectif, une audience, une place dans le parcours et une manière d’être réutilisée.",
    readingTime: "6 min",
    reviewNote: "Analyse générique ; aucun client ni résultat non documenté.",
    sections: [
      {
        title: "Partir du problème",
        paragraphs: [
          "Une vidéo peut expliquer, rassurer, démontrer, créer de la notoriété ou réduire une objection. Sans objectif, les décisions créatives deviennent arbitraires.",
        ],
      },
      {
        title: "Donner une place à l’actif",
        paragraphs: [
          "Le message, le rythme, la langue et le format dépendent du public. Le contenu doit apporter une preuve réelle et s’intégrer à une étape du parcours : découverte, compréhension, confiance, décision ou fidélisation.",
        ],
      },
      {
        title: "Créer un système de contenu",
        paragraphs: [
          "Un tournage peut produire un film principal, des versions verticales, des extraits, des photographies, un article et des réponses aux questions fréquentes. La mesure dépend de l’objectif et ne se limite jamais au nombre de vues.",
        ],
      },
    ],
    cta: "Avez-vous besoin d’une vidéo, ou d’un actif qui continue à travailler pour votre entreprise ?",
  },
];

const en: Article[] = fr.map((article) => {
  const translated: Record<ArticleSlug, Omit<Article, "slug">> = {
    "seo-local-maroc": {
      type: "Article",
      title: "Local SEO in Morocco: how the right customers find you",
      summary: "A coherent local presence connects Google, the website, reputation, content and a clear next step.",
      readingTime: "7 min",
      reviewNote: "Editorial draft requiring source and language review before final publication.",
      sections: [
        { title: "Understand local intent", paragraphs: ["Someone looking for a professional in Fès, Casablanca or Rabat often wants to compare, verify, call or visit. The business must quickly explain what it offers, where it operates, why it is credible and how to move forward.", "Local SEO is not one isolated action. A Google profile cannot compensate for a weak website, and a beautiful website cannot compensate for inconsistent information."] },
        { title: "Build a coherent presence", paragraphs: ["Name, phone, city, website and opening information should remain consistent across Google, the website and social channels. This technical consistency also builds trust.", "The website confirms the promise created in search. It should be fast, readable on mobile and answer local questions without artificial repetition."] },
        { title: "Turn visibility into a decision", paragraphs: ["Honest reviews, real photography, useful answers and simple contact help the right person move forward. Traffic is not the goal; a qualified inquiry is a more useful signal."], bullets: ["Relevant local impressions and searches", "Website visits, calls, messages and directions", "Qualified inquiries and reputation consistency"] },
      ],
      cta: "Is your business visible at the right moment, to the right people?",
    },
    "marketing-medical-confiance": {
      type: "Article",
      title: "Medical marketing in Morocco: build trust before visibility",
      summary: "Medical communication should make expertise understandable without false promises, pressure or individual advice.",
      readingTime: "7 min",
      reviewNote: "Editorial draft requiring medical, regulatory and language review.",
      sections: [
        { title: "Trust precedes contact", paragraphs: ["Before calling, a patient may review Google, the website, reviews, social channels and videos. Every touchpoint influences the perception of seriousness, clarity and safety.", "Visibility amplifies that perception. It does not create it automatically."] },
        { title: "Educate without promising", paragraphs: ["Useful medical content answers frequent questions, explains a general process and reduces uncertainty. It does not replace diagnosis and does not guarantee an outcome.", "A video library can build authority when each topic has a precise question, accessible language and a clear destination after viewing."] },
        { title: "Measure beyond views", paragraphs: ["Views indicate distribution, not medical or business impact on their own. Brand searches, website visits, messages, question quality and engagement with educational content provide a broader picture."] },
      ],
      cta: "Is your expertise as clear online as it is in your practice?",
    },
    "credibilite-digitale": {
      type: "Article",
      title: "Digital credibility: the decision begins before first contact",
      summary: "The website, Google, social channels, reviews and response quality form one silent first impression.",
      readingTime: "6 min",
      reviewNote: "Editorial draft requiring language review before final publication.",
      sections: [
        { title: "First impressions are a system", paragraphs: ["A prospect evaluates a business before writing. They look for a clear proposition, current information, coherent identity, real proof and a smooth experience.", "Simplicity does not weaken expertise. It demonstrates it."] },
        { title: "Proof is stronger than promise", paragraphs: ["Superlatives have little value without proof. Real work, a visible method, verified data, educational content or a transparent process allow credibility to form."] },
        { title: "Contact is part of the brand", paragraphs: ["An overly long form, missing confirmation or vague response can destroy accumulated trust. Visitors should know what information is useful and what happens next."] },
      ],
      cta: "Does your digital presence reflect the true quality of your business?",
    },
    "yashal-growth-system": {
      type: "Framework",
      title: "The Yashal Growth System",
      summary: "Six connected pillars: Strategy, Credibility, Visibility, Authority, Performance and Growth.",
      readingTime: "5 min",
      reviewNote: "Official framework; editorial language requires final review.",
      sections: [
        { title: "Sustainable growth is a system", paragraphs: ["A website may be beautiful but invisible. A campaign may generate attention without trust. A brand may be recognized without converting. The system connects decisions that strengthen one another."] },
        { title: "The six pillars", paragraphs: ["Strategy defines direction. Credibility reduces perceived risk. Visibility enables discovery. Authority turns expertise into recognized trust. Performance connects investment to useful indicators. Growth reinvests learning into strategy."] },
        { title: "Use the framework", paragraphs: ["Understand the business, diagnose the main constraint, prioritize assets, execute to standards, measure useful signals and improve continuously."] },
      ],
      cta: "Which pillar is currently limiting your growth?",
    },
    "site-web-strategique": {
      type: "Guide",
      title: "Build a website that inspires trust and creates conversations",
      summary: "A strategic website clarifies value, demonstrates credibility and makes the next step natural.",
      readingTime: "8 min",
      reviewNote: "Editorial draft requiring language review before final publication.",
      sections: [
        { title: "Define the expected decision", paragraphs: ["Before design, define what the visitor should understand and do. Some visits lead to contact; others lead to the method, selected work or a useful resource."] },
        { title: "Organize trust", paragraphs: ["Trust builds progressively: clarity, credibility, authority, confidence, action. Method, real work, founders, knowledge and transparency reduce uncertainty.", "Solutions should be presented as answers to a problem: situation, impact, approach, asset to build and next step."] },
        { title: "Make contact a conversation", paragraphs: ["The form asks only for information that prepares a useful response. Speed, mobile quality, accessibility and a WhatsApp alternative are part of the system."] },
      ],
      cta: "Does your current website help visitors make a better decision?",
    },
    "video-actif-croissance": {
      type: "Project analysis",
      title: "Turn video into a growth asset",
      summary: "Video becomes strategic when it has an objective, audience, place in the journey and a plan for reuse.",
      readingTime: "6 min",
      reviewNote: "Generic analysis; no client or undocumented result.",
      sections: [
        { title: "Begin with the problem", paragraphs: ["Video can explain, reassure, demonstrate, build awareness or reduce an objection. Without an objective, creative decisions become arbitrary."] },
        { title: "Give the asset a place", paragraphs: ["Message, pace, language and format depend on the audience. Content should provide real proof and belong to a stage of the journey: discovery, understanding, trust, decision or retention."] },
        { title: "Create a content system", paragraphs: ["One production can create a main film, vertical edits, extracts, photography, an article and answers to common questions. Measurement follows the objective and never ends at view count."] },
      ],
      cta: "Do you need a video, or an asset that keeps working for your business?",
    },
  };
  return { slug: article.slug, ...translated[article.slug] };
});

const ar: Article[] = en.map((article) => {
  const translated: Record<ArticleSlug, Omit<Article, "slug">> = {
    "seo-local-maroc": {
      type: "مقال",
      title: "تحسين الظهور المحلي في المغرب: كيف يعثر عليك العملاء المناسبون",
      summary: "يربط الحضور المحلي المتناسق بين Google والموقع والسمعة والمحتوى والخطوة التالية.",
      readingTime: "7 دقائق",
      reviewNote: "مسودة تحريرية تحتاج إلى مراجعة المصادر واللغة قبل النشر النهائي.",
      sections: [
        { title: "فهم نية البحث المحلي", paragraphs: ["من يبحث عن مهني في فاس أو الدار البيضاء أو الرباط يريد غالباً المقارنة أو التحقق أو الاتصال أو الزيارة. يجب أن يوضح النشاط بسرعة ما يقدمه وأين يعمل ولماذا يمكن الوثوق به وكيفية المتابعة.", "تحسين الظهور المحلي ليس خطوة منفصلة؛ لا تعوض صفحة Google موقعاً ضعيفاً، ولا يعوض الموقع الجميل معلومات متناقضة."] },
        { title: "بناء حضور متناسق", paragraphs: ["يجب أن يبقى الاسم والهاتف والمدينة والموقع والمعلومات العملية متسقة عبر Google والموقع والمنصات الاجتماعية. هذا الاتساق التقني يبني الثقة أيضاً.", "يؤكد الموقع الوعد الذي بدأ في البحث، ويجب أن يكون سريعاً وواضحاً على الهاتف وأن يجيب عن الأسئلة المحلية من دون تكرار مصطنع."] },
        { title: "تحويل الظهور إلى قرار", paragraphs: ["تساعد المراجعات الصادقة والصور الحقيقية والإجابات المفيدة والتواصل البسيط الشخص المناسب على التقدم. الزيارات ليست الهدف؛ الطلب المؤهل مؤشر أكثر فائدة."], bullets: ["عمليات البحث المحلية ذات الصلة", "زيارات الموقع والمكالمات والرسائل", "الطلبات المؤهلة واتساق السمعة"] },
      ],
      cta: "هل يظهر نشاطك في اللحظة المناسبة أمام الأشخاص المناسبين؟",
    },
    "marketing-medical-confiance": {
      type: "مقال",
      title: "التسويق الطبي في المغرب: بناء الثقة قبل الظهور",
      summary: "يجب أن تجعل الاتصالات الطبية الخبرة مفهومة دون وعود زائفة أو ضغط أو نصيحة فردية.",
      readingTime: "7 دقائق",
      reviewNote: "مسودة تحتاج إلى مراجعة طبية وتنظيمية ولغوية.",
      sections: [
        { title: "الثقة تسبق التواصل", paragraphs: ["قبل الاتصال، قد يراجع المريض Google والموقع والتقييمات والمنصات والفيديوهات. تؤثر كل نقطة في تصور الجدية والوضوح والأمان.", "الظهور يضخم هذا التصور ولا يصنعه تلقائياً."] },
        { title: "التثقيف من دون وعود", paragraphs: ["يجيب المحتوى الطبي المفيد عن الأسئلة الشائعة ويشرح مساراً عاماً ويقلل عدم اليقين. لا يحل محل التشخيص ولا يضمن نتيجة.", "يمكن لمكتبة فيديوهات أن تبني السلطة عندما يركز كل موضوع على سؤال واضح ولغة مفهومة وخطوة تالية."] },
        { title: "القياس أبعد من المشاهدات", paragraphs: ["تدل المشاهدات على الانتشار، ولا تثبت وحدها أثراً طبياً أو تجارياً. ينبغي ملاحظة البحث عن الاسم وزيارات الموقع والرسائل وجودة الأسئلة والتفاعل مع المحتوى التعليمي."] },
      ],
      cta: "هل خبرتك واضحة على الإنترنت كما هي في الممارسة؟",
    },
    "credibilite-digitale": {
      type: "مقال",
      title: "المصداقية الرقمية: يبدأ القرار قبل أول تواصل",
      summary: "يشكل الموقع وGoogle والمنصات والتقييمات وجودة الرد انطباعاً أولياً واحداً.",
      readingTime: "6 دقائق",
      reviewNote: "مسودة تحريرية تحتاج إلى مراجعة لغوية قبل النشر النهائي.",
      sections: [
        { title: "الانطباع الأول نظام", paragraphs: ["يقيّم العميل المحتمل النشاط قبل أن يكتب إليه. يبحث عن عرض واضح ومعلومات محدثة وهوية متناسقة ودليل حقيقي وتجربة سلسة.", "البساطة لا تضعف الخبرة، بل تثبتها."] },
        { title: "الدليل أقوى من الوعد", paragraphs: ["لا قيمة كبيرة للمبالغة بلا دليل. العمل الحقيقي والمنهج الواضح والبيانات المؤكدة والمحتوى التعليمي والمسار الشفاف تسمح للمصداقية بالتشكل."] },
        { title: "التواصل جزء من العلامة", paragraphs: ["قد يدمر نموذج طويل أو غياب التأكيد أو الرد الغامض الثقة المتراكمة. يجب أن يفهم الزائر المعلومات المفيدة وما سيحدث بعدها."] },
      ],
      cta: "هل يعكس حضورك الرقمي الجودة الحقيقية لنشاطك؟",
    },
    "yashal-growth-system": {
      type: "إطار",
      title: "نظام Yashal للنمو",
      summary: "ستة ركائز مترابطة: Strategy وCredibility وVisibility وAuthority وPerformance وGrowth.",
      readingTime: "5 دقائق",
      reviewNote: "إطار رسمي؛ تحتاج الصياغة التحريرية إلى مراجعة نهائية.",
      sections: [
        { title: "النمو المستدام نظام", paragraphs: ["قد يكون الموقع جميلاً لكنه غير ظاهر. وقد تصنع الحملة انتباهاً بلا ثقة. وقد تكون العلامة معروفة من دون تحويل. يربط النظام القرارات التي تقوي بعضها."] },
        { title: "الركائز الست", paragraphs: ["تحدد Strategy الاتجاه. تقلل Credibility المخاطر المتصورة. تتيح Visibility الاكتشاف. تحول Authority الخبرة إلى ثقة معترف بها. تربط Performance الاستثمار بالمؤشرات المفيدة. وتعيد Growth التعلم إلى الاستراتيجية."] },
        { title: "استخدام الإطار", paragraphs: ["نفهم النشاط، ونشخص العائق، ونرتب الأصول، وننفذ بمعايير واضحة، ونقيس المؤشرات المفيدة، ونحسن باستمرار."] },
      ],
      cta: "أي ركيزة تحد نموك حالياً؟",
    },
    "site-web-strategique": {
      type: "دليل",
      title: "بناء موقع يلهم الثقة ويخلق محادثات",
      summary: "يوضح الموقع الاستراتيجي القيمة ويثبت المصداقية ويجعل الخطوة التالية طبيعية.",
      readingTime: "8 دقائق",
      reviewNote: "مسودة تحريرية تحتاج إلى مراجعة لغوية قبل النشر النهائي.",
      sections: [
        { title: "تحديد القرار المتوقع", paragraphs: ["قبل التصميم، حدد ما يجب أن يفهمه الزائر ويفعله. تقود بعض الزيارات إلى التواصل، وأخرى إلى المنهج أو الأعمال أو مورد مفيد."] },
        { title: "تنظيم الثقة", paragraphs: ["تُبنى الثقة تدريجياً: وضوح، مصداقية، سلطة، ثقة، ثم فعل. تقلل المنهجية والعمل الحقيقي والمؤسسون والمعرفة والشفافية عدم اليقين.", "يجب تقديم الحلول كإجابات عن مشكلة: الوضع والأثر والمنهج والأصل المطلوب والخطوة التالية."] },
        { title: "جعل التواصل محادثة", paragraphs: ["يطلب النموذج المعلومات التي تساعد على إعداد رد مفيد فقط. السرعة وجودة الهاتف وإمكانية الوصول وخيار واتساب جزء من النظام."] },
      ],
      cta: "هل يساعد موقعك الحالي الزوار على اتخاذ قرار أفضل؟",
    },
    "video-actif-croissance": {
      type: "تحليل مشروع",
      title: "تحويل الفيديو إلى أصل للنمو",
      summary: "يصبح الفيديو استراتيجياً عندما يملك هدفاً وجمهوراً ومكاناً في الرحلة وخطة لإعادة الاستخدام.",
      readingTime: "6 دقائق",
      reviewNote: "تحليل عام؛ لا يتضمن عميلاً أو نتيجة غير موثقة.",
      sections: [
        { title: "البدء من المشكلة", paragraphs: ["يمكن للفيديو أن يشرح أو يطمئن أو يثبت أو يبني الوعي أو يقلل اعتراضاً. من دون هدف تصبح القرارات الإبداعية عشوائية."] },
        { title: "منح الأصل مكاناً", paragraphs: ["تعتمد الرسالة والإيقاع واللغة والصيغة على الجمهور. يجب أن يقدم المحتوى دليلاً حقيقياً وأن ينتمي إلى مرحلة: اكتشاف أو فهم أو ثقة أو قرار أو احتفاظ."] },
        { title: "إنشاء نظام محتوى", paragraphs: ["يمكن لإنتاج واحد أن يخلق فيلماً رئيسياً ومقاطع عمودية وصوراً ومقالاً وإجابات عن الأسئلة الشائعة. يتبع القياس الهدف ولا يتوقف عند عدد المشاهدات."] },
      ],
      cta: "هل تحتاج إلى فيديو، أم إلى أصل يستمر في العمل لصالح نشاطك؟",
    },
  };
  return { slug: article.slug, ...translated[article.slug] };
});

export const articlesByLocale: Record<Locale, Article[]> = { fr, en, ar };

export const getArticle = (locale: Locale, slug: ArticleSlug) =>
  articlesByLocale[locale].find((article) => article.slug === slug);
