From f317fa12ddcf909ad236024006d17160b6ae24bf Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 May 2026 01:19:10 -0400 Subject: [PATCH] fix contract --- .../src/components/layout/PublicShell.tsx | 60 ++--- .../src/app/footer/[slug]/page.tsx | 21 ++ .../src/components/FooterContentPage.tsx | 61 +++++ .../src/components/MarketplaceShell.tsx | 61 +++-- apps/marketplace/src/lib/footerContent.ts | 237 ++++++++++++++++++ 5 files changed, 374 insertions(+), 66 deletions(-) create mode 100644 apps/marketplace/src/app/footer/[slug]/page.tsx create mode 100644 apps/marketplace/src/components/FooterContentPage.tsx create mode 100644 apps/marketplace/src/lib/footerContent.ts diff --git a/apps/dashboard/src/components/layout/PublicShell.tsx b/apps/dashboard/src/components/layout/PublicShell.tsx index ae33e04..87c179f 100644 --- a/apps/dashboard/src/components/layout/PublicShell.tsx +++ b/apps/dashboard/src/components/layout/PublicShell.tsx @@ -31,19 +31,17 @@ function getFooterContent(language: DashboardLanguage): { case 'fr': return { primary: [ - { label: 'À propos', href: marketplaceUrl }, - { label: 'CLUF' }, - { label: "Conditions d'utilisation" }, - { label: 'Sécurité' }, - { label: 'Conformité' }, - { label: 'Politique de confidentialité' }, - { label: 'Politique de cookies' }, - { label: "Programme d'affiliation" }, + { label: 'À propos de nous', href: `${marketplaceUrl}/footer/about-us` }, + { label: 'Conditions d’utilisation', href: `${marketplaceUrl}/footer/terms-of-service` }, + { label: 'Sécurité', href: `${marketplaceUrl}/footer/security` }, + { label: 'Conformité', href: `${marketplaceUrl}/footer/compliance` }, + { label: 'Politique de confidentialité', href: `${marketplaceUrl}/footer/privacy-policy` }, + { label: 'Politique relative aux cookies', href: `${marketplaceUrl}/footer/cookie-policy` }, ], secondary: [ - { label: 'Newsletter' }, - { label: 'Contacter les ventes', href: '/sign-up' }, - { label: 'Nos bureaux', href: marketplaceUrl }, + { label: 'Newsletter', href: `${marketplaceUrl}/footer/newsletter` }, + { label: 'Contacter les ventes', href: `${marketplaceUrl}/footer/contact-sales` }, + { label: 'Nos bureaux', href: `${marketplaceUrl}/footer/our-offices` }, ], localeLabel: 'Europ (French)', rightsLabel: 'Tous droits réservés.', @@ -51,19 +49,17 @@ function getFooterContent(language: DashboardLanguage): { case 'ar': return { primary: [ - { label: 'من نحن', href: marketplaceUrl }, - { label: 'اتفاقية الترخيص' }, - { label: 'شروط الخدمة' }, - { label: 'الأمان' }, - { label: 'الامتثال' }, - { label: 'سياسة الخصوصية' }, - { label: 'سياسة ملفات الارتباط' }, - { label: 'برنامج الشركاء' }, + { label: 'من نحن', href: `${marketplaceUrl}/footer/about-us` }, + { label: 'شروط الاستخدام', href: `${marketplaceUrl}/footer/terms-of-service` }, + { label: 'الأمان', href: `${marketplaceUrl}/footer/security` }, + { label: 'الامتثال', href: `${marketplaceUrl}/footer/compliance` }, + { label: 'سياسة الخصوصية', href: `${marketplaceUrl}/footer/privacy-policy` }, + { label: 'سياسة ملفات تعريف الارتباط', href: `${marketplaceUrl}/footer/cookie-policy` }, ], secondary: [ - { label: 'النشرة البريدية' }, - { label: 'تواصل مع المبيعات', href: '/sign-up' }, - { label: 'مكاتبنا', href: marketplaceUrl }, + { label: 'النشرة الإخبارية', href: `${marketplaceUrl}/footer/newsletter` }, + { label: 'تواصل مع المبيعات', href: `${marketplaceUrl}/footer/contact-sales` }, + { label: 'مكاتبنا', href: `${marketplaceUrl}/footer/our-offices` }, ], localeLabel: 'NorthAfrica (Arabic)', rightsLabel: 'جميع الحقوق محفوظة.', @@ -72,19 +68,17 @@ function getFooterContent(language: DashboardLanguage): { default: return { primary: [ - { label: 'About us', href: marketplaceUrl }, - { label: 'EULA' }, - { label: 'Terms of service' }, - { label: 'Security' }, - { label: 'Compliance' }, - { label: 'Privacy policy' }, - { label: 'Cookie policy' }, - { label: 'Affiliate program' }, + { label: 'About Us', href: `${marketplaceUrl}/footer/about-us` }, + { label: 'Terms of Service', href: `${marketplaceUrl}/footer/terms-of-service` }, + { label: 'Security', href: `${marketplaceUrl}/footer/security` }, + { label: 'Compliance', href: `${marketplaceUrl}/footer/compliance` }, + { label: 'Privacy Policy', href: `${marketplaceUrl}/footer/privacy-policy` }, + { label: 'Cookie Policy', href: `${marketplaceUrl}/footer/cookie-policy` }, ], secondary: [ - { label: 'Newsletter' }, - { label: 'Contact sales', href: '/sign-up' }, - { label: 'Our offices', href: marketplaceUrl }, + { label: 'Newsletter', href: `${marketplaceUrl}/footer/newsletter` }, + { label: 'Contact Sales', href: `${marketplaceUrl}/footer/contact-sales` }, + { label: 'Our Offices', href: `${marketplaceUrl}/footer/our-offices` }, ], localeLabel: 'Global (English)', rightsLabel: 'All rights reserved.', diff --git a/apps/marketplace/src/app/footer/[slug]/page.tsx b/apps/marketplace/src/app/footer/[slug]/page.tsx new file mode 100644 index 0000000..7b837fa --- /dev/null +++ b/apps/marketplace/src/app/footer/[slug]/page.tsx @@ -0,0 +1,21 @@ +import { notFound } from 'next/navigation' +import FooterContentPage from '@/components/FooterContentPage' +import { footerPageSlugs, isFooterPageSlug } from '@/lib/footerContent' + +export function generateStaticParams() { + return footerPageSlugs.map((slug) => ({ slug })) +} + +export default function FooterPage({ + params, +}: { + params: { slug: string } +}) { + const { slug } = params + + if (!isFooterPageSlug(slug)) { + notFound() + } + + return +} diff --git a/apps/marketplace/src/components/FooterContentPage.tsx b/apps/marketplace/src/components/FooterContentPage.tsx new file mode 100644 index 0000000..b4d6ffc --- /dev/null +++ b/apps/marketplace/src/components/FooterContentPage.tsx @@ -0,0 +1,61 @@ +'use client' + +import { useMarketplacePreferences } from '@/components/MarketplaceShell' +import { type FooterPageSlug, getFooterPageContent } from '@/lib/footerContent' + +const pageMeta = { + en: { + kicker: 'Footer information', + cta: 'Need more details?', + support: 'Contact the RentalDriveGo team through our official channels for business, support, or partnership requests.', + }, + fr: { + kicker: 'Informations du pied de page', + cta: 'Besoin de plus de détails ?', + support: 'Contactez l’équipe RentalDriveGo via nos canaux officiels pour toute demande commerciale, support ou partenariat.', + }, + ar: { + kicker: 'معلومات التذييل', + cta: 'هل تحتاج إلى مزيد من التفاصيل؟', + support: 'تواصل مع فريق RentalDriveGo عبر القنوات الرسمية للاستفسارات التجارية أو الدعم أو الشراكات.', + }, +} as const + +export default function FooterContentPage({ slug }: { slug: FooterPageSlug }) { + const { language } = useMarketplacePreferences() + const content = getFooterPageContent(language, slug) + const meta = pageMeta[language] + const isArabic = language === 'ar' + + return ( +
+
+
+
+

+ {meta.kicker} +

+

+ {content.title} +

+
+ +
+ {content.paragraphs.map((paragraph) => ( +

+ {paragraph} +

+ ))} + +
+

+ {meta.cta} +

+

{meta.support}

+
+
+
+
+
+ ) +} diff --git a/apps/marketplace/src/components/MarketplaceShell.tsx b/apps/marketplace/src/components/MarketplaceShell.tsx index fc12e89..ba6073c 100644 --- a/apps/marketplace/src/components/MarketplaceShell.tsx +++ b/apps/marketplace/src/components/MarketplaceShell.tsx @@ -5,6 +5,7 @@ import Image from 'next/image' import Link from 'next/link' import { createContext, useContext, useEffect, useMemo, useRef, useState } from 'react' import { usePathname, useRouter } from 'next/navigation' +import { footerPageHref } from '@/lib/footerContent' import { MARKETPLACE_LANGUAGE_COOKIE, SHARED_LANGUAGE_COOKIE, isMarketplaceLanguage, type MarketplaceLanguage } from '@/lib/i18n' import { resolveBrowserAppUrl } from '@/lib/appUrls' import { SHARED_LANGUAGE_KEY, SHARED_THEME_KEY, readCurrentUserScopedPreference, readScopedPreference, writeScopedPreference } from '@/lib/preferences' @@ -94,19 +95,17 @@ function getFooterContent(language: MarketplaceLanguage): { case 'fr': return { primary: [ - { label: 'À propos', href: '/' }, - { label: 'CLUF' }, - { label: "Conditions d'utilisation" }, - { label: 'Sécurité' }, - { label: 'Conformité' }, - { label: 'Politique de confidentialité' }, - { label: 'Politique de cookies' }, - { label: "Programme d'affiliation" }, + { label: 'À propos de nous', href: footerPageHref['about-us'] }, + { label: 'Conditions d’utilisation', href: footerPageHref['terms-of-service'] }, + { label: 'Sécurité', href: footerPageHref.security }, + { label: 'Conformité', href: footerPageHref.compliance }, + { label: 'Politique de confidentialité', href: footerPageHref['privacy-policy'] }, + { label: 'Politique relative aux cookies', href: footerPageHref['cookie-policy'] }, ], secondary: [ - { label: 'Newsletter' }, - { label: 'Contacter les ventes', href: `${resolveBrowserAppUrl(process.env.NEXT_PUBLIC_DASHBOARD_URL ?? 'http://localhost:3001')}/sign-in` }, - { label: 'Nos bureaux', href: '/' }, + { label: 'Newsletter', href: footerPageHref.newsletter }, + { label: 'Contacter les ventes', href: footerPageHref['contact-sales'] }, + { label: 'Nos bureaux', href: footerPageHref['our-offices'] }, ], localeLabel: 'Europ (French)', rightsLabel: 'Tous droits réservés.', @@ -114,19 +113,17 @@ function getFooterContent(language: MarketplaceLanguage): { case 'ar': return { primary: [ - { label: 'من نحن', href: '/' }, - { label: 'اتفاقية الترخيص' }, - { label: 'شروط الخدمة' }, - { label: 'الأمان' }, - { label: 'الامتثال' }, - { label: 'سياسة الخصوصية' }, - { label: 'سياسة ملفات الارتباط' }, - { label: 'برنامج الشركاء' }, + { label: 'من نحن', href: footerPageHref['about-us'] }, + { label: 'شروط الاستخدام', href: footerPageHref['terms-of-service'] }, + { label: 'الأمان', href: footerPageHref.security }, + { label: 'الامتثال', href: footerPageHref.compliance }, + { label: 'سياسة الخصوصية', href: footerPageHref['privacy-policy'] }, + { label: 'سياسة ملفات تعريف الارتباط', href: footerPageHref['cookie-policy'] }, ], secondary: [ - { label: 'النشرة البريدية' }, - { label: 'تواصل مع المبيعات', href: `${resolveBrowserAppUrl(process.env.NEXT_PUBLIC_DASHBOARD_URL ?? 'http://localhost:3001')}/sign-in` }, - { label: 'مكاتبنا', href: '/' }, + { label: 'النشرة الإخبارية', href: footerPageHref.newsletter }, + { label: 'تواصل مع المبيعات', href: footerPageHref['contact-sales'] }, + { label: 'مكاتبنا', href: footerPageHref['our-offices'] }, ], localeLabel: 'NorthAfrica (Arabic)', rightsLabel: 'جميع الحقوق محفوظة.', @@ -135,19 +132,17 @@ function getFooterContent(language: MarketplaceLanguage): { default: return { primary: [ - { label: 'About us', href: '/' }, - { label: 'EULA' }, - { label: 'Terms of service' }, - { label: 'Security' }, - { label: 'Compliance' }, - { label: 'Privacy policy' }, - { label: 'Cookie policy' }, - { label: 'Affiliate program' }, + { label: 'About Us', href: footerPageHref['about-us'] }, + { label: 'Terms of Service', href: footerPageHref['terms-of-service'] }, + { label: 'Security', href: footerPageHref.security }, + { label: 'Compliance', href: footerPageHref.compliance }, + { label: 'Privacy Policy', href: footerPageHref['privacy-policy'] }, + { label: 'Cookie Policy', href: footerPageHref['cookie-policy'] }, ], secondary: [ - { label: 'Newsletter' }, - { label: 'Contact sales', href: `${resolveBrowserAppUrl(process.env.NEXT_PUBLIC_DASHBOARD_URL ?? 'http://localhost:3001')}/sign-in` }, - { label: 'Our offices', href: '/' }, + { label: 'Newsletter', href: footerPageHref.newsletter }, + { label: 'Contact Sales', href: footerPageHref['contact-sales'] }, + { label: 'Our Offices', href: footerPageHref['our-offices'] }, ], localeLabel: 'Global (English)', rightsLabel: 'All rights reserved.', diff --git a/apps/marketplace/src/lib/footerContent.ts b/apps/marketplace/src/lib/footerContent.ts new file mode 100644 index 0000000..c19ba07 --- /dev/null +++ b/apps/marketplace/src/lib/footerContent.ts @@ -0,0 +1,237 @@ +import type { MarketplaceLanguage } from './i18n' + +export const footerPageSlugs = [ + 'about-us', + 'terms-of-service', + 'security', + 'compliance', + 'privacy-policy', + 'cookie-policy', + 'newsletter', + 'contact-sales', + 'our-offices', +] as const + +export type FooterPageSlug = (typeof footerPageSlugs)[number] + +export type FooterPageContent = { + title: string + paragraphs: string[] +} + +export const footerPageHref: Record = { + 'about-us': '/footer/about-us', + 'terms-of-service': '/footer/terms-of-service', + security: '/footer/security', + compliance: '/footer/compliance', + 'privacy-policy': '/footer/privacy-policy', + 'cookie-policy': '/footer/cookie-policy', + newsletter: '/footer/newsletter', + 'contact-sales': '/footer/contact-sales', + 'our-offices': '/footer/our-offices', +} + +const footerContent: Record> = { + en: { + 'about-us': { + title: 'About Us', + paragraphs: [ + 'RentalDriveGo helps car rental businesses streamline operations, manage vehicle fleets, and grow reservations through one powerful platform. Our tools are designed to simplify fleet tracking, booking management, customer reservations, payments, and day-to-day rental operations so companies can focus on delivering exceptional service instead of drowning in spreadsheets and phone calls.', + 'Whether you operate a small local rental agency or a large multi-location fleet, RentalDriveGo provides the technology to help you scale efficiently and serve customers with confidence.', + ], + }, + 'terms-of-service': { + title: 'Terms of Service', + paragraphs: [ + 'By using RentalDriveGo, you agree to comply with our platform policies, usage guidelines, and applicable laws. Our services are intended for legitimate car rental businesses and their authorized users. Users are responsible for maintaining account security, providing accurate business information, and using the platform responsibly.', + 'RentalDriveGo reserves the right to suspend accounts involved in fraudulent activity, misuse, or violations of these terms.', + ], + }, + security: { + title: 'Security', + paragraphs: [ + 'RentalDriveGo takes security seriously. We use modern encryption standards, secure cloud infrastructure, and continuous monitoring to help protect your business data, customer information, and reservation records.', + 'Our platform is built with security best practices to minimize risks and ensure reliable system performance.', + ], + }, + compliance: { + title: 'Compliance', + paragraphs: [ + 'RentalDriveGo is committed to operating in accordance with industry standards and applicable privacy and data protection regulations. We continuously review our systems and operational practices to maintain compliance, security, and transparency for our customers and partners.', + ], + }, + 'privacy-policy': { + title: 'Privacy Policy', + paragraphs: [ + 'Your privacy matters to us. RentalDriveGo collects only the information necessary to provide and improve our services, including fleet management tools, booking systems, and customer support.', + 'We do not sell personal information to third parties. Data is securely stored and processed in accordance with applicable privacy laws and industry standards.', + ], + }, + 'cookie-policy': { + title: 'Cookie Policy', + paragraphs: [ + 'RentalDriveGo uses cookies and similar technologies to improve website functionality, analyze traffic, remember user preferences, and enhance the overall user experience.', + 'By continuing to use our website, you consent to the use of cookies in accordance with this policy.', + ], + }, + newsletter: { + title: 'Newsletter', + paragraphs: [ + 'Stay updated with the latest industry insights, product updates, feature releases, and fleet management tips from RentalDriveGo.', + 'Subscribe to our newsletter and receive helpful resources designed to help car rental businesses grow smarter and operate more efficiently.', + ], + }, + 'contact-sales': { + title: 'Contact Sales', + paragraphs: [ + 'Want to see how RentalDriveGo can transform your rental operations? Our sales team is ready to help you explore the right solution for your business.', + 'Contact us to schedule a demo, discuss pricing, or learn more about our fleet management and reservation platform.', + ], + }, + 'our-offices': { + title: 'Our Offices', + paragraphs: [ + 'RentalDriveGo serves customers globally through a distributed team and partner network dedicated to supporting modern car rental businesses.', + 'For business inquiries, partnerships, or support requests, please contact our team through our official channels.', + ], + }, + }, + fr: { + 'about-us': { + title: 'À propos de nous', + paragraphs: [ + 'RentalDriveGo aide les entreprises de location de voitures à simplifier leurs opérations, gérer leurs flottes et augmenter leurs réservations grâce à une plateforme complète. Nos outils permettent de gérer les véhicules, les réservations, les paiements et les opérations quotidiennes de manière efficace et centralisée.', + 'Que vous soyez une petite agence locale ou une grande entreprise multi-sites, RentalDriveGo vous aide à développer votre activité avec des solutions modernes et fiables.', + ], + }, + 'terms-of-service': { + title: 'Conditions d’utilisation', + paragraphs: [ + 'En utilisant RentalDriveGo, vous acceptez de respecter nos politiques, nos règles d’utilisation et les lois applicables. Nos services sont destinés aux entreprises de location de voitures et à leurs utilisateurs autorisés.', + 'RentalDriveGo se réserve le droit de suspendre tout compte impliqué dans une activité frauduleuse ou une violation des présentes conditions.', + ], + }, + security: { + title: 'Sécurité', + paragraphs: [ + 'RentalDriveGo applique des standards de sécurité modernes afin de protéger les données de votre entreprise, les informations de vos clients et vos réservations.', + 'Notre plateforme utilise le chiffrement, une infrastructure cloud sécurisée et une surveillance continue afin d’assurer la confidentialité et la fiabilité des services.', + ], + }, + compliance: { + title: 'Conformité', + paragraphs: [ + 'RentalDriveGo s’engage à respecter les réglementations applicables ainsi que les standards du secteur concernant la protection des données et la sécurité.', + 'Nous améliorons continuellement nos systèmes afin de garantir transparence, conformité et confiance à nos clients.', + ], + }, + 'privacy-policy': { + title: 'Politique de confidentialité', + paragraphs: [ + 'Votre confidentialité est importante pour nous. RentalDriveGo collecte uniquement les informations nécessaires au fonctionnement et à l’amélioration de ses services.', + 'Nous ne vendons pas vos données personnelles à des tiers. Les données sont stockées et traitées de manière sécurisée conformément aux réglementations en vigueur.', + ], + }, + 'cookie-policy': { + title: 'Politique relative aux cookies', + paragraphs: [ + 'RentalDriveGo utilise des cookies et des technologies similaires pour améliorer l’expérience utilisateur, analyser le trafic du site et mémoriser vos préférences.', + 'En continuant à utiliser notre site web, vous acceptez notre utilisation des cookies.', + ], + }, + newsletter: { + title: 'Newsletter', + paragraphs: [ + 'Recevez les dernières actualités, mises à jour produits, conseils de gestion de flotte et nouveautés de RentalDriveGo.', + 'Abonnez-vous à notre newsletter pour rester informé et développer votre activité plus efficacement.', + ], + }, + 'contact-sales': { + title: 'Contacter les ventes', + paragraphs: [ + 'Vous souhaitez découvrir comment RentalDriveGo peut améliorer vos opérations de location de voitures ?', + 'Notre équipe commerciale est disponible pour organiser une démonstration, répondre à vos questions et vous proposer la solution adaptée à votre entreprise.', + ], + }, + 'our-offices': { + title: 'Nos bureaux', + paragraphs: [ + 'RentalDriveGo accompagne des entreprises de location de voitures à travers le monde grâce à une équipe distribuée et un réseau de partenaires spécialisés.', + 'Pour toute demande commerciale ou partenariat, veuillez contacter notre équipe via nos canaux officiels.', + ], + }, + }, + ar: { + 'about-us': { + title: 'من نحن', + paragraphs: [ + 'تساعد منصة RentalDriveGo شركات تأجير السيارات على إدارة عملياتها بسهولة، وتنظيم أساطيلها، وزيادة الحجوزات من خلال منصة متكاملة وحديثة. توفر أدواتنا حلولاً لإدارة المركبات والحجوزات والمدفوعات والعمليات اليومية بكفاءة عالية.', + 'سواء كنت تدير شركة محلية صغيرة أو أسطولاً كبيراً متعدد الفروع، فإن RentalDriveGo توفر لك التكنولوجيا التي تساعدك على النمو وإدارة أعمالك بثقة.', + ], + }, + 'terms-of-service': { + title: 'شروط الاستخدام', + paragraphs: [ + 'باستخدامك لمنصة RentalDriveGo، فإنك توافق على الالتزام بسياسات المنصة والقوانين المعمول بها. خدماتنا مخصصة لشركات تأجير السيارات والمستخدمين المصرح لهم فقط.', + 'تحتفظ RentalDriveGo بحق تعليق أي حساب يشارك في أنشطة احتيالية أو يخالف شروط الاستخدام.', + ], + }, + security: { + title: 'الأمان', + paragraphs: [ + 'تلتزم RentalDriveGo بتوفير أعلى معايير الأمان لحماية بيانات شركتك ومعلومات عملائك وسجلات الحجوزات.', + 'تستخدم منصتنا تقنيات تشفير حديثة وبنية سحابية آمنة وأنظمة مراقبة مستمرة لضمان حماية البيانات واستقرار الخدمة.', + ], + }, + compliance: { + title: 'الامتثال', + paragraphs: [ + 'تلتزم RentalDriveGo بالامتثال للمعايير واللوائح المعمول بها المتعلقة بحماية البيانات والخصوصية والأمان.', + 'نعمل باستمرار على تطوير أنظمتنا وإجراءاتنا لضمان الشفافية والثقة لعملائنا وشركائنا.', + ], + }, + 'privacy-policy': { + title: 'سياسة الخصوصية', + paragraphs: [ + 'خصوصيتك مهمة بالنسبة لنا. تقوم RentalDriveGo بجمع المعلومات الضرورية فقط لتقديم خدماتها وتحسين تجربة المستخدم.', + 'نحن لا نقوم ببيع البيانات الشخصية لأي طرف ثالث، ويتم تخزين البيانات ومعالجتها بشكل آمن وفقاً للقوانين المعمول بها.', + ], + }, + 'cookie-policy': { + title: 'سياسة ملفات تعريف الارتباط', + paragraphs: [ + 'تستخدم RentalDriveGo ملفات تعريف الارتباط وتقنيات مشابهة لتحسين أداء الموقع وتحليل الاستخدام وتخصيص تجربة المستخدم.', + 'باستمرارك في استخدام الموقع، فإنك توافق على استخدامنا لملفات تعريف الارتباط.', + ], + }, + newsletter: { + title: 'النشرة الإخبارية', + paragraphs: [ + 'ابقَ على اطلاع بآخر تحديثات المنصة وأخبار القطاع ونصائح إدارة الأساطيل من RentalDriveGo.', + 'اشترك في نشرتنا الإخبارية للحصول على محتوى مفيد يساعدك على تطوير أعمالك بكفاءة أكبر.', + ], + }, + 'contact-sales': { + title: 'تواصل مع المبيعات', + paragraphs: [ + 'هل ترغب في معرفة كيف يمكن لـ RentalDriveGo تطوير عمليات شركتك؟', + 'فريق المبيعات لدينا جاهز لتقديم عرض توضيحي والإجابة على استفساراتك ومساعدتك في اختيار الحل المناسب لاحتياجاتك.', + ], + }, + 'our-offices': { + title: 'مكاتبنا', + paragraphs: [ + 'تخدم RentalDriveGo شركات تأجير السيارات حول العالم من خلال فريق عمل وشبكة شركاء متخصصين.', + 'للاستفسارات التجارية أو طلبات الشراكة، يرجى التواصل معنا عبر القنوات الرسمية.', + ], + }, + }, +} + +export function isFooterPageSlug(value: string): value is FooterPageSlug { + return footerPageSlugs.includes(value as FooterPageSlug) +} + +export function getFooterPageContent(language: MarketplaceLanguage, slug: FooterPageSlug): FooterPageContent { + return footerContent[language][slug] +}