mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 07:31:19 +00:00
4.11.2 dev (#5368)
* 4.11.2 dev (#103) * update document * update doc * update doc * doc img * action * fix action * fix: action * fix: action * perf: action * doc * perf: action
This commit is contained in:
@@ -30,9 +30,17 @@ export default async function Layout({
|
||||
title: t('common:use-cases', lang),
|
||||
url: lang === 'zh-CN' ? '/docs/use-cases' : '/en/docs/use-cases'
|
||||
},
|
||||
{
|
||||
title: t('common:faq', lang),
|
||||
url: lang === 'zh-CN' ? '/docs/faq' : '/en/docs/faq'
|
||||
},
|
||||
{
|
||||
title: t('common:protocol', lang),
|
||||
url: lang === 'zh-CN' ? '/docs/protocol' : '/en/docs/protocol'
|
||||
},
|
||||
{
|
||||
title: t('common:upgrading', lang),
|
||||
url: lang === 'zh-CN' ? '/docs/upgrading' : '/en/docs/upgrading'
|
||||
}
|
||||
];
|
||||
|
||||
@@ -41,7 +49,7 @@ export default async function Layout({
|
||||
{...baseOptions(lang)}
|
||||
nav={{
|
||||
title: (
|
||||
<div className="flex flex-row items-center gap-2 h-14 ml-10">
|
||||
<div className="flex flex-row items-center gap-2 h-14 ml-1">
|
||||
<div className="block dark:hidden">
|
||||
<LogoLight className="w-48 h-auto" />
|
||||
</div>
|
||||
|
@@ -20,15 +20,14 @@ export const baseOptions = (locale: string): BaseLayoutProps => {
|
||||
<div className="flex flex-row items-center gap-2">
|
||||
<img src="/FastGPT-full.svg" alt="FastGPT" width={49} height={48} />
|
||||
</div>
|
||||
<div className="relative flex flex-row items-center gap-2 h-10 top-14"> 12321</div>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
i18n: {
|
||||
languages: ['zh-CN', 'en'],
|
||||
defaultLanguage: 'zh-CN',
|
||||
hideLocale: 'always'
|
||||
},
|
||||
// i18n: {
|
||||
// languages: ['zh-CN', 'en'],
|
||||
// defaultLanguage: 'zh-CN',
|
||||
// hideLocale: 'always'
|
||||
// },
|
||||
searchToggle: {
|
||||
enabled: true
|
||||
}
|
||||
|
Reference in New Issue
Block a user