2026-08-28 02:08:12 +08:00
|
|
|
import { Typography } from "@heroui/react";
|
|
|
|
|
|
2026-07-26 06:42:41 +08:00
|
|
|
export function PageHeader({ title, desc }: { title: string; desc: string }) {
|
|
|
|
|
return (
|
|
|
|
|
<>
|
2026-08-28 02:08:12 +08:00
|
|
|
<Typography.Heading level={2} className="text-xl font-bold text-foreground mb-1">
|
|
|
|
|
{title}
|
|
|
|
|
</Typography.Heading>
|
|
|
|
|
<Typography.Paragraph size="sm" className="text-sm text-muted-foreground mb-6">
|
|
|
|
|
{desc}
|
|
|
|
|
</Typography.Paragraph>
|
2026-07-26 06:42:41 +08:00
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function SectionTitle({ children }: { children: React.ReactNode }) {
|
2026-08-28 02:08:12 +08:00
|
|
|
return (
|
|
|
|
|
<Typography.Heading level={3} className="text-lg font-bold text-foreground mb-3">
|
|
|
|
|
{children}
|
|
|
|
|
</Typography.Heading>
|
|
|
|
|
);
|
2026-07-26 06:42:41 +08:00
|
|
|
}
|