website/_components/header.tsx
Foster Hangdaan 185ed9f36e
Remove heading and subheading metadata
We just use `title` and `description` now.
2023-08-03 18:31:28 -04:00

16 lines
310 B
TypeScript

export interface Props {
title: string;
description?: string;
comp: any;
}
export default function(props: Props) {
return (
<header className="page-header">
<h1>{ props.title }</h1>
{props.comp.separator()}
<p className="subheading">{ props.description }</p>
</header>
)
}