From 32a397afe0e574b866e920daedad3e03a3201b9a Mon Sep 17 00:00:00 2001 From: flym Date: Fri, 11 Sep 2026 14:51:33 +0800 Subject: [PATCH] Revert "feat: add temporary coming soon homepage" This reverts commit 97abca8f0f6b25e7b39b54ea18f10911488e7fcf. --- app/page.tsx | 126 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 96 insertions(+), 30 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 1c17284..371fd7c 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,40 +1,106 @@ import Link from "next/link"; -import { ArrowRight } from "@/components/icons"; +import { ArrowRight, BluetoothIcon, ChipIcon, SparkIcon, WaveIcon } from "@/components/icons"; +import { ArrowLink, DevPlaceholder, ProductVisual, SectionHeading } from "@/components/ui"; +import { getProducts } from "@/lib/content"; + +const capabilities = [ + { icon: BluetoothIcon, title: "Bluetooth", copy: "稳定连接" }, + { icon: WaveIcon, title: "Audio", copy: "更好的声音体验" }, + { icon: ChipIcon, title: "Embedded", copy: "可靠的硬件与固件" }, + { icon: SparkIcon, title: "AI", copy: "让设备更智能" }, +]; export const dynamic = "force-dynamic"; -export default function HomePage() { +export default async function HomePage() { + const products = await getProducts(); return ( -
-
-
-
-
-
- - Coming soon -
-

连接技术与日常。

-

考町科技官网正在准备中。我们专注于蓝牙周边、音频与智能设备,稍后带来更多产品与技术信息。

-
- 联系我们 - 了解考町科技 -
-
-
- {[ - ["01", "Bluetooth", "稳定连接"], - ["02", "Audio", "更好的声音体验"], - ["03", "AI Lab", "持续探索"], - ].map(([number, title, copy]) => ( -
-

{number}

-

{title}

-

{copy}

+ <> +
+
+
+
+

Connecting technology with everyday life

+

连接技术与日常。

+

我们专注于蓝牙周边、音频与智能设备,持续把可靠的技术变成简单、可用的产品。

+
+ 了解产品 + 探索技术
- ))} +
+
+
+ +
+

Product first

+

真实产品资料待补充

+
+
-
+ +
+
+
+ + 查看全部产品 +
+
+ {!products.length ?
CMS 当前没有已发布产品。产品发布后会自动出现在这里。
: null} + {products.map((product) => ( + + +
+ {product.shortLabel} +

{product.category}

+

{product.name}

+

{product.summary}

+ 查看模板 +
+ + ))} +
+
+
+ +
+
+ +
+ {capabilities.map(({ icon: Icon, title, copy }, index) => ( +
+ +

{title}

{copy}

+
+ ))} +
+
+
+ +
+
+
+

AI Lab

+

让设备更懂声音。

+

从文本转语音开始,探索语音能力在真实产品中的应用。完整工具位于独立工作台,不抢占首页的产品叙事。

+ 体验 TTS +
+
+
+ + Voice / exploration +
+
+
+ +
+
+

About Kaotings

把技术做成日常可用的体验。

+ 了解我们 +
+
+ ); }