diff --git a/apps/fronted/src/app/(public)/[locale]/page.tsx b/apps/fronted/src/app/(public)/[locale]/page.tsx index bf82325..9237a25 100644 --- a/apps/fronted/src/app/(public)/[locale]/page.tsx +++ b/apps/fronted/src/app/(public)/[locale]/page.tsx @@ -6,6 +6,7 @@ import Header from "@/components/home/Header"; import FeaturesAnimation from "@/components/home/FeaturesAnimation"; import HeroAnimation from "@/components/home/HeroAnimation"; import { setRequestLocale } from "next-intl/server"; +import GoDashboard from "@/components/home/GoDashboard"; type Props = { params: { locale: string }; @@ -29,14 +30,15 @@ export default function LandingPage({ params: { locale } }: Props) { {t("hero.subtitle")}

- + - +
diff --git a/apps/fronted/src/app/app/dashboard/resumes/page.tsx b/apps/fronted/src/app/app/dashboard/resumes/page.tsx index efc2d8c..a69d3dc 100644 --- a/apps/fronted/src/app/app/dashboard/resumes/page.tsx +++ b/apps/fronted/src/app/app/dashboard/resumes/page.tsx @@ -131,7 +131,7 @@ const ResumeWorkbench = () => { size="sm" className="ml-4" onClick={() => { - router.push("/dashboard/settings"); + router.push("/app/dashboard/settings"); }} > diff --git a/apps/fronted/src/components/editor/Field.tsx b/apps/fronted/src/components/editor/Field.tsx index cd1bbcf..af625aa 100644 --- a/apps/fronted/src/components/editor/Field.tsx +++ b/apps/fronted/src/components/editor/Field.tsx @@ -136,7 +136,7 @@ const Field = ({ 请先配置 ApiKey 和 模型Id diff --git a/apps/fronted/src/components/home/GoDashboard.tsx b/apps/fronted/src/components/home/GoDashboard.tsx index 057e22f..043fa68 100644 --- a/apps/fronted/src/components/home/GoDashboard.tsx +++ b/apps/fronted/src/components/home/GoDashboard.tsx @@ -1,18 +1,10 @@ import { useTranslations } from "next-intl"; -import { Button } from "../ui/button"; import { GoDashboardAction } from "@/actions/navigation"; -export default function GoDashboard() { - const t = useTranslations("home"); - - return ( -
- -
- ); +export default function GoDashboard({ + children, +}: { + children: React.ReactNode; +}) { + return
{children}
; } diff --git a/apps/fronted/src/components/home/Header.tsx b/apps/fronted/src/components/home/Header.tsx index 9a7487e..db8187f 100644 --- a/apps/fronted/src/components/home/Header.tsx +++ b/apps/fronted/src/components/home/Header.tsx @@ -8,6 +8,7 @@ import ThemeToggle from "@/components/shared/ThemeToggle"; import GitHubStars from "@/components/shared/GitHubStars"; import LanguageSwitch from "../shared/LanguageSwitch"; import GoDashboard from "./GoDashboard"; +import { Button } from "../ui/button"; export default function Header() { const [mounted, setMounted] = useState(false); @@ -77,7 +78,14 @@ export default function Header() { - + + + diff --git a/apps/fronted/src/components/preview/PreviewDock.tsx b/apps/fronted/src/components/preview/PreviewDock.tsx index ce9e9d1..c9a265c 100644 --- a/apps/fronted/src/components/preview/PreviewDock.tsx +++ b/apps/fronted/src/components/preview/PreviewDock.tsx @@ -64,7 +64,7 @@ export const PreviewDock = ({ {t("grammarCheck.configurePrompt")}