diff options
| author | Leitwolf11 | 2026-11-10 01:36:38 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-10 01:36:38 +0300 |
| commit | 0969bb1861da0c2bd10b2f1864857330488fa34a (patch) | |
| tree | e45bd195f9e2a4bd404c3bc7a048d518ee36b75b | |
| parent | 969499af31ef9539a148b902be0529977a71786e (diff) | |
| download | tazel.net-content/document-label.tar.gz | |
Keep only the footer links found nowhere elsecontent/document-label
The footer repeated links the page already has: Document (the header),
Reference, Plugins and the full reference (pages of the documentation),
the release notes (the home page) and Source (the GitHub icon in the
header). Their column and the Source link are gone; the footer keeps the
Tala family (Tala, Talac, ViGet) and progmasoft.com, which no other part
of the site links. The labels only those links used are removed from the
four languages. Tests, nuxt typecheck, Prettier and nuxt generate pass.
| -rw-r--r-- | app/components/SiteFooter.vue | 29 | ||||
| -rw-r--r-- | app/content/chrome.ts | 20 | ||||
| -rw-r--r-- | app/content/types.ts | 5 |
3 files changed, 3 insertions, 51 deletions
diff --git a/app/components/SiteFooter.vue b/app/components/SiteFooter.vue index 14a8eab..4db0b2b 100644 --- a/app/components/SiteFooter.vue +++ b/app/components/SiteFooter.vue @@ -3,9 +3,9 @@ <script setup lang="ts"> import { chrome } from "~/content/chrome"; -import { family, firstDocPage, reference, releaseNotes, repository } from "~/content/site"; +import { family } from "~/content/site"; -const { locale, to } = useSiteLocale(); +const { locale } = useSiteLocale(); const words = computed(() => chrome[locale.value]); </script> @@ -16,26 +16,6 @@ const words = computed(() => chrome[locale.value]); <TazelLogo class="logo" /> <p>{{ words.footer.tagline }}</p> </div> - <nav :aria-label="words.footer.product"> - <h2>{{ words.footer.product }}</h2> - <ul> - <li> - <NuxtLink :to="to(firstDocPage)">{{ words.docs }}</NuxtLink> - </li> - <li> - <NuxtLink :to="to('/docs/reference/commands')">{{ words.reference }}</NuxtLink> - </li> - <li> - <NuxtLink :to="to('/docs/extending/plugins')">{{ words.plugins }}</NuxtLink> - </li> - <li> - <a :href="releaseNotes">{{ words.footer.releaseNotes }}</a> - </li> - <li> - <a :href="reference.commands">{{ words.footer.reference }}</a> - </li> - </ul> - </nav> <nav :aria-label="words.footer.family"> <h2>{{ words.footer.family }}</h2> <ul> @@ -48,9 +28,6 @@ const words = computed(() => chrome[locale.value]); <h2>{{ words.footer.company }}</h2> <ul> <li><a :href="family.progmasoft">progmasoft.com</a></li> - <li> - <a :href="repository">{{ words.source }}</a> - </li> </ul> </nav> </div> @@ -70,7 +47,7 @@ const words = computed(() => chrome[locale.value]); .grid { display: grid; - grid-template-columns: 2fr repeat(3, 1fr); + grid-template-columns: 2fr repeat(2, 1fr); gap: 32px; } diff --git a/app/content/chrome.ts b/app/content/chrome.ts index caf1d9d..4a7c117 100644 --- a/app/content/chrome.ts +++ b/app/content/chrome.ts @@ -8,8 +8,6 @@ export const chrome: Record<Locale, Chrome> = { "en-US": { skip: "Skip to content", docs: "Document", - reference: "Reference", - plugins: "Plugins", getStarted: "Get started", source: "Source", language: "Language", @@ -20,11 +18,8 @@ export const chrome: Record<Locale, Chrome> = { copied: "Copied", footer: { tagline: "The build system and package manager of Tala.", - product: "Tazel", family: "Tala", company: "Progmasoft", - releaseNotes: "Release notes", - reference: "Full reference", license: "Tazel is free software under MPL-2.0 with the Progmasoft Exception 2.0.", }, docsNav: { @@ -50,8 +45,6 @@ export const chrome: Record<Locale, Chrome> = { "de-DE": { skip: "Zum Inhalt springen", docs: "Dokument", - reference: "Referenz", - plugins: "Plugins", getStarted: "Loslegen", source: "Quellcode", language: "Sprache", @@ -62,11 +55,8 @@ export const chrome: Record<Locale, Chrome> = { copied: "Kopiert", footer: { tagline: "Das Build-System und der Paketmanager von Tala.", - product: "Tazel", family: "Tala", company: "Progmasoft", - releaseNotes: "Versionshinweise", - reference: "Vollständige Referenz", license: "Tazel ist freie Software unter MPL-2.0 mit der Progmasoft Exception 2.0.", }, docsNav: { @@ -92,8 +82,6 @@ export const chrome: Record<Locale, Chrome> = { "ru-RU": { skip: "Перейти к содержанию", docs: "Документ", - reference: "Справочник", - plugins: "Плагины", getStarted: "Начать", source: "Исходный код", language: "Язык", @@ -104,11 +92,8 @@ export const chrome: Record<Locale, Chrome> = { copied: "Скопировано", footer: { tagline: "Система сборки и менеджер пакетов Tala.", - product: "Tazel", family: "Tala", company: "Progmasoft", - releaseNotes: "Примечания к выпуску", - reference: "Полный справочник", license: "Tazel — свободное ПО под MPL-2.0 с Progmasoft Exception 2.0.", }, docsNav: { @@ -134,8 +119,6 @@ export const chrome: Record<Locale, Chrome> = { "he-IL": { skip: "דילוג לתוכן", docs: "מסמך", - reference: "עיון", - plugins: "תוספים", getStarted: "מתחילים", source: "קוד מקור", language: "שפה", @@ -146,11 +129,8 @@ export const chrome: Record<Locale, Chrome> = { copied: "הועתק", footer: { tagline: "מערכת הבנייה ומנהל החבילות של Tala.", - product: "Tazel", family: "Tala", company: "Progmasoft", - releaseNotes: "הערות גרסה", - reference: "תיעוד מלא", license: "Tazel היא תוכנה חופשית תחת MPL-2.0 עם Progmasoft Exception 2.0.", }, docsNav: { diff --git a/app/content/types.ts b/app/content/types.ts index b311861..b29a745 100644 --- a/app/content/types.ts +++ b/app/content/types.ts @@ -5,8 +5,6 @@ export type Chrome = { skip: string; docs: string; - reference: string; - plugins: string; getStarted: string; source: string; language: string; @@ -17,11 +15,8 @@ export type Chrome = { copied: string; footer: { tagline: string; - product: string; family: string; company: string; - releaseNotes: string; - reference: string; license: string; }; notFound: { title: string; text: string; home: string }; |