website/_components/header.tsx

19 lines
442 B
TypeScript
Raw Normal View History

2023-07-26 16:34:06 -04:00
export interface Props {
heading: string;
subheading?: string;
}
export default function(props: Props) {
return (
<header className="page-header">
<h1>{ props.heading }</h1>
<div className="separator">
<span className="outer-outline"/>
<span className="icon">󱀝</span>
<span className="outer-outline"/>
</div>
<p className="subheading">{ props.subheading }</p>
</header>
)
}