+
{(['MAD', 'USD', 'EUR'] as Currency[]).map((c) => (
{billing === 'annual' && (
-
+
{dict.youSave} {savings}% {dict.withAnnual}
)}
@@ -193,34 +193,34 @@ export default function PricingClient() {
key={plan.key}
className={`card relative flex flex-col overflow-hidden ${
plan.highlight
- ? 'border-amber-400 ring-2 ring-amber-400 ring-offset-2'
+ ? 'border-amber-400 ring-2 ring-amber-400 ring-offset-2 dark:ring-offset-stone-950'
: ''
}`}
>
{plan.highlight && (
-
+
{dict.mostPopular}
)}
-
+
{plan.name}
-
{plan.tagline}
+
{plan.tagline}
-
+
{currency === 'MAD' ? displayPrice : `${sym}${displayPrice}`}
{currency === 'MAD' && (
- {sym}
+ {sym}
)}
- {dict.perMonth}
+ {dict.perMonth}
{billing === 'annual' && (
-
+
{dict.billedAs}{' '}
{currency === 'MAD'
? `${price.annual} ${sym}`
@@ -232,9 +232,9 @@ export default function PricingClient() {
{plan.features.map((f) => (
- -
+
-
{/* Footer note */}
-
{dict.footer}
+
{dict.footer}
)
}
diff --git a/apps/marketplace/src/app/(public)/pricing/PricingPageContent.tsx b/apps/marketplace/src/app/(public)/pricing/PricingPageContent.tsx
index 867d097..bdacd28 100644
--- a/apps/marketplace/src/app/(public)/pricing/PricingPageContent.tsx
+++ b/apps/marketplace/src/app/(public)/pricing/PricingPageContent.tsx
@@ -23,8 +23,8 @@ const copy = {
faq: 'Questions fréquentes',
items: [
['Puis-je changer de formule plus tard ?', 'Oui. Vous pouvez passer à une formule supérieure ou inférieure à tout moment. Les changements prennent effet au cycle de facturation suivant.'],
- ['Qu’est-ce qui compte comme véhicule ?', 'Tout véhicule ajouté à votre tableau de bord de flotte, qu’il soit actif ou non.'],
- ['Y a-t-il des frais d’installation ?', 'Aucun frais d’installation. Vous payez uniquement l’abonnement mensuel ou annuel.'],
+ ["Qu'est-ce qui compte comme véhicule ?", "Tout véhicule ajouté à votre tableau de bord de flotte, qu'il soit actif ou non."],
+ ["Y a-t-il des frais d'installation ?", "Aucun frais d'installation. Vous payez uniquement l'abonnement mensuel ou annuel."],
['Comment fonctionne la visibilité marketplace ?', 'Toutes les formules payantes incluent une présence publique sur RentalDriveGo. Les clients découvrent votre flotte puis sont redirigés vers votre site de réservation.'],
],
},
@@ -47,24 +47,24 @@ export default function PricingPageContent() {
const dict = copy[language]
return (
-
+
-
{dict.kicker}
-
{dict.title}
-
{dict.body}
+
{dict.kicker}
+
{dict.title}
+
{dict.body}
-
-
{dict.faq}
+
+
{dict.faq}
{dict.items.map(([q, a]) => (
))}
diff --git a/apps/marketplace/src/app/(public)/review/page.tsx b/apps/marketplace/src/app/(public)/review/page.tsx
index 91df775..0a4203f 100644
--- a/apps/marketplace/src/app/(public)/review/page.tsx
+++ b/apps/marketplace/src/app/(public)/review/page.tsx
@@ -18,7 +18,7 @@ function StarRating({ value, onChange, label }: { value: number; onChange: (v: n
const [hovered, setHovered] = useState(0)
return (
-
{label}
+
{label}
{[1, 2, 3, 4, 5].map((n) => (
@@ -101,18 +101,18 @@ function ReviewPageContent() {
if (loadState === 'loading') {
return (
-
- Loading…
+
+ Loading…
)
}
if (loadState === 'invalid') {
return (
-
-
-
Link not found
-
This review link is invalid or has already been used.
+
+
+
Link not found
+
This review link is invalid or has already been used.
)
@@ -120,13 +120,13 @@ function ReviewPageContent() {
if (loadState === 'already_reviewed') {
return (
-
-
-
-
+
+
+
-
Already reviewed
-
You have already submitted a review for this rental. Thank you!
+
Already reviewed
+
You have already submitted a review for this rental. Thank you!
)
@@ -134,60 +134,60 @@ function ReviewPageContent() {
if (submitState === 'done') {
return (
-
-
-
-
+
+
+
-
Thank you!
-
Your review has been submitted and will be visible on {info?.companyName}'s profile.
+
Thank you!
+
Your review has been submitted and will be visible on {info?.companyName}'s profile.
)
}
return (
-
-
+
+
{/* Header */}
-
+
{info?.vehiclePhoto ? (
// eslint-disable-next-line @next/next/no-img-element
-

+

) : (
-
+
)}
-
{info?.companyName}
-
{info?.vehicle}
-
How was your experience?
+
{info?.companyName}
+
{info?.vehicle}
+
How was your experience?
-