fix: синхронизировать EN-лендинг с русским
All checks were successful
CI/CD Pipeline / docker (push) Successful in 54s
CI/CD Pipeline / deploy (push) Successful in 6s

- обновлён EN tagline на лендинге под новый стиль (RU уже был обновлён)
- английская карточка «For Assistant» приведена к структуре русской:
  две кнопки llms.txt и llms-full.txt с заглушечными ссылками (#)
  и бейджем «in development»
- шаблон карточки теперь поддерживает badge при наличии buttons:
  карточка приглушается, кнопки не кликаются
This commit is contained in:
2026-04-25 20:00:52 +03:00
parent ae103e962e
commit 64db18917b

View File

@@ -42,7 +42,7 @@ const dict = {
},
},
en: {
tagline: 'Ready-made standards for architecture, code, components, and infrastructure in Next.js + TypeScript projects — so your team writes consistently and new developers ramp up faster.',
tagline: 'Conventions for Next.js project development: application architecture and layers, code structure, module organization, styling, typing, and infrastructure.',
langLabel: 'Language',
themeLabel: 'Theme',
themes: { auto: 'Auto', light: 'Light', dark: 'Dark' },
@@ -57,9 +57,11 @@ const dict = {
ai: {
title: 'For Assistant',
desc: 'Documentation map in llms.txt format for AI agents.',
href: '#',
cta: 'Open',
badge: 'in development',
buttons: [
{ label: 'llms.txt', href: '#' },
{ label: 'llms-full.txt', href: '#' },
],
},
zip: {
title: 'Download rules',
@@ -168,15 +170,20 @@ function toggleTheme(value) {
<section class="landing__cards">
<template v-for="key in ['docs', 'ai', 'zip']" :key="key">
<div
v-if="t.cards[key].buttons && !t.cards[key].badge"
v-if="t.cards[key].buttons"
class="landing__card landing__card--multi"
:class="{ 'landing__card--soon': t.cards[key].badge }"
:aria-disabled="t.cards[key].badge ? 'true' : null"
>
<h3>{{ t.cards[key].title }}</h3>
<h3>
{{ t.cards[key].title }}
<span v-if="t.cards[key].badge" class="landing__badge">{{ t.cards[key].badge }}</span>
</h3>
<p>{{ t.cards[key].desc }}</p>
<div class="landing__buttons">
<a
v-for="btn in t.cards[key].buttons"
:key="btn.href"
:key="btn.label"
class="landing__button"
:href="btn.href"
target="_blank"