Skip to content

Commit 3b40bb8

Browse files
committed
Improve embed pages
1 parent a48c27a commit 3b40bb8

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

src/app/(embed)/layout.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,26 @@ export default async function EmbedLayout({ children }: { children: ReactNode })
1616

1717
return (
1818
<Flex column className="h-screen bg-white">
19-
{/* Minimal header with just the player */}
19+
<div className="bg-amber-500 text-center text-xs font-semibold tracking-wider">
20+
POWERED BY{' '}
21+
<a
22+
href="https://relisten.net"
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
className="underline hover:text-amber-700"
26+
>
27+
RELISTEN.NET
28+
</a>{' '}
29+
&amp;{' '}
30+
<a
31+
href="https://phish.in"
32+
target="_blank"
33+
rel="noopener noreferrer"
34+
className="underline hover:text-amber-700"
35+
>
36+
PHISH.IN
37+
</a>
38+
</div>
2039
<div className="flex h-[50px] min-h-[50px] items-center justify-center border-b border-gray-300 bg-white">
2140
<div className="w-full max-w-2xl">
2241
<Player artistSlugsToName={artistSlugsToName} />

src/app/(embed)/not-found.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export default function NotFound() {
2+
return (
3+
<div className="flex h-full flex-col">
4+
<div className="flex flex-1 items-center justify-center bg-gray-50 px-4">
5+
<div className="mx-auto w-full max-w-lg text-center">
6+
<h1 className="text-3xl font-semibold text-gray-900">404 - Show Not Found</h1>
7+
</div>
8+
</div>
9+
</div>
10+
);
11+
}
12+
13+
export const metadata = {
14+
title: '404 - Page Not Found',
15+
};

0 commit comments

Comments
 (0)