hts/apps/migrant/app/[locale]/manage/overview/page.tsx

68 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Steps } from "antd";
import Link from "next/link";
import { redirect } from "next/navigation";
import { AttributeListItem, CreateApiButton } from "../staffs/create-api-button";
import { Button } from "@/components/ui/button";
export default function OverviewPage() {
// return redirect("/app/apis");
const description = 'This is a description.';
return (
<div className=" w-11/12 lg:w-2/3 xl:w-3/5 mx-auto text-[1.75rem] text-[#737373">
<div className="pt-[4rem]">
<Steps
className=""
current={0}
items={[
{
title: '探索',
description: "",
},
{
title: '创建客服',
description: "",
subTitle: '',
},
{
title: '上线',
description: "",
},
]}
/>
</div>
<div className="mt-10 flex min-h-[400px] flex-col items-center justify-center space-y-6 rounded-lg border border-dashed px-4 md:mt-24">
<h3 className="text-center text-xl font-semibold leading-none tracking-tight md:text-2xl">
</h3>
<p className="text-center text-sm text-gray-500 md:text-base">
AI客服之前
</p>
{/* <Link
href="/new"
className="mr-3 rounded-lg bg-gray-800 px-4 py-2 text-center text-sm font-medium text-white hover:bg-gray-500 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:bg-gray-600 dark:hover:bg-gray-500 dark:focus:ring-gray-800"
>
探索
</Link> */}
<section className="my-4 flex flex-col gap-4 md:flex-row md:items-center">
{/* <CreateApiButton key="createApi" /> */}
{/* manage/new/ */}
<Link
href="/manage/new/"
>
<Button className="w-full items-center gap-2 ">
</Button>
</Link>
</section>
</div>
</div>
)
}