add generic page header component, person section component with headings, ++

This commit is contained in:
elisejakob
2024-05-12 20:53:34 +02:00
parent bf2008c7be
commit 022ed8c143
9 changed files with 114 additions and 27 deletions

View File

@ -0,0 +1,10 @@
import styles from "./pageHeader.module.scss";
export const PageHeader = ({ heading }: { heading: string }) => {
return (
<div className={styles.pageHeader}>
<h1 className={styles.title}>{heading}</h1>
<p className="lead">Lead</p>
</div>
);
};

View File

@ -0,0 +1,3 @@
.pageHeader {
position: relative;
}