The admin functionality related code has been removed which includes various user and organization functionalities like delete, update, ban etc. This includes action logic, UI components and supportive utility functions. Notable deletions include the server action files, dialog components for actions like banning and deleting, and related utility functions. This massive cleanup is aimed at simplifying the codebase and the commit reflects adherence to project restructuring.
21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
import { Heading } from '@kit/ui/heading';
|
|
import { cn } from '@kit/ui/utils';
|
|
|
|
export function SitePageHeader(props: {
|
|
title: string;
|
|
subtitle: string;
|
|
className?: string;
|
|
}) {
|
|
return (
|
|
<div
|
|
className={cn('flex flex-col items-center space-y-2.5', props.className)}
|
|
>
|
|
<Heading level={1}>{props.title}</Heading>
|
|
|
|
<Heading level={2} className={'text-muted-foreground'}>
|
|
<span className={'font-normal'}>{props.subtitle}</span>
|
|
</Heading>
|
|
</div>
|
|
);
|
|
}
|