Skip to content

Commit f5583f1

Browse files
committed
docs: update contents
1 parent a31fe8b commit f5583f1

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/.vitepress/components/AuthorProfile.vue

+10-5
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,21 @@ const { locale = 'en' } = defineProps<{
88
const author = {
99
avatar: 'https://avatars.githubusercontent.com/u/16436160',
1010
name: 'Nozomu Ikuta',
11-
desc:
12-
locale === 'en'
13-
? 'Member of UnJS / Vue.js JP Core Staff / Vite Contributor'
14-
: 'UnJSメンバー/ Vue.js JP コアスタッフ / Vite コントリビューター',
1511
sponsor: 'https://github.com/sponsors/nozomuikuta',
16-
actionText: locale === 'en' ? 'Sponsor' : 'スポンサー',
1712
links: [
1813
{ icon: 'github', link: 'https://github.com/nozomuikuta' },
1914
{ icon: 'twitter', link: 'https://twitter.com/nozomuikuta' },
2015
],
16+
...{
17+
en: {
18+
desc: 'UnJS Member / Vue.js JP Core Staff / Vite Contributor',
19+
actionText: 'Sponsor',
20+
},
21+
ja: {
22+
desc: 'UnJSメンバー / Vue.js JP コアスタッフ / Vite コントリビューター',
23+
actionText: 'スポンサー',
24+
},
25+
}[locale],
2126
}
2227
</script>
2328

0 commit comments

Comments
 (0)