Skip to content

Commit

Permalink
feat(ui): πŸ†• add the nav link to work page
Browse files Browse the repository at this point in the history
βœ… Closes: #64
  • Loading branch information
brklntmhwk committed Sep 13, 2024
1 parent d00e814 commit 70cdefe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Navigation/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const t = await getEntry('i18n', `${locale}/translation`);
<NavLink href={translatePath('/about')}
>{t.data.nav.nav_links.about}</NavLink
>
<NavLink href={translatePath('/work')}
>{t.data.nav.nav_links.work}</NavLink
>
<NavLink href={translatePath('/tools')}
>{t.data.nav.nav_links.tools}</NavLink
>
Expand Down
1 change: 1 addition & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 1 addition & 0 deletions src/content/i18n/en/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ nav:
blog: *blog
news: *news
about: *about
work: Work
tools: Tools I use
hamburger_label: Hamburger menu toggle
pager:
Expand Down
1 change: 1 addition & 0 deletions src/content/i18n/ja/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ nav:
blog: *blog
news: *news
about: *about
work: δ½œε“
tools: 愛用ツール一覧
hamburger_label: ハンバーガーパニγƒ₯γƒΌι–‹ι–‰
pager:
Expand Down

0 comments on commit 70cdefe

Please sign in to comment.