This commit introduces end-to-end tests for the user and team billing features. It also enhances existing billing configurations, logging, and error handling mechanisms. Refactoring has been done to simplify the code and make it more readable. Adjustments have also been made in the visual aspects of some components. The addition of these tests will help ensure the reliability of the billing features.
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
import { cn } from '@kit/ui/utils';
|
|
|
|
export function SitePageHeader(props: {
|
|
title: string;
|
|
subtitle: string;
|
|
className?: string;
|
|
}) {
|
|
return (
|
|
<div className={cn('border-b py-8 xl:py-12 2xl:py-14', props.className)}>
|
|
<div className={'container flex flex-col space-y-4'}>
|
|
<h1 className={'font-base text-3xl xl:text-5xl'}>{props.title}</h1>
|
|
|
|
<h2 className={'text-muted-foreground xl:text-lg 2xl:text-xl'}>
|
|
{props.subtitle}
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|