add news to front page and move people to contact page
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user