Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): add public collection route layout
Richie McIlroy11aede59ebf8
diff --git a/apps/web/app/c/layout.tsx b/apps/web/app/c/layout.tsxnew file mode 100644index 000000000..8f853e14d--- /dev/null+++ b/apps/web/app/c/layout.tsx@@ -0,0 +1,8 @@+import type { PropsWithChildren } from "react";+import { AppProviders } from "../Layout/AppProviders";++export const dynamic = "force-dynamic";++export default function CollectionsLayout({ children }: PropsWithChildren) {+ return <AppProviders>{children}</AppProviders>;+}diff --git a/apps/web/app/c/page.tsx b/apps/web/app/c/page.tsxnew file mode 100644index 000000000..dd90e99cc--- /dev/null+++ b/apps/web/app/c/page.tsx@@ -0,0 +1,5 @@+import { redirect } from "next/navigation";++export default async function CollectionsPage() {+ redirect("/");+}