Fix footer in master (patch)

- fix invalid <li> nesting
This commit is contained in:
infinite-persistence 2021-06-08 12:48:15 +08:00
parent 5eae88b553
commit 46d258c439
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -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>
); );
})} })}