Files
NexStudio/src/data/home/navigation.ts
Javaxman 0714ec1335 Avvia i18n reale della home su IT EN TH.
Introduco contenuti localizzati per menu, footer e principali sezioni della homepage, includendo il form contatti e i messaggi client per mantenere coerenza UX tra le tre lingue.

Made-with: Cursor
2026-04-27 09:12:00 +02:00

78 lines
2.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { chat } from './chat';
export type SupportedLocale = 'it' | 'en' | 'th';
const navigationByLocale = {
it: {
brandName: 'NexStudio',
items: [
{ label: 'Prodotti', href: '/#prodotti' },
{ label: 'Servizi', href: '/#servizi' },
{ label: 'Stack', href: '/#stack' },
{ label: 'FAQ', href: '/#faq' },
{ label: 'Contattaci', href: '/#contatti' },
] as const,
cta: {
label: 'Chattiamo',
linkTitle: chat.linkTitle,
ariaLabel:
'Richiedi accesso alla chat NexStudio: stato operatore e chatbot, identificazione con email (link o codice) prima della sessione.',
},
labels: {
mainNavAria: 'Principale',
mobileNavAria: 'Navigazione mobile',
languageSelectorAria: 'Seleziona lingua',
openMenuAria: 'Apri menu',
},
},
en: {
brandName: 'NexStudio',
items: [
{ label: 'Products', href: '/#prodotti' },
{ label: 'Services', href: '/#servizi' },
{ label: 'Stack', href: '/#stack' },
{ label: 'FAQ', href: '/#faq' },
{ label: 'Contact', href: '/#contatti' },
] as const,
cta: {
label: 'Lets chat',
linkTitle: 'Open NexStudio chat access request.',
ariaLabel:
'Request access to NexStudio chat: operator and chatbot availability, email verification link or code before session start.',
},
labels: {
mainNavAria: 'Main navigation',
mobileNavAria: 'Mobile navigation',
languageSelectorAria: 'Select language',
openMenuAria: 'Open menu',
},
},
th: {
brandName: 'NexStudio',
items: [
{ label: 'ผลิตภัณฑ์', href: '/#prodotti' },
{ label: 'บริการ', href: '/#servizi' },
{ label: 'สแตก', href: '/#stack' },
{ label: 'คำถามที่พบบ่อย', href: '/#faq' },
{ label: 'ติดต่อเรา', href: '/#contatti' },
] as const,
cta: {
label: 'เริ่มแชท',
linkTitle: 'เปิดคำขอเข้าใช้งานแชทของ NexStudio',
ariaLabel:
'ขอเข้าใช้งานแชท NexStudio: ตรวจสอบสถานะผู้ดูแลและแชทบอต พร้อมยืนยันตัวตนด้วยอีเมลก่อนเริ่มใช้งาน',
},
labels: {
mainNavAria: 'เมนูหลัก',
mobileNavAria: 'เมนูบนมือถือ',
languageSelectorAria: 'เลือกภาษา',
openMenuAria: 'เปิดเมนู',
},
},
} as const;
export const getNavigation = (locale: SupportedLocale) => navigationByLocale[locale];
/** Retro-compatibilità: fallback italiano. */
export const navigation = navigationByLocale.it;