diff --git a/apps/embed/public/styles.css b/apps/embed/public/styles.css index dd253500..deb8378b 100644 --- a/apps/embed/public/styles.css +++ b/apps/embed/public/styles.css @@ -1349,6 +1349,9 @@ .m-\[20px\] { margin: 20px; } +.m-auto { + margin: auto; +} .filter { display: flex; flex-wrap: wrap; @@ -1464,9 +1467,15 @@ .mt-\[-6px\] { margin-top: -6px; } +.mt-\[5px\] { + margin-top: 5px; +} .mt-\[10px\] { margin-top: 10px; } +.mt-\[20px\] { + margin-top: 20px; +} .mr-\[5px\] { margin-right: 5px; } @@ -1482,6 +1491,12 @@ .mr-\[25px\] { margin-right: 25px; } +.mb-\[5px\] { + margin-bottom: 5px; +} +.mb-\[10px\] { + margin-bottom: 10px; +} .mb-\[15px\] { margin-bottom: 15px; } @@ -1727,6 +1742,9 @@ .max-h-\[18px\] { max-height: 18px; } +.max-h-\[20-px\] { + max-height: 20-px; +} .max-h-\[20px\] { max-height: 20px; } @@ -1748,6 +1766,12 @@ .max-h-\[100px\] { max-height: 100px; } +.max-h-\[200px\] { + max-height: 200px; +} +.max-h-\[250px\] { + max-height: 250px; +} .min-h-screen { min-height: 100vh; } @@ -1779,12 +1803,21 @@ outline-style: none; } } +.w-1\/2 { + width: calc(1/2 * 100%); +} +.w-1\/3 { + width: calc(1/3 * 100%); +} .w-\[30px\] { width: 30px; } .w-\[60px\] { width: 60px; } +.w-fit { + width: fit-content; +} .w-full { width: 100%; } @@ -1812,6 +1845,12 @@ .max-w-\[100px\] { max-width: 100px; } +.max-w-\[200px\] { + max-width: 200px; +} +.max-w-\[250px\] { + max-width: 250px; +} .max-w-full { max-width: 100%; } @@ -1912,6 +1951,9 @@ .rounded-\[5px\] { border-radius: 5px; } +.rounded-\[8px\] { + border-radius: 8px; +} .rounded-box { border-radius: var(--radius-box); } @@ -2341,6 +2383,9 @@ .\!bg-base-100 { background-color: var(--color-base-100) !important; } +.bg-\[\#00fff3\] { + background-color: #00fff3; +} .bg-\[var\(--color-avatar-background\)\] { background-color: var(--color-avatar-background); } @@ -2366,6 +2411,9 @@ .pr-\[15px\] { padding-right: 15px; } +.text-center { + text-align: center; +} .align-bottom { vertical-align: bottom; } @@ -2402,6 +2450,9 @@ .whitespace-nowrap { white-space: nowrap; } +.text-\[\#ff2876\] { + color: #ff2876; +} .text-\[var\(--color-genre\)\] { color: var(--color-genre); } diff --git a/apps/embed/src/embeds/AlbumEmbedPage.tsx b/apps/embed/src/embeds/AlbumEmbedPage.tsx index c966ed52..19f5da83 100644 --- a/apps/embed/src/embeds/AlbumEmbedPage.tsx +++ b/apps/embed/src/embeds/AlbumEmbedPage.tsx @@ -1,3 +1,3 @@ export function AlbumEmbedPage() { - return <>>; + return <>Album>; } diff --git a/apps/embed/src/embeds/ArtistEmbedPage.tsx b/apps/embed/src/embeds/ArtistEmbedPage.tsx index 03cb1ba4..961885c6 100644 --- a/apps/embed/src/embeds/ArtistEmbedPage.tsx +++ b/apps/embed/src/embeds/ArtistEmbedPage.tsx @@ -1,3 +1,3 @@ export function ArtistEmbedPage() { - return <>>; + return <>Artist>; } diff --git a/apps/embed/src/embeds/NowPlayingEmbedPage.tsx b/apps/embed/src/embeds/NowPlayingEmbedPage.tsx index 5991e02a..c3b84644 100644 --- a/apps/embed/src/embeds/NowPlayingEmbedPage.tsx +++ b/apps/embed/src/embeds/NowPlayingEmbedPage.tsx @@ -1,3 +1,3 @@ export function NowPlayingEmbedPage() { - return <>>; + return <>Now Playing>; } diff --git a/apps/embed/src/embeds/ScrobbleEmbedPage.tsx b/apps/embed/src/embeds/ScrobbleEmbedPage.tsx new file mode 100644 index 00000000..8ec8255c --- /dev/null +++ b/apps/embed/src/embeds/ScrobbleEmbedPage.tsx @@ -0,0 +1,58 @@ +import dayjs from "dayjs"; +import type { Profile } from "../types/profile"; +import type { Scrobble } from "../types/scrobble"; + +export type ScrobbleEmbedPageProps = { + profile: Profile; + scrobble: Scrobble; +}; + +export function ScrobbleEmbedPage(props: ScrobbleEmbedPageProps) { + console.log("ScrobbleEmbedPage props:", props); + return ( +
- This is server-side rendered with Tailwind CSS -
+