feat(docs,i18n): now supports Japanese & Korean
This commit is contained in:
@@ -84,7 +84,7 @@ const maskImageURL = `url(${homeCover})`
|
||||
'md:w-[150%] md:translate-y-[40%] md:rotate-[0deg] md:top-8dvh',
|
||||
'lg:w-[95%] lg:translate-y-[-20%] lg:translate-x-[-50%] lg:rotate-[0deg] lg:scale-95 lg:top-32dvh',
|
||||
'xl:translate-y-[-50%] xl:translate-x-[-50%] xl:scale-80 xl:top-18dvh',
|
||||
'2xl:w-[100%] 2xl:translate-y-[-20%] 2xl:translate-x-[-50%] 2xl:rotate-[0deg] 2xl:top-16dvh',
|
||||
'2xl:w-[100%] 2xl:translate-y-[-20%] 2xl:translate-x-[-50%] 2xl:rotate-[0deg] 2xl:scale-60 2xl:top-12dvh',
|
||||
]"
|
||||
>
|
||||
<img ref="surface" :src="homeCover" alt="Project AIRI Cover Image" class="w-full object-cover">
|
||||
|
||||
@@ -23,14 +23,14 @@ import '@fontsource-variable/comfortaa'
|
||||
|
||||
export default {
|
||||
Layout,
|
||||
enhanceApp({ app }) {
|
||||
enhanceApp({ app, siteData }) {
|
||||
if (!import.meta.env.SSR) {
|
||||
import('../modules/posthog')
|
||||
}
|
||||
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
locale: 'en',
|
||||
locale: siteData.value.lang || 'en',
|
||||
fallbackLocale: 'en',
|
||||
messages,
|
||||
})
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
title: これはどんなプロジェクト?
|
||||
description: Project AIRI のユーザーインターフェースを知る
|
||||
---
|
||||
@@ -70,7 +71,7 @@ Web 版は手軽にアクセスでき、モバイルからでも利用できま
|
||||
使い方を見る
|
||||
</div>
|
||||
</a>
|
||||
<a href="../../../en/docs/guide/web/" w-full flex items-center gap-2 border="2 solid gray-500/10" rounded-lg px-4 py-2>
|
||||
<a href="../../../en/docs/overview/guide/web/" w-full flex items-center gap-2 border="2 solid gray-500/10" rounded-lg px-4 py-2>
|
||||
<div w-full flex items-center gap-2>
|
||||
<div flex items-center gap-2 text-2xl>
|
||||
<div i-lucide:app-window />
|
||||
|
||||
Reference in New Issue
Block a user