function PersonaCard({ num, title, body, stat, statLabel, photo, delay }) {
return (
{photo ? (

) : (
Photo placeholder
)}
{num}
{stat ? (
{stat}
{statLabel}
) : null}
{title}
{body}
);
}
function WhoItsFor() {
const t = window.t;
const lang = window.__LANG__ || 'el';
const personas = [
{
num: '01',
title: t('who.p1t'),
body: t('who.p1b'),
stat: t('who.p1s'),
statLabel: t('who.p1l'),
photo: 'commuters.jpg',
delay: 0
},
{
num: '02',
title: t('who.p2t'),
body: t('who.p2b'),
stat: t('who.p2s'),
statLabel: t('who.p2l'),
photo: 'young_professionals.jpg',
delay: 90
},
{
num: '03',
title: t('who.p3t'),
body: t('who.p3b'),
stat: t('who.p3s'),
statLabel: t('who.p3l'),
photo: 'pet_travelers.jpg',
delay: 180
},
];
const headerTitle = t('who.title') || t('who.h2') || 'Φτιαγμένο για το πώς ταξιδεύουμε στην Ελλάδα!';
const headerLead = t('who.sub') || t('who.lead') || 'Το ellaride λύνει ανάγκες μετακίνησης που τα σταθερά δρομολόγια και το ακριβό αυτοκίνητο δεν λύνουν.';
return (
{/* Header */}
{t('who.eyebrow') || 'ΓΙΑ ΠΟΙΟΥΣ'}
{headerTitle}
{lang === 'el' ? (
Το ellaride λύνει ανάγκες μετακίνησης που τα σταθερά δρομολόγια και το ακριβό αυτοκίνητο δεν λύνουν.
) : (
ellaride serves real mobility needs that rigid schedules and high taxi fares don’t cover.
)}
{/* Cards Grid */}
{personas.map((p) => (
))}
);
}
window.WhoItsFor = WhoItsFor;