import type { Metadata } from 'next'; import { publicApi } from '@/lib/services'; import { resolveUploadUrl } from '@/lib/utils'; export const metadata: Metadata = { title: '团队介绍', description: '认识我们的核心团队成员。', }; export const revalidate = 60; export default async function TeamPage() { const team = await publicApi.getTeam().catch(() => []); return (

团队介绍

由经验丰富的专业人士组成

{team.map((m) => (
{/* eslint-disable-next-line @next/next/no-img-element */} {m.name}

{m.name}

{m.position}

{m.desc && (

{m.desc}

)}
))}
{team.length === 0 && (
暂无成员
)}
); }