type Props = {
  title: string;
  description?: string;
};

export function PageHeader({ title, description }: Props) {
  const desc = description?.trim();
  return (
    <header className="hb-page-title">
      <h1>{title}</h1>
      {desc ? <p>{desc}</p> : null}
    </header>
  );
}
