From a11ed74017dfb0c0ee515e26c5ffefcb5c95f2c7 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Fri, 11 Oct 2024 22:39:38 -0300 Subject: [PATCH] Landing page --- src/app/_components/h1.tsx | 7 +++++++ src/app/_components/h4.tsx | 15 +++++++++++++++ src/app/_components/login-page.tsx | 21 ++++++++++++++++++--- src/app/_components/spotify-login.tsx | 4 ++-- src/styles/globals.css | 26 ++++++++++++++++++++++++++ 5 files changed, 68 insertions(+), 5 deletions(-) create mode 100644 src/app/_components/h1.tsx create mode 100644 src/app/_components/h4.tsx diff --git a/src/app/_components/h1.tsx b/src/app/_components/h1.tsx new file mode 100644 index 0000000..20a0d9f --- /dev/null +++ b/src/app/_components/h1.tsx @@ -0,0 +1,7 @@ +export function TypographyH1({ children }: { children: React.ReactNode }) { + return ( +

+ {children} +

+ ); +} diff --git a/src/app/_components/h4.tsx b/src/app/_components/h4.tsx new file mode 100644 index 0000000..b2a07db --- /dev/null +++ b/src/app/_components/h4.tsx @@ -0,0 +1,15 @@ +export function TypographyH4({ + children, + className, +}: { + children: React.ReactNode; + className: string; +}) { + return ( +

+ {children} +

+ ); +} diff --git a/src/app/_components/login-page.tsx b/src/app/_components/login-page.tsx index 1500089..2e02e77 100644 --- a/src/app/_components/login-page.tsx +++ b/src/app/_components/login-page.tsx @@ -1,10 +1,25 @@ +import Link from "next/link"; +import { TypographyH1 } from "./h1"; +import { TypographyH4 } from "./h4"; import SpotifyLogin from "./spotify-login"; export function LoginPage() { return ( -
-

Spooky Spotify Showcase

- +
+
+ Spooky Spotify Showcase + + + franp-code's Cloudinary participation + + +
+
); } diff --git a/src/app/_components/spotify-login.tsx b/src/app/_components/spotify-login.tsx index b4e579f..5ae69cc 100644 --- a/src/app/_components/spotify-login.tsx +++ b/src/app/_components/spotify-login.tsx @@ -2,14 +2,14 @@ import { MdiSpotify } from "./spotify-icon"; -export default function SpotifyLogin() { +export default function SpotifyLogin({ className }: { className?: string }) { const loginToSpotify = () => { window.location.href = "/api/spotify-login"; }; return (