mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 23:40:39 +02:00
refactor(v2): add missing main landmark for needed pages (#2858)
This commit is contained in:
parent
7cba7f0d06
commit
ae91234e0f
6 changed files with 11 additions and 11 deletions
|
@ -29,7 +29,7 @@ function Feedback() {
|
|||
permalink="/feedback"
|
||||
title="Feedback"
|
||||
description="Docusaurus 2 Feedback page">
|
||||
<div
|
||||
<main
|
||||
className={classnames(
|
||||
'container',
|
||||
'margin-vert--xl',
|
||||
|
|
|
@ -21,7 +21,7 @@ const DESCRIPTION =
|
|||
function Showcase() {
|
||||
return (
|
||||
<Layout title={TITLE} description={DESCRIPTION}>
|
||||
<div className="container margin-vert--lg">
|
||||
<main className="container margin-vert--lg">
|
||||
<div className="text--center margin-bottom--xl">
|
||||
<h1>{TITLE}</h1>
|
||||
<p>{DESCRIPTION}</p>
|
||||
|
@ -71,7 +71,7 @@ function Showcase() {
|
|||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ function Version() {
|
|||
title="Versions"
|
||||
permalink="/versions"
|
||||
description="Docusaurus 2 Versions page listing all documented site versions">
|
||||
<div className="container margin-vert--lg">
|
||||
<main className="container margin-vert--lg">
|
||||
<h1>Docusaurus documentation versions</h1>
|
||||
<div className="margin-bottom--lg">
|
||||
<h3 id="latest">Latest version (Stable)</h3>
|
||||
|
@ -96,7 +96,7 @@ function Version() {
|
|||
</table>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue