const { useState, useEffect } = React; /* ========================================================= TOPBAR + MOBILE NAV DRAWER ========================================================= */ window.Topbar = function Topbar({ lang, setLang }) { const [menuOpen, setMenuOpen] = useState(false); useEffect(() => { document.body.style.overflow = menuOpen ? 'hidden' : ''; return () => { document.body.style.overflow = ''; }; }, [menuOpen]); const close = () => setMenuOpen(false); return ( <>
F Folio.LTD
{['UA','RU'].map(l => ( ))}
+380 00 000 00 00
{t('cta_pick')}
F FolioLTD
{['UA','RU'].map(l => ( ))}
{[ ['#jobs',t('nav_jobs')],['#countries',t('nav_countries')],['#services',t('nav_services')], ['#testimonials',t('nav_reviews')],['#faq',t('nav_faq')],['#contacts',t('nav_contacts')], ].map(([href, label]) => ( {label} ))}
+380 00 000 00 00 {t('cta_pick_vacancy')}
Telegram Viber
); }; /* ========================================================= HERO ========================================================= */ window.Hero = function Hero() { return (
{t('hero_pill_new')} {t('hero_pill_text')}{t('hero_pill_rate')}

{t('hero_h1_a')} {t('hero_h1_em')}
{t('hero_h1_b')}

{t('hero_sub')}

  • {t('hero_perk1')}
  • {t('hero_perk2')}
  • {t('hero_perk3')}
{t('trust_free')} {t('trust_speed')} {t('trust_employers')}
{t('hero_alt')}/
🇵🇱
{t('hero_new_vacancy')} {t('hero_new_meta')}
Andrew {t('hero_left')} {t('hero_left_meta')}
10K+
{t('hero_stat_label')}
+342 {t('hero_this_month')}
6+
{t('metric1')}
10K+
{t('metric2')}
20+
{t('metric3')}
15хв
{t('metric4')}
); }; /* ========================================================= LOGOS ========================================================= */ window.LogosStrip = function LogosStrip() { return (

{t('logos_label')}

{['EUROLOGIC','WARTEX CZ','NORDFARM','ROTTAPACK','MEGAWERK','KLINDORF'].map(n => (
{n}
))}
); }; /* ========================================================= BENEFITS ========================================================= */ window.Benefits = function Benefits() { const items = [ { num:'01', icon:'shield', title:t('ben1_t'), desc:t('ben1_d') }, { num:'02', icon:'check', title:t('ben2_t'), desc:t('ben2_d') }, { num:'03', icon:'file', title:t('ben3_t'), desc:t('ben3_d') }, { num:'04', icon:'home', title:t('ben4_t'), desc:t('ben4_d') }, { num:'05', icon:'chat', title:t('ben5_t'), desc:t('ben5_d') }, { num:'06', icon:'zap', title:t('ben6_t'), desc:t('ben6_d') }, ]; return (
{t('ben_eyebrow')}

{t('ben_h2_a')} {t('ben_h2_em')} {t('ben_h2_b')}

{t('ben_sub')}

{items.map((b, i) => (
— {b.num}

{b.title}

{b.desc}

))}
); }; /* ========================================================= URGENT JOBS ========================================================= */ window.UrgentJobs = function UrgentJobs() { const lang = window.getLang(); const cn = window.COUNTRY_NAMES[lang] || window.COUNTRY_NAMES.UA; return (
{t('jobs_eyebrow')}

{t('jobs_h2_a')} {t('jobs_h2_em')}

{t('jobs_sub')}

{t('jobs_all')}
{window.JOBS.map((j, i) => { const code = {'Польща':'PL','Чехія':'CZ','Німеччина':'DE','Нідерланди':'NL','Бельгія':'BE','Іспанія':'ES'}[j.country] || 'PL'; const cName = cn[code] || j.country; return (
{j.title}
{j.badges.slice(0,2).map(([t2,l]) => ( {l} ))}
{j.flag}
{j.title}
{cName} · {j.city}
{j.rate} {j.unit}
{t('job_schedule')}{j.schedule.split(' · ')[0]}
{t('job_days')}{j.schedule.split(' · ')[1] || '5'}
{t('job_housing')}{j.housing.includes('Житло') || j.housing.includes('Жильё') ? t('job_yes') : t('job_help')}
{t('job_docs')}{j.docs.split(' ')[0]}
{t('job_more')} {t('job_apply')}
); })}
); };