mirror of
https://github.com/tomru/advcal.git
synced 2026-03-02 22:17:17 +01:00
29 lines
683 B
JavaScript
29 lines
683 B
JavaScript
import React from "react";
|
|
|
|
const links = [
|
|
{ href: "https://youtube.com", label: "Youtube" },
|
|
{ href: "https://www.discogs.com/", label: "Discog" },
|
|
{ href: "https://findmusicbylyrics.com/", label: "Find music by Lyrics" },
|
|
{ href: "https://musicbrainz.org/", label: "MusicBrainz" }
|
|
].map(link => {
|
|
link.key = `nav-link-${link.href}-${link.label}`;
|
|
return link;
|
|
});
|
|
|
|
const Nav = () => (
|
|
<nav className="ad-nav">
|
|
<ul>
|
|
<li>Für die Recherche:</li>
|
|
{links.map(({ key, href, label }) => (
|
|
<li key={key}>
|
|
<a href={href} target="_blank">
|
|
{label}
|
|
</a>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</nav>
|
|
);
|
|
|
|
export default Nav;
|