fix: синхронизировать EN-лендинг с русским
- обновлён EN tagline на лендинге под новый стиль (RU уже был обновлён) - английская карточка «For Assistant» приведена к структуре русской: две кнопки llms.txt и llms-full.txt с заглушечными ссылками (#) и бейджем «in development» - шаблон карточки теперь поддерживает badge при наличии buttons: карточка приглушается, кнопки не кликаются
This commit is contained in:
@@ -42,7 +42,7 @@ const dict = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
en: {
|
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',
|
langLabel: 'Language',
|
||||||
themeLabel: 'Theme',
|
themeLabel: 'Theme',
|
||||||
themes: { auto: 'Auto', light: 'Light', dark: 'Dark' },
|
themes: { auto: 'Auto', light: 'Light', dark: 'Dark' },
|
||||||
@@ -57,9 +57,11 @@ const dict = {
|
|||||||
ai: {
|
ai: {
|
||||||
title: 'For Assistant',
|
title: 'For Assistant',
|
||||||
desc: 'Documentation map in llms.txt format for AI agents.',
|
desc: 'Documentation map in llms.txt format for AI agents.',
|
||||||
href: '#',
|
|
||||||
cta: 'Open',
|
|
||||||
badge: 'in development',
|
badge: 'in development',
|
||||||
|
buttons: [
|
||||||
|
{ label: 'llms.txt', href: '#' },
|
||||||
|
{ label: 'llms-full.txt', href: '#' },
|
||||||
|
],
|
||||||
},
|
},
|
||||||
zip: {
|
zip: {
|
||||||
title: 'Download rules',
|
title: 'Download rules',
|
||||||
@@ -168,15 +170,20 @@ function toggleTheme(value) {
|
|||||||
<section class="landing__cards">
|
<section class="landing__cards">
|
||||||
<template v-for="key in ['docs', 'ai', 'zip']" :key="key">
|
<template v-for="key in ['docs', 'ai', 'zip']" :key="key">
|
||||||
<div
|
<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 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>
|
<p>{{ t.cards[key].desc }}</p>
|
||||||
<div class="landing__buttons">
|
<div class="landing__buttons">
|
||||||
<a
|
<a
|
||||||
v-for="btn in t.cards[key].buttons"
|
v-for="btn in t.cards[key].buttons"
|
||||||
:key="btn.href"
|
:key="btn.label"
|
||||||
class="landing__button"
|
class="landing__button"
|
||||||
:href="btn.href"
|
:href="btn.href"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
Reference in New Issue
Block a user