File tree 1 file changed +10
-5
lines changed
docs/.vitepress/components
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,21 @@ const { locale = 'en' } = defineProps<{
8
8
const author = {
9
9
avatar: ' https://avatars.githubusercontent.com/u/16436160' ,
10
10
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 コントリビューター' ,
15
11
sponsor: ' https://github.com/sponsors/nozomuikuta' ,
16
- actionText: locale === ' en' ? ' Sponsor' : ' スポンサー' ,
17
12
links: [
18
13
{ icon: ' github' , link: ' https://github.com/nozomuikuta' },
19
14
{ icon: ' twitter' , link: ' https://twitter.com/nozomuikuta' },
20
15
],
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 ],
21
26
}
22
27
</script >
23
28
You can’t perform that action at this time.
0 commit comments