mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-03 07:06:36 +08:00
26 lines
590 B
TypeScript
26 lines
590 B
TypeScript
import { Suspense } from 'react';
|
|
import { Globe } from 'lucide-react';
|
|
import { LoadingStateWithBorder } from '@/components/layout/loading';
|
|
import { ZonePageClient } from './page-client';
|
|
|
|
export async function generateStaticParams() {
|
|
return [{ zoneId: '1' }];
|
|
}
|
|
|
|
export default async function ZonePage() {
|
|
return (
|
|
<Suspense
|
|
fallback={
|
|
<div className='py-6 px-1'>
|
|
<LoadingStateWithBorder
|
|
icon={Globe}
|
|
description='加载 Zone 详情中...'
|
|
/>
|
|
</div>
|
|
}
|
|
>
|
|
<ZonePageClient />
|
|
</Suspense>
|
|
);
|
|
}
|