remove nav

This commit is contained in:
Thomas Ruoff
2020-11-28 23:10:25 +01:00
parent c2b331db18
commit 694b5257ad
3 changed files with 0 additions and 32 deletions

View File

@@ -1,28 +0,0 @@
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;

View File

@@ -6,7 +6,6 @@ import AppProvider from "../context/appProvider";
import Header from "../components/header";
import Calendar from "../components/calendar";
import ShowDoorDialog from "../components/showdoordialog";
import Nav from "../components/nav";
const HomeDebug = () => {
return (
@@ -19,7 +18,6 @@ const HomeDebug = () => {
<Header />
<Calendar />
<ShowDoorDialog />
<Nav />
</AppProvider>
</div>
);

View File

@@ -5,7 +5,6 @@ import AppProvider from "../context/appProvider";
import Header from "../components/header";
import Calendar from "../components/calendar";
import ShowDoorDialog from "../components/showdoordialog";
import Nav from "../components/nav";
export default function Home() {
return (
@@ -18,7 +17,6 @@ export default function Home() {
<Header />
<Calendar />
<ShowDoorDialog />
<Nav />
</AppProvider>
</div>
);