Files
GeyserWebsite/src/components/HeroBanner/index.tsx
T
2024-07-15 16:31:22 +01:00

18 lines
470 B
TypeScript

import React from 'react';
import styles from './styles.module.scss';
const HeroBanner = ({ title, subheading, backgroundImage }) => {
return (
<div
className={styles.heroBanner}
style={{ backgroundImage: `url(${backgroundImage})` }}
>
<div className={styles.textSection}>
<h1>{title}</h1>
<p>{subheading}</p>
</div>
</div>
);
};
export default HeroBanner;