diff --git a/public/fonts/ClimateCrisis-Regular.ttf b/public/fonts/ClimateCrisis-Regular.ttf new file mode 100644 index 0000000..9f6cdd4 Binary files /dev/null and b/public/fonts/ClimateCrisis-Regular.ttf differ diff --git a/src/app/_components/h1.tsx b/src/app/_components/h1.tsx index 20a0d9f..7ef4fa7 100644 --- a/src/app/_components/h1.tsx +++ b/src/app/_components/h1.tsx @@ -1,6 +1,14 @@ -export function TypographyH1({ children }: { children: React.ReactNode }) { +export function TypographyH1({ + children, + className, +}: { + children: React.ReactNode; + className?: string; +}) { return ( -

+

{children}

); diff --git a/src/app/_components/h2.tsx b/src/app/_components/h2.tsx index aa13fdf..172ed1e 100644 --- a/src/app/_components/h2.tsx +++ b/src/app/_components/h2.tsx @@ -1,12 +1,12 @@ -export function TypographyH2({ - children, - className, -}: { +export function TypographyH2(props: { children: React.ReactNode; className?: string; + [key: string]: any; }) { + const { children, className, ...otherProps } = props; return (

{children} diff --git a/src/app/_components/showcase.tsx b/src/app/_components/showcase.tsx index e584ed4..ecc9d5e 100644 --- a/src/app/_components/showcase.tsx +++ b/src/app/_components/showcase.tsx @@ -6,6 +6,7 @@ import AlbumShowcase from "./album-showcase"; import ArtistShowcase from "./artist-showcase"; import UserShowcase from "./user-showcase"; import { TypographyH2 } from "./h2"; +import { TypographyH1 } from "./h1"; export function Showcase({ userData, @@ -29,7 +30,9 @@ export function Showcase({ - Tracks by album + + Tracks by album + {Object.values(tracksByAlbum) .sort((a, b) => b.position - a.position) .map((album, index) => { @@ -44,7 +47,9 @@ export function Showcase({ /> ); })} -

Artists images

+ + Artists +