add news to front page and move people to contact page

This commit is contained in:
elisejakob
2024-05-13 02:13:03 +02:00
parent 29cff800db
commit 80421b537a
6 changed files with 86 additions and 18 deletions

View File

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