Wire production domain, CORS for tenant subdomains, celery volume mounts, and nginx reverse proxy configs for apex, API, identity, auth, and wildcard tenants. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
549 B
TypeScript
20 lines
549 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
export interface SectionTitleProps {
|
|
title: string;
|
|
subtitle?: string;
|
|
action?: ReactNode;
|
|
}
|
|
|
|
export function SectionTitle({ title, subtitle, action }: SectionTitleProps) {
|
|
return (
|
|
<div className="mb-6 flex flex-wrap items-end justify-between gap-3">
|
|
<div>
|
|
<h2 className="text-xl font-bold text-secondary sm:text-2xl">{title}</h2>
|
|
{subtitle ? <p className="mt-1 text-sm text-gray-500">{subtitle}</p> : null}
|
|
</div>
|
|
{action}
|
|
</div>
|
|
);
|
|
}
|