From c5148f6de6d88d58b33484e9ac3a88e32144d4c1 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Fri, 11 Oct 2024 22:17:12 -0300 Subject: [PATCH] Login button --- src/app/_components/spotify-icon.tsx | 19 +++++++++++++++++++ src/app/_components/spotify-login.tsx | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/app/_components/spotify-icon.tsx diff --git a/src/app/_components/spotify-icon.tsx b/src/app/_components/spotify-icon.tsx new file mode 100644 index 0000000..c87860c --- /dev/null +++ b/src/app/_components/spotify-icon.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import type { SVGProps } from "react"; + +export function MdiSpotify(props: SVGProps) { + return ( + + + + ); +} diff --git a/src/app/_components/spotify-login.tsx b/src/app/_components/spotify-login.tsx index 195c27e..b4e579f 100644 --- a/src/app/_components/spotify-login.tsx +++ b/src/app/_components/spotify-login.tsx @@ -1,5 +1,7 @@ "use client"; +import { MdiSpotify } from "./spotify-icon"; + export default function SpotifyLogin() { const loginToSpotify = () => { window.location.href = "/api/spotify-login"; @@ -7,9 +9,10 @@ export default function SpotifyLogin() { return ( );