-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbb9ac5
commit 21d31c0
Showing
3 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { GridContainer } from '@trussworks/react-uswds'; | ||
import styles from '../styles/Hero.module.scss'; | ||
|
||
interface HeroProps { | ||
header: string; | ||
subheader: string; | ||
} | ||
|
||
export default function Hero({ header, subheader }: HeroProps) { | ||
return ( | ||
<section className="usa-graphic-list usa-section usa-section--light-blue"> | ||
<GridContainer> | ||
<div className={styles.content}> | ||
<div className="flex flex-col items-start gap-3 self-start"> | ||
<h1 className={styles.heading}>{header}</h1> | ||
<p className="font-['Source Sans Pro'] max-w-[862px] text-[22px] font-light leading-[33px] text-[#224a58]"> | ||
{subheader} | ||
</p> | ||
</div> | ||
</div> | ||
</GridContainer> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.content { | ||
display: flex; | ||
padding: 0px 30px; | ||
align-items: center; | ||
gap: 60px; | ||
max-width: 1200px; | ||
} | ||
|
||
.heading { | ||
max-width: 965px; | ||
color: #224A58; | ||
font-family: 'Source Sans Pro', sans-serif; | ||
font-size: 40px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: normal; | ||
margin: 0px; | ||
} |