mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-18 16:43:56 -05:00
Merge pull request #1056 from ElementUser/bug/1043
Issue 1043: changed <div> tag to <h1> tag for semantic HTML for top-most UI buttons on active page
This commit is contained in:
commit
edc12bec84
|
|
@ -68,7 +68,7 @@ export const Layout = React.memo(function Layout({
|
|||
</header>
|
||||
<Menu expanded={menuOpen} closeMenu={() => setMenuOpen(false)} />
|
||||
{activeNavItem && (
|
||||
<div className="layout__page-title-header">
|
||||
<h1 className="layout__page-title-header">
|
||||
<Image
|
||||
path={navIconUrl(activeNavItem.name)}
|
||||
width={28}
|
||||
|
|
@ -76,7 +76,7 @@ export const Layout = React.memo(function Layout({
|
|||
alt=""
|
||||
/>
|
||||
{t(`pages.${activeNavItem.name}` as any)}
|
||||
</div>
|
||||
</h1>
|
||||
)}
|
||||
{children}
|
||||
<Footer patrons={patrons} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user