fix(web): remove the temporary carousel preview route

The preview page and its dev-only access were only used to check heading alignment.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
joshuafhigginsandCursor committed 2026-10-09 13:53:21 -04:00 Verified
1 parent 36f588cc75
commit d743f36ba7
3 files changed
-35

No files matched your search

@@ -1,33 +0,0 @@
"use client"
import { ContentCarousel } from "@/components/content-carousel"
import type { Id } from "@otunes/convex/_generated/dataModel"
import type { BrowseAlbum } from "@otunes/convex/types"
const albums: BrowseAlbum[] = Array.from({ length: 8 }, (_, index) => ({
id: `album-${index}` as Id<"albums">,
title: `Album ${index + 1}`,
cover: null,
artist: {
id: "artist-1" as Id<"artists">,
name: "Preview Artist",
photo: null,
},
}))
export default function CarouselPreviewPage() {
return (
<div className="flex flex-col gap-10 p-6">
<ContentCarousel
title="Recently Played"
href="/recently-played"
content={albums}
/>
<ContentCarousel
title="Recently Added"
href="/recently-added"
content={albums}
/>
</div>
)
}
-1
View File
@@ -2,7 +2,6 @@ import path from "node:path"
import type { NextConfig } from "next"
const nextConfig: NextConfig = {
allowedDevOrigins: ["192.168.86.253"],
output: "standalone",
outputFileTracingRoot: path.join(__dirname, "../../"),
experimental: {
-1
View File
@@ -14,7 +14,6 @@ const isPublic = createRouteMatcher([
"/artist/:id",
"/artists/:id",
"/playlist/:id",
"/carousel-preview",
])
export default convexAuthNextjsMiddleware(