Fix footer in master (patch)
- fix invalid <li> nesting
This commit is contained in:
parent
5eae88b553
commit
46d258c439
1 changed files with 11 additions and 9 deletions
|
@ -80,10 +80,11 @@ const sections = [
|
||||||
export default function Footer() {
|
export default function Footer() {
|
||||||
return (
|
return (
|
||||||
<footer className="footer">
|
<footer className="footer">
|
||||||
<ul className="navigation__tertiary footer__links bright ul--no-style">
|
<ul className="navigation__tertiary footer__links ul--no-style">
|
||||||
{sections.map(({ name, links }) => {
|
{sections.map(({ name, links }) => {
|
||||||
return (
|
return (
|
||||||
<li key={name} className="footer__section">
|
<li key={name} className="footer__section">
|
||||||
|
<ul className="ul--no-style">
|
||||||
<div className="footer__section-title">{__(name)}</div>
|
<div className="footer__section-title">{__(name)}</div>
|
||||||
{links.map(({ label, link, navigate }) => {
|
{links.map(({ label, link, navigate }) => {
|
||||||
return (
|
return (
|
||||||
|
@ -92,6 +93,7 @@ export default function Footer() {
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Reference in a new issue