Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

887 B
Raw Blame
import { pageMetadata } from "@/lib/metadata";

import { WorkshopListingFallback } from "@/components/workshop/WorkshopApp";
import { WorkshopErrorBoundary } from "@/components/workshop/WorkshopErrorBoundary";
import { WorkshopRoute } from "@/components/workshop/WorkshopRoutes";

export const metadata = pageMetadata({
  path: "/workshop",
  title: "Workshop",
  description: "Community custom CSS and custom widgets for Homarr.",
});

export default function WorkshopPage() {
  const configuredWorkshopUrl = process.env.WORKSHOP_API_URL ?? process.env.WORKSHOP_URL ?? "";

  return (
    <main className="marketplace min-h-[80vh] bg-background text-foreground">
      <WorkshopErrorBoundary>
        <WorkshopRoute configuredWorkshopUrl={configuredWorkshopUrl} />
      </WorkshopErrorBoundary>
      <noscript>
        <WorkshopListingFallback />
      </noscript>
    </main>
  );
}