From 8eef28536e52209923f6601b9aa640b94ceeabd9 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 9 Mar 2026 00:05:00 -0500 Subject: [PATCH] =?UTF-8?q?'grok=E5=BB=BA=E8=AE=AE=E5=8A=9F=E8=83=BD'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[locale]/ai/page.tsx | 81 ++++++++++++ app/[locale]/dashboard/page.tsx | 217 ++++++++++++++++++++++++++++++++ app/[locale]/dating/page.tsx | 65 ++++++---- app/[locale]/gigs/page.tsx | 63 ++++++++++ app/[locale]/layout.tsx | 4 +- app/[locale]/pricing/page.tsx | 109 ++++++++++++++++ app/[locale]/report/page.tsx | 79 ++++++++++++ app/[locale]/tools/page.tsx | 131 +++++++++++++++++++ app/components/Footer.tsx | 8 +- app/components/HeroSection.tsx | 88 +++++++------ app/components/Navbar.tsx | 7 +- config/site.config.ts | 7 +- messages/en.json | 136 +++++++++++++++++++- messages/zh.json | 136 +++++++++++++++++++- 14 files changed, 1044 insertions(+), 87 deletions(-) create mode 100644 app/[locale]/ai/page.tsx create mode 100644 app/[locale]/dashboard/page.tsx create mode 100644 app/[locale]/gigs/page.tsx create mode 100644 app/[locale]/pricing/page.tsx create mode 100644 app/[locale]/report/page.tsx create mode 100644 app/[locale]/tools/page.tsx diff --git a/app/[locale]/ai/page.tsx b/app/[locale]/ai/page.tsx new file mode 100644 index 0000000..16fb45f --- /dev/null +++ b/app/[locale]/ai/page.tsx @@ -0,0 +1,81 @@ +"use client"; + +import { useState } from "react"; +import { useTranslation } from "@/i18n/navigation"; +import Footer from "@/app/components/Footer"; + +export default function AIPage() { + const { t } = useTranslation("ai"); + const [query, setQuery] = useState(""); + const [loading, setLoading] = useState(false); + + const exampleQueries = [ + "我预算每月800刀,想亚洲热带,有稳定网,适合freelance写作,推荐城市+理由", + "帮我写下一站介绍文案", + "生成3月清迈行程计划", + ]; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + if (!query.trim()) return; + setLoading(true); + setTimeout(() => setLoading(false), 1500); + }; + + return ( +
+
+
+

+ {t("title")} +

+

+ {t("subtitle")} +

+
+ +
+
+