mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
adds primary landmark elements to page component
This commit is contained in:
parent
db523537a4
commit
0bf3192b42
1 changed files with 6 additions and 6 deletions
|
@ -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 />
|
||||||
|
|
Loading…
Reference in a new issue