Skip to content

Commit ec16905

Browse files
authored
Merge pull request #1430 from processing/semantic-elements
Add <main> to all pages, add semantic HTML updates
2 parents 2308d06 + a0cb035 commit ec16905

File tree

16 files changed

+397
-399
lines changed

16 files changed

+397
-399
lines changed

client/components/Nav.jsx

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -682,21 +682,12 @@ class Nav extends React.PureComponent {
682682
};
683683

684684
return (
685-
<nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}>
686-
{this.renderLeftLayout(navDropdownState)}
687-
{this.renderUserMenu(navDropdownState)}
688-
{/*
689-
<div className="nav__announce">
690-
This is a preview version of the editor, that has not yet been officially released.
691-
It is in development, you can report bugs <a
692-
href="https://github.com/processing/p5.js-web-editor/issues"
693-
target="_blank"
694-
rel="noopener noreferrer"
695-
>here</a>.
696-
Please use with caution.
697-
</div>
698-
*/}
699-
</nav>
685+
<header>
686+
<nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}>
687+
{this.renderLeftLayout(navDropdownState)}
688+
{this.renderUserMenu(navDropdownState)}
689+
</nav>
690+
</header>
700691
);
701692
}
702693
}

0 commit comments

Comments
 (0)