diff --git a/apps/website/components/CallToAction.tsx b/apps/website/components/CallToAction.tsx index ac225284..871c0e6f 100644 --- a/apps/website/components/CallToAction.tsx +++ b/apps/website/components/CallToAction.tsx @@ -5,6 +5,7 @@ import { useTranslations } from 'next-intl' export function CallToAction() { const t = useTranslations('HomePage') + const linkT = useTranslations('Link') return (
@@ -26,10 +28,7 @@ export function Footer() { {t('navigation.faqs')} - + {t('navigation.docs')} diff --git a/apps/website/components/Header.tsx b/apps/website/components/Header.tsx index 5f0ca76c..8ec84ffa 100644 --- a/apps/website/components/Header.tsx +++ b/apps/website/components/Header.tsx @@ -69,6 +69,7 @@ function MobileNavIcon({ open }: { open: boolean }) { function MobileNavigation() { const t = useTranslations('HomePage') + const linkT = useTranslations('Link') return ( {t('navigation.docs')} @@ -125,6 +126,8 @@ function MobileNavigation() { export function Header() { const t = useTranslations('HomePage') + const linkT = useTranslations('Link') + return (
@@ -141,10 +144,7 @@ export function Header() { {t('navigation.faqs')} - + {t('navigation.docs')} diff --git a/apps/website/locales/en.json b/apps/website/locales/en.json index efb3cfcb..8153d3d8 100644 --- a/apps/website/locales/en.json +++ b/apps/website/locales/en.json @@ -83,5 +83,11 @@ "title": "Oops! Looks like you're lost.", "des": "Let's get you back", "action": "home" + }, + "Link": { + "docs": { + "intro": "https://docs.dokploy.com/get-started/introduction", + "install": "https://docs.dokploy.com/en/docs/core/get-started/introduction" + } } } diff --git a/apps/website/locales/zh-Hans.json b/apps/website/locales/zh-Hans.json index cbd848e3..1ef36e23 100644 --- a/apps/website/locales/zh-Hans.json +++ b/apps/website/locales/zh-Hans.json @@ -83,5 +83,11 @@ "title": "糟糕!看起来你迷路了。", "des": "让我们送你", "action": "回家" + }, + "Link": { + "docs": { + "intro": "https://docs.dokploy.com/cn/docs/core/get-started/introduction", + "install": "https://docs.dokploy.com/cn/docs/core/get-started/introduction" + } } }