// i18n.jsx — Translation dictionaries and useT() hook for ru/en/es
window.LANGS = [
{ id: 'ru', label: 'RU' },
{ id: 'en', label: 'EN' },
{ id: 'es', label: 'ES' },
];
window.DICT = {
ru: {
nav: { projects: 'Проекты', services: 'Услуги', process: 'Процесс', faq: 'FAQ', cta: 'Связаться', studio: 'Студия дизайна' },
hero: {
titleL1: 'Компо', titleL2: 'нент',
sub: 'Студия дизайна и разработки, готовая к\u00A0реализации проектов любой сложности — от\u00A0айдентики до\u00A0полноценных сервисов.',
ctaStart: 'Обсудить проект', ctaWorks: 'Смотреть работы',
stats: [
{ num: '82+', lbl: 'Реализованных проектов с\u00A02019 года' },
{ num: '14', lbl: 'Наград и\u00A0признаний индустрии' },
{ num: '06', lbl: 'Дизайнеров и\u00A0разработчиков в\u00A0команде' },
{ num: '98%', lbl: 'Клиентов возвращаются с\u00A0новыми задачами' },
],
},
marquee: ['Брендинг','Веб-дизайн','Интерфейсы','Типографика','Анимация','Айдентика','Разработка и ИИ'],
projects: {
eyebrow: 'Проекты', titleA: 'Избранные', titleB: 'работы', showMore: 'Показать ещё',
allProjects: 'Все проекты', allTitleA: 'Все', allTitleB: 'проекты', home: 'На главную',
filters: { all: 'Все', uxui: 'UX/UI', dev: 'Разработка', landings: 'Лендинги', identity: 'Айдентика', presentations: 'Презентации' },
cats: { uxui: 'UX/UI', dev: 'Разработка', landings: 'Лендинг', identity: 'Айдентика', presentations: 'Презентации' },
names: {
greenclient: 'Сервис проверки контрагентов', phodo: 'Phodo', kovry: 'Сибирские ковры', lamoda: 'Lamoda · Продавец', colorforce: 'ColorForce',
misis: 'МИСИС · Mini App', innovators: 'Академия инноваторов', mpit: 'МПИТ',
course: 'Онлайн-курс', quantum: 'Samarkand Quantum Centre', easysale: 'EasySale',
},
},
services: {
eyebrow: 'Услуги', titleA: 'Что мы', titleB: 'делаем',
items: [
{ title: 'Айдентика', desc: 'Логотипы, фирменные стили и брендбуки, которые работают вдолгую.' },
{ title: 'Веб-дизайн', desc: 'Сайты и интерфейсы — точные, быстрые, продуманные до мелочей.' },
{ title: 'UX/UI дизайн', desc: 'Продуктовые интерфейсы и сценарии, которые выдерживают тесты с пользователями.' },
{ title: 'Разработка', desc: 'От лендингов до сложных продуктов — пишем чистый код, который масштабируется.' },
{ title: 'СММ', desc: 'Стратегия, контент и ведение — соцсети, которые работают на продажи и репутацию.' },
{ title: 'Аутсорс', desc: 'Подключаемся к вашей команде на спринты — дизайнером, разработчиком или продюсером.' },
{ title: 'ИИ-проекты', desc: 'ИИ-видео и ИИ-реклама — генеративные ролики, аватары и кампании.' },
],
},
about: {
eyebrow: 'О студии', titleA: 'Маленькая', titleB: 'команда',
statement: 'Мы — шесть человек, которые предпочитают сделать одну хорошую вещь, чем десять громких. Работаем напрямую с основателями: без аккаунт-менеджеров, без презентаций, без театра.',
meta: [
{ lbl: 'Локация', val: 'Москва · удалённо' },
{ lbl: 'Часовой пояс', val: 'MSK · UTC+3' },
{ lbl: 'Языки', val: 'RU · EN · DE' },
{ lbl: 'Статус', val: 'Свободны со 2 кв. 2026' },
],
stats: [
{ num: '82+', lbl: 'Запущенных систем айдентики и\u00A0продуктов' },
{ num: '14', lbl: 'Профессиональных наград индустрии' },
{ num: '06', lbl: 'Дизайнеров и\u00A0инженеров под одной крышей' },
],
},
process: {
eyebrow: 'Наш процесс', titleA: 'Семь', titleB: 'шагов',
stepLabel: 'Шаг',
steps: [
{ t: 'Заявка', d: 'Клиент оставляет заявку на сайте или в мессенджере, кратко описывая задачу и контакты. Мы фиксируем запрос и связываемся в течение рабочего дня.', dur: '1 день' },
{ t: 'Бриф и\u00A0знакомство', d: 'Присылаем бриф для более подробного описания проекта и созваниваемся на 20–30 минут, чтобы обсудить задачи и познакомиться с командой.', dur: '30 мин.' },
{ t: 'КП и\u00a0договор', d: 'Готовим детальное КП с объёмом работ, этапами и стоимостью, после согласования подписываем договор и принимаем предоплату.', dur: '3–5 дн.' },
{ t: 'Исследование', d: 'Изучаем нишу, конкурентов и целевую аудиторию, чтобы опираться на данные, а не на догадки.', dur: '1–2 нед.' },
{ t: 'Поэтапный дизайн', d: 'Разрабатываем концепции и улучшаем макеты пошагово, показывая промежуточные результаты и обсуждая направление с вами.', dur: '4–8 нед.' },
{ t: '2 итерации правок', d: 'Вы даёте обратную связь, а мы вносим до двух раундов правок, доводя проект до финального вида без бесконечных переделок.', dur: '1–2 нед.' },
{ t: 'Ваш проект готов', d: 'Передаём исходники и все необходимые материалы, помогаем с запуском и остаёмся на связи для дальнейшей поддержки.', dur: 'запуск' },
],
},
faq: {
eyebrow: 'Вопросы', titleA: 'Часто', titleB: 'спрашивают',
items: [
{ q: 'Как обычно начинается работа?', a: 'После заявки на сайте мы связываемся с вами, присылаем бриф и ставим созвон-знакомство. Кстати, быстрее отвечаем на заявки в Telegram ;) — @componentstudio' },
{ q: 'А если проект срочный?', a: 'В случае срочных проектов готовы взяться в течение 10–15 минут — сразу после созвона и оперативной подготовки документов. Также берём ночные проекты: если нужно «к утру», можете положиться на нашу команду :) Менеджеры отслеживают заявки 24/7.' },
{ q: 'Берёте ли разовые задачи?', a: 'Да, наша команда берёт на себя как крупные проекты, так и самые маленькие задачи. Конечно, с одинаково серьёзным подходом.' },
{ q: 'Где вы находитесь?', a: 'У нас распределённая команда по России и Европе. Большая часть команды — из Москвы и Санкт-Петербурга.' },
{ q: 'Можно нанять одного человека из команды?', a: 'Нет, мы не являемся агрегатором фрилансеров, поэтому за работу над проектом берётся целая команда. Однако мы всегда учитываем пожелания по профилю и опыту работы.' },
{ q: 'Обязательно ли выкладывать результаты на сайт?', a: 'Нет, работа ведётся конфиденциально, а кейсы выкладываются по согласованию с заказчиком.' },
{ q: 'Есть ли скидки и индивидуальные условия для стартапов и малого бизнеса?', a: 'Мы предоставляем постоянную скидку 15% для резидентов Академии инноваторов и обсуждаем индивидуальные условия по постоплате с гранта. Для физлиц возможна оплата частями и доступна рассрочка от Сбера. Также мы регулярно помогаем стартапам и малому бизнесу разработать первую айдентику и сайт по себестоимости в рамках программы стажировок в студии.' },
],
},
contact: {
title: 'Обсудить проект',
sub: 'Поможем найти сильное визуальное решение и спланировать разработку до запуска в продакшен',
fields: { email: 'Введите почту / ник в telegram', name: 'Введите ФИО', promo: 'Введите промокод', descr: 'Введите описание проекта' },
submit: 'Отправить',
sending: 'Отправляем…',
success: 'Заявка отправлена! Мы свяжемся с вами в ближайшее время.',
error: 'Не удалось отправить. Попробуйте ещё раз или напишите нам на почту.',
legal: 'Нажимая кнопку «Отправить», вы соглашаетесь с политикой обработки персональных данных.',
},
contactsBlock: {
title: 'Контакты',
emailLabel: 'Почта',
email: 'info@componentstudio.ru',
socialTitle: 'Соцсети',
connectTitle: 'Связаться',
careersLabel: 'Карьера',
careersLink: 'Работа у нас',
},
footer: {
contact: {
title: 'Контакты',
rows: [
{ label: 'Обсудить проект', email: 'info@componentstudio.ru' },
{ label: 'Хотите у\u00A0нас работать?', email: 'hr@componentstudio.ru' },
{ label: 'Хотите сотрудничать?', email: 'smm@componentstudio.ru' },
],
},
studio: {
title: 'Студия',
lines: [
'Москва,',
'Санкт-Петербург',
],
legal: [
'ИП\u00A0Мелихова Д.\u00A0О.',
'ОГРНИП 325100000002777',
],
privacy: { label: 'Политика конфиденциальности', href: 'Privacy.html' },
},
social: {
title: 'Соцсети',
links: [
{ label: 'Telegram', href: 'https://t.me/componentstudio' },
{ label: 'Вконтакте', href: 'https://vk.com/componentstudio' },
],
},
navTitle: 'Навигация',
copyright: '2026 Компонент®',
madeIn: 'Перейти на\u00A0российскую версию сайта',
},
cookies: {
text: 'Этот сайт использует файлы cookies. Продолжая пользоваться сайтом, вы соглашаетесь с Политикой конфиденциальности.',
accept: 'ОК',
decline: 'Отказаться',
},
tweaks: {
accent: 'Цвет акцента',
density: 'Плотность карточек',
spacious: 'Просторно', compact: 'Компактно',
colors: { violet: 'Фиолетовый', indigo: 'Индиго', magenta: 'Маджента', teal: 'Бирюза', midnight: 'Полночь' },
lang: 'Язык',
},
},
en: {
nav: { projects: 'Projects', services: 'Services', process: 'Process', faq: 'FAQ', cta: 'Get in touch', studio: 'Design studio' },
hero: {
titleL1: 'Compo', titleL2: 'nent',
sub: 'A design and development studio, ready to deliver projects of any complexity — from identity to full-scale products.',
ctaStart: 'Discuss a project', ctaWorks: 'View works',
stats: [
{ num: '82+', lbl: 'Projects shipped since 2019' },
{ num: '14', lbl: 'Industry awards and recognitions' },
{ num: '06', lbl: 'Designers and developers on the team' },
{ num: '98%', lbl: 'Clients return with new briefs' },
],
},
marquee: ['Branding','Web design','Interfaces','Typography','Motion','Identity','Development & AI'],
projects: {
eyebrow: 'Projects', titleA: 'Selected', titleB: 'works', showMore: 'Show more',
allProjects: 'All projects', allTitleA: 'All', allTitleB: 'projects', home: 'Back home',
filters: { all: 'All', uxui: 'UX/UI', dev: 'Development', landings: 'Landings', identity: 'Identity', presentations: 'Presentations' },
cats: { uxui: 'UX/UI', dev: 'Development', landings: 'Landing', identity: 'Identity', presentations: 'Presentations' },
names: {
greenclient: 'Partner Check', phodo: 'Phodo', kovry: 'Siberian Carpets', lamoda: 'Lamoda · Seller', colorforce: 'ColorForce',
misis: 'MISIS · Mini App', innovators: 'Innovators Academy', mpit: 'MPIT',
course: 'Online course', quantum: 'Samarkand Quantum Centre', easysale: 'EasySale',
},
},
services: {
eyebrow: 'Services', titleA: 'What we', titleB: 'do',
items: [
{ title: 'Identity', desc: 'Logos, brand systems, and guidelines that age well.' },
{ title: 'Web design', desc: 'Websites and interfaces — precise, fast, considered down to the detail.' },
{ title: 'UX/UI design', desc: 'Product interfaces and flows that survive user testing.' },
{ title: 'Development', desc: 'From landings to complex products — clean code that scales.' },
{ title: 'SMM', desc: 'Strategy, content, and execution — social that drives sales and reputation.' },
{ title: 'Outsourcing', desc: 'Plug into your team for sprints — as a designer, developer, or producer.' },
{ title: 'AI projects', desc: 'AI-driven video and ads — generative reels, avatars, and campaigns.' },
],
},
about: {
eyebrow: 'About', titleA: 'A small', titleB: 'team',
statement: "We're six people who'd rather make one good thing than ten loud ones. We work directly with founders: no account managers, no pitch decks, no theater.",
meta: [
{ lbl: 'Location', val: 'Moscow · remote' },
{ lbl: 'Timezone', val: 'MSK · UTC+3' },
{ lbl: 'Languages', val: 'RU · EN · DE' },
{ lbl: 'Status', val: 'Available from Q2 2026' },
],
stats: [
{ num: '82+', lbl: 'Identity and product systems shipped' },
{ num: '14', lbl: 'Industry awards' },
{ num: '06', lbl: 'Designers and engineers under one roof' },
],
},
process: {
eyebrow: 'Our process', titleA: 'Seven', titleB: 'steps',
stepLabel: 'Step',
steps: [
{ t: 'Request', d: 'The client submits a request on the site or via messenger with a short brief and contacts. We log it and reply within one business day.', dur: '1 day' },
{ t: 'Brief & intro', d: 'We send a brief for a more detailed description of the project and have a 20–30 minute call to discuss the tasks and meet the team.', dur: '30 min' },
{ t: 'Proposal & contract', d: 'We prepare a detailed proposal with scope, milestones and price. Once approved, we sign the contract and take the deposit.', dur: '3–5 days' },
{ t: 'Research', d: 'We study the niche, competitors and audience so the design is grounded in data, not guesses.', dur: '1–2 weeks' },
{ t: 'Iterative design', d: 'We develop concepts and evolve mockups step by step, sharing interim results and discussing direction with you.', dur: '4–8 weeks' },
{ t: '2 rounds of edits', d: 'You give feedback, we apply up to two rounds of revisions — bringing the project to its final form without endless rework.', dur: '1–2 weeks' },
{ t: 'Project ready', d: 'We hand over the source files and all assets, help with launch, and stay in touch for ongoing support.', dur: 'launch' },
],
},
faq: {
eyebrow: 'FAQ', titleA: 'Frequently', titleB: 'asked',
items: [
{ q: 'How does the work usually start?', a: 'After you submit the form, we get in touch, send a brief and set up an intro call. By the way, we reply faster on Telegram ;) — @componentstudio' },
{ q: 'What if the project is urgent?', a: 'For urgent projects we can start within 10–15 minutes — right after a call and a quick paperwork setup. We also take on night projects: if you need it «by morning», you can rely on our team :) Our managers track requests 24/7.' },
{ q: 'Do you take one-off briefs?', a: 'Yes — our team takes on both large projects and the smallest tasks. With the same serious approach, of course.' },
{ q: 'Where are you based?', a: 'We have a distributed team across Russia and Europe. Most of the team is based in Moscow and Saint Petersburg.' },
{ q: 'Can we hire one person from the team?', a: 'No — we are not a freelancer aggregator, so a whole team takes on your project. That said, we always take your preferences on profile and experience into account.' },
{ q: 'Do you have to publish the results on the site?', a: 'No — the work is done confidentially, and case studies are published only with the client\u2019s approval.' },
{ q: 'Are there discounts or special terms for startups and small businesses?', a: 'We offer a standing 15% discount for Innovators Academy residents and discuss custom terms for deferred payment from a grant. For individuals, payment in installments is available, including Sber instalments. We also regularly help startups and small businesses build their first identity and website at cost as part of our studio internship programme.' },
],
},
contact: {
title: 'Get in touch',
sub: "We'll help you find a strong visual solution and plan the development through to production launch.",
fields: { email: 'Email or Telegram handle', name: 'Your full name', promo: 'Promo code', descr: 'Project description' },
submit: 'Send',
sending: 'Sending…',
success: 'Request sent! We’ll get back to you shortly.',
error: 'Could not send. Please try again or email us directly.',
legal: 'By clicking \u2018Send\u2019, you agree to our personal data processing policy.',
},
contactsBlock: {
title: 'Contacts',
emailLabel: 'Email',
email: 'info@componentstudio.ru',
socialTitle: 'Social',
connectTitle: 'Get in touch',
careersLabel: 'Careers',
careersLink: 'Work with us',
},
footer: {
contact: {
title: 'Contacts',
rows: [
{ label: 'Discuss a project', email: 'info@componentstudio.ru' },
{ label: 'Want to work with us?', email: 'hr@componentstudio.ru' },
{ label: 'Want to collaborate?', email: 'smm@componentstudio.ru' },
],
},
studio: {
title: 'Studio',
lines: [
'Moscow,',
'Saint Petersburg',
],
legal: [
'IE Melikhova D.\u00A0O.',
'OGRNIP 325100000002777',
],
privacy: { label: 'Privacy Policy', href: 'Privacy.html' },
},
social: {
title: 'Social',
links: [
{ label: 'Telegram', href: 'https://t.me/componentstudio' },
{ label: 'VK', href: 'https://vk.com/componentstudio' },
],
},
navTitle: 'Navigation',
copyright: '2026 Component®',
madeIn: 'Go to the Russian version of the site',
},
cookies: {
text: 'This site uses cookies. By continuing to use the site, you agree to our Privacy Policy.',
accept: 'OK',
decline: 'Decline',
},
tweaks: {
accent: 'Accent color',
density: 'Card density',
spacious: 'Spacious', compact: 'Compact',
colors: { violet: 'Violet', indigo: 'Indigo', magenta: 'Magenta', teal: 'Teal', midnight: 'Midnight' },
lang: 'Language',
},
},
es: {
nav: { projects: 'Proyectos', services: 'Servicios', process: 'Proceso', faq: 'FAQ', cta: 'Contactar', studio: 'Estudio de diseño' },
hero: {
titleL1: 'Compo', titleL2: 'nent',
sub: 'Un estudio de diseño y desarrollo, listo para entregar proyectos de cualquier complejidad — desde la identidad hasta servicios completos.',
ctaStart: 'Discutir un proyecto', ctaWorks: 'Ver trabajos',
stats: [
{ num: '82+', lbl: 'Proyectos entregados desde 2019' },
{ num: '14', lbl: 'Premios y reconocimientos de la industria' },
{ num: '06', lbl: 'Diseñadores y desarrolladores en el equipo' },
{ num: '98%', lbl: 'Clientes que regresan con nuevos encargos' },
],
},
marquee: ['Branding','Diseño web','Interfaces','Tipografía','Animación','Identidad','Desarrollo e IA'],
projects: {
eyebrow: 'Proyectos', titleA: 'Trabajos', titleB: 'seleccionados', showMore: 'Ver más',
allProjects: 'Todos los proyectos', allTitleA: 'Todos los', allTitleB: 'proyectos', home: 'Al inicio',
filters: { all: 'Todos', uxui: 'UX/UI', dev: 'Desarrollo', landings: 'Landings', identity: 'Identidad', presentations: 'Presentaciones' },
cats: { uxui: 'UX/UI', dev: 'Desarrollo', landings: 'Landing', identity: 'Identidad', presentations: 'Presentaciones' },
names: {
greenclient: 'Verificación de socio', phodo: 'Phodo', kovry: 'Alfombras Siberianas', lamoda: 'Lamoda · Vendedor', colorforce: 'ColorForce',
misis: 'MISIS · Mini App', innovators: 'Academia de Innovadores', mpit: 'MPIT',
course: 'Curso online', quantum: 'Samarkand Quantum Centre', easysale: 'EasySale',
},
},
services: {
eyebrow: 'Servicios', titleA: 'Lo que', titleB: 'hacemos',
items: [
{ title: 'Identidad', desc: 'Logos, sistemas de marca y guías que envejecen bien.' },
{ title: 'Diseño web', desc: 'Sitios e interfaces — precisos, rápidos, cuidados hasta el detalle.' },
{ title: 'Diseño UX/UI', desc: 'Interfaces de producto y flujos que pasan el test de usuario.' },
{ title: 'Desarrollo', desc: 'Desde landings hasta productos complejos — código limpio que escala.' },
{ title: 'SMM', desc: 'Estrategia, contenido y gestión — redes que generan ventas y reputación.' },
{ title: 'Outsourcing', desc: 'Nos sumamos a tu equipo por sprints — como diseñador, dev o productor.' },
{ title: 'Proyectos de IA', desc: 'Vídeo y publicidad con IA — reels generativos, avatares y campañas.' },
],
},
about: {
eyebrow: 'Sobre nosotros', titleA: 'Un equipo', titleB: 'pequeño',
statement: 'Somos seis personas que prefieren hacer una cosa buena en vez de diez ruidosas. Trabajamos directamente con fundadores: sin gerentes de cuenta, sin presentaciones, sin teatro.',
meta: [
{ lbl: 'Ubicación', val: 'Moscú · remoto' },
{ lbl: 'Zona horaria', val: 'MSK · UTC+3' },
{ lbl: 'Idiomas', val: 'RU · EN · DE' },
{ lbl: 'Estado', val: 'Disponibles desde 2T 2026' },
],
stats: [
{ num: '82+', lbl: 'Sistemas de identidad y producto entregados' },
{ num: '14', lbl: 'Premios de la industria' },
{ num: '06', lbl: 'Diseñadores e ingenieros bajo un mismo techo' },
],
},
process: {
eyebrow: 'Nuestro proceso', titleA: 'Siete', titleB: 'pasos',
stepLabel: 'Paso',
steps: [
{ t: 'Solicitud', d: 'El cliente envía una solicitud en el sitio o por mensajería con un brief breve y datos de contacto. La registramos y respondemos en un día hábil.', dur: '1 día' },
{ t: 'Brief y presentación', d: 'Enviamos un brief para describir el proyecto con más detalle y hacemos una llamada de 20–30 minutos para hablar de las tareas y conocer al equipo.', dur: '30 min' },
{ t: 'Propuesta y contrato', d: 'Preparamos una propuesta detallada con alcance, etapas y precio. Tras aprobarla, firmamos el contrato y recibimos el anticipo.', dur: '3–5 días' },
{ t: 'Investigación', d: 'Estudiamos el nicho, los competidores y la audiencia para que el diseño se base en datos, no en suposiciones.', dur: '1–2 sem.' },
{ t: 'Diseño iterativo', d: 'Desarrollamos conceptos y evolucionamos los mockups paso a paso, mostrando resultados intermedios y discutiendo la dirección contigo.', dur: '4–8 sem.' },
{ t: '2 rondas de cambios', d: 'Tú das feedback y nosotros aplicamos hasta dos rondas de cambios, llevando el proyecto a su forma final sin retrabajos infinitos.', dur: '1–2 sem.' },
{ t: 'Proyecto listo', d: 'Entregamos los archivos fuente y todos los materiales, ayudamos con el lanzamiento y seguimos en contacto para soporte continuo.', dur: 'lanzamiento' },
],
},
faq: {
eyebrow: 'Preguntas', titleA: 'Preguntas', titleB: 'frecuentes',
items: [
{ q: '¿Cómo suele empezar el trabajo?', a: 'Tras enviar el formulario, te contactamos, te mandamos un brief y agendamos una llamada de presentación. Por cierto, respondemos más rápido por Telegram ;) — @componentstudio' },
{ q: '¿Y si el proyecto es urgente?', a: 'Para proyectos urgentes podemos empezar en 10–15 minutos, justo después de una llamada y una preparación rápida de los documentos. También aceptamos proyectos nocturnos: si lo necesitas «para la mañana», puedes confiar en nuestro equipo :) Nuestros gestores revisan las solicitudes 24/7.' },
{ q: '¿Aceptan encargos puntuales?', a: 'Sí — nuestro equipo asume tanto grandes proyectos como las tareas más pequeñas. Con el mismo enfoque serio, por supuesto.' },
{ q: '¿Dónde están ubicados?', a: 'Tenemos un equipo distribuido por Rusia y Europa. La mayor parte del equipo es de Moscú y San Petersburgo.' },
{ q: '¿Podemos contratar a una sola persona del equipo?', a: 'No — no somos un agregador de freelancers, así que de tu proyecto se encarga todo un equipo. Eso sí, siempre tenemos en cuenta tus preferencias de perfil y experiencia.' },
{ q: '¿Es obligatorio publicar los resultados en el sitio?', a: 'No — el trabajo se realiza de forma confidencial, y los casos se publican solo con la aprobación del cliente.' },
{ q: '¿Hay descuentos o condiciones especiales para startups y pequeñas empresas?', a: 'Ofrecemos un descuento permanente del 15% para los residentes de la Academia de Innovadores y discutimos condiciones personalizadas de pago aplazado con cargo a una subvención. Para particulares es posible el pago a plazos, incluida la financiación de Sber. Además, ayudamos con regularidad a startups y pequeñas empresas a desarrollar su primera identidad y sitio web a precio de coste dentro de nuestro programa de prácticas en el estudio.' },
],
},
contact: {
title: 'Contactar',
sub: 'Te ayudamos a encontrar una solución visual potente y a planificar el desarrollo hasta el lanzamiento en producción.',
fields: { email: 'Email o usuario de Telegram', name: 'Tu nombre completo', promo: 'Código promocional', descr: 'Descripción del proyecto' },
submit: 'Enviar',
sending: 'Enviando…',
success: '¡Solicitud enviada! Te responderemos en breve.',
error: 'No se pudo enviar. Inténtalo de nuevo o escríbenos por correo.',
legal: 'Al hacer clic en «Enviar», aceptas la política de tratamiento de datos personales.',
},
contactsBlock: {
title: 'Contactos',
emailLabel: 'Correo',
email: 'info@componentstudio.ru',
socialTitle: 'Redes',
connectTitle: 'Contactar',
careersLabel: 'Carrera',
careersLink: 'Trabaja con nosotros',
},
footer: {
contact: {
title: 'Contactos',
rows: [
{ label: 'Discutir un proyecto', email: 'info@componentstudio.ru' },
{ label: '¿Quieres trabajar con nosotros?', email: 'hr@componentstudio.ru' },
{ label: '¿Quieres colaborar?', email: 'smm@componentstudio.ru' },
],
},
studio: {
title: 'Estudio',
lines: [
'Moscú,',
'San Petersburgo',
],
legal: [
'EI\u00A0Melíjova D.\u00A0O.',
'OGRNIP 325100000002777',
],
privacy: { label: 'Política de privacidad', href: 'Privacy.html' },
},
social: {
title: 'Redes',
links: [
{ label: 'Telegram', href: 'https://t.me/componentstudio' },
{ label: 'VK', href: 'https://vk.com/componentstudio' },
],
},
navTitle: 'Navegación',
copyright: '2026 Component®',
madeIn: 'Ir a la versión rusa del sitio',
},
cookies: {
text: 'Este sitio utiliza cookies. Al continuar usando el sitio, aceptas nuestra Política de privacidad.',
accept: 'OK',
decline: 'Rechazar',
},
tweaks: {
accent: 'Color de acento',
density: 'Densidad de tarjetas',
spacious: 'Espaciado', compact: 'Compacto',
colors: { violet: 'Violeta', indigo: 'Índigo', magenta: 'Magenta', teal: 'Turquesa', midnight: 'Medianoche' },
lang: 'Idioma',
},
},
};
// ───── Live language state with subscribe pattern ─────
(function() {
let _lang = (function() {
try {
const stored = localStorage.getItem('kmp-lang');
if (stored && window.DICT[stored]) return stored;
} catch (e) {}
return 'ru';
})();
const _subs = new Set();
window.getLang = () => _lang;
window.setLang = (l) => {
if (!window.DICT[l]) return;
_lang = l;
try { localStorage.setItem('kmp-lang', l); } catch (e) {}
document.documentElement.lang = l;
_subs.forEach(fn => fn(_lang));
};
// Resolve a dotted key path, fall back to ru on miss
window.tResolve = (lang, key) => {
const parts = key.split('.');
let cur = window.DICT[lang] || window.DICT.ru;
for (const p of parts) { if (cur == null) break; cur = cur[p]; }
if (cur != null) return cur;
cur = window.DICT.ru;
for (const p of parts) { if (cur == null) break; cur = cur[p]; }
return cur == null ? key : cur;
};
window.useT = () => {
const [lang, setL] = React.useState(_lang);
React.useEffect(() => {
const sub = (l) => setL(l);
_subs.add(sub);
return () => _subs.delete(sub);
}, []);
const t = (key) => window.tResolve(lang, key);
return { lang, setLang: window.setLang, t, dict: window.DICT[lang] || window.DICT.ru };
};
document.documentElement.lang = _lang;
})();