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">
|
||||
<div className={classNames('page', className)}>
|
||||
<div
|
||||
<nav
|
||||
className={classNames({
|
||||
staging: process.env.SCRATCH_ENV === 'staging'
|
||||
})}
|
||||
id="navigation"
|
||||
>
|
||||
<Navigation />
|
||||
</div>
|
||||
<div id="view">
|
||||
</nav>
|
||||
<main id="view">
|
||||
{children}
|
||||
</div>
|
||||
<div id="footer">
|
||||
</main>
|
||||
<footer id="footer">
|
||||
<Footer />
|
||||
</div>
|
||||
</footer>
|
||||
{showDonorRecognition &&
|
||||
<div id="donor">
|
||||
<DonorRecognition />
|
||||
|
|
Loading…
Reference in a new issue