adds primary landmark elements to page component

This commit is contained in:
Chris Cuellar 2022-12-02 14:32:07 -08:00
parent db523537a4
commit 0bf3192b42

View file

@ -17,20 +17,20 @@ const Page = ({
}) => ( }) => (
<ErrorBoundary componentName="Page"> <ErrorBoundary componentName="Page">
<div className={classNames('page', className)}> <div className={classNames('page', className)}>
<div <nav
className={classNames({ className={classNames({
staging: process.env.SCRATCH_ENV === 'staging' staging: process.env.SCRATCH_ENV === 'staging'
})} })}
id="navigation" id="navigation"
> >
<Navigation /> <Navigation />
</div> </nav>
<div id="view"> <main id="view">
{children} {children}
</div> </main>
<div id="footer"> <footer id="footer">
<Footer /> <Footer />
</div> </footer>
{showDonorRecognition && {showDonorRecognition &&
<div id="donor"> <div id="donor">
<DonorRecognition /> <DonorRecognition />