More layout fiddling and error page

This commit is contained in:
Gregory Schier
2023-03-04 22:26:00 -08:00
parent ae24cd4939
commit 8ad301a666
12 changed files with 96 additions and 40 deletions

View File

@@ -0,0 +1,12 @@
import classnames from 'classnames';
import type { HTMLAttributes } from 'react';
type Props = HTMLAttributes<HTMLHeadingElement>;
export function Heading({ className, children, ...props }: Props) {
return (
<h1 className={classnames(className, 'text-2xl font-semibold text-gray-900 mb-3')} {...props}>
{children}
</h1>
);
}