From 70cdefe1f8358c86ad91d555df961b764ca1da91 Mon Sep 17 00:00:00 2001
From: brklntmhwk_dev <86272619+brklntmhwk@users.noreply.github.com>
Date: Fri, 13 Sep 2024 08:35:10 +0000
Subject: [PATCH] =?UTF-8?q?feat(ui):=20=F0=9F=86=95=20add=20the=20nav=20li?=
=?UTF-8?q?nk=20to=20work=20page?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
✅ Closes: #64
---
src/components/Navigation/Navigation.astro | 3 +++
src/content/config.ts | 1 +
src/content/i18n/en/translation.yml | 1 +
src/content/i18n/ja/translation.yml | 1 +
4 files changed, 6 insertions(+)
diff --git a/src/components/Navigation/Navigation.astro b/src/components/Navigation/Navigation.astro
index af3c667f..027fe744 100644
--- a/src/components/Navigation/Navigation.astro
+++ b/src/components/Navigation/Navigation.astro
@@ -31,6 +31,9 @@ const t = await getEntry('i18n', `${locale}/translation`);
{t.data.nav.nav_links.about}
+ {t.data.nav.nav_links.work}
{t.data.nav.nav_links.tools}
diff --git a/src/content/config.ts b/src/content/config.ts
index 93732b22..d6a616f7 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -116,6 +116,7 @@ const i18n = defineCollection({
blog: z.string(),
news: z.string(),
about: z.string(),
+ work: z.string(),
tools: z.string(),
}),
hamburger_label: z.string(),
diff --git a/src/content/i18n/en/translation.yml b/src/content/i18n/en/translation.yml
index e25d4449..24dbaa00 100644
--- a/src/content/i18n/en/translation.yml
+++ b/src/content/i18n/en/translation.yml
@@ -15,6 +15,7 @@ nav:
blog: *blog
news: *news
about: *about
+ work: Work
tools: Tools I use
hamburger_label: Hamburger menu toggle
pager:
diff --git a/src/content/i18n/ja/translation.yml b/src/content/i18n/ja/translation.yml
index 7cf08760..ec03a407 100644
--- a/src/content/i18n/ja/translation.yml
+++ b/src/content/i18n/ja/translation.yml
@@ -15,6 +15,7 @@ nav:
blog: *blog
news: *news
about: *about
+ work: 作品
tools: 愛用ツール一覧
hamburger_label: ハンバーガーメニュー開閉
pager: