diff --git a/app/layout.tsx b/app/layout.tsx index cb7f459..d31bbec 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -18,7 +18,6 @@ const fontMono = Geist_Mono({ export const metadata: Metadata = { title: "oTunes", description: "Our Music", - // keywords: ["Next.js", "React", "SEO"], } export default function RootLayout({ diff --git a/app/library/artists/page.tsx b/app/library/artists/page.tsx index d92ff2b..d556863 100644 --- a/app/library/artists/page.tsx +++ b/app/library/artists/page.tsx @@ -1,5 +1,5 @@ -import { ArtistCard } from "@/components/artist-card" -import { artists } from "@/lib/data" +import { ArtistsView } from "@/components/artists-view" +import { albums, artists } from "@/lib/data" export default function Page() { return ( @@ -8,13 +8,7 @@ export default function Page() {
{album.title}
diff --git a/components/artists-view.tsx b/components/artists-view.tsx new file mode 100644 index 0000000..6b4538a --- /dev/null +++ b/components/artists-view.tsx @@ -0,0 +1,146 @@ +"use client" + +import * as React from "react" +import Image from "next/image" +import Link from "next/link" +import { + ChevronRightIcon, + MoreHorizontal, + Play, + Shuffle, + Star, +} from "lucide-react" + +import { AlbumCard } from "@/components/album-card" +import { Button } from "@/components/ui/button" +import { ScrollArea } from "@/components/ui/scroll-area" +import { cn } from "@/lib/utils" +import type { Album, Artist } from "@/lib/data" + +function ArtistAvatar({ artist }: { artist: Artist }) { + return ( ++ No albums for this artist. +
+ )} +