fix resource page header

This commit is contained in:
kv
2023-09-11 00:04:39 -07:00
parent e27a25b147
commit c53704849a

View File

@@ -66,8 +66,10 @@ interface PageProps {
export const Page = ({ title, subtitle, actions, children }: PageProps) => (
<div className="flex flex-col gap-12 container py-16">
<div className="flex flex-col gap-6 lg:flex-row lg:gap-0 lg:items-start justify-between">
<h1 className="text-4xl">{title}</h1>
<div className="flex flex-col">{subtitle}</div>
<div className="flex flex-col gap-2">
<h1 className="text-4xl">{title}</h1>
<div className="flex flex-col">{subtitle}</div>
</div>
{actions}
</div>
{children}