Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Add /home page

Richie McIlroy4d2a4121f04a
diff --git a/apps/web/app/home/page.tsx b/apps/web/app/home/page.tsx
new file mode 100644
index 000000000..7f27da9ef
--- /dev/null
+++ b/apps/web/app/home/page.tsx
@@ -0,0 +1,13 @@
+import { HomePage } from "@/components/pages/HomePage";
+import { Metadata } from "next";
+
+export const metadata: Metadata = {
+ robots: {
+ index: false,
+ follow: false,
+ },
+};
+
+export default async function Home() {
+ return <HomePage />;
+}
diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts
index 1262c2bc0..cbcbdffda 100644
--- a/apps/web/app/robots.ts
+++ b/apps/web/app/robots.ts
@@ -25,6 +25,7 @@ export default function robots(): MetadataRoute.Robots {
"/invite",
"/onboarding",
"/record",
+ "/home", // Explicitly disallow the /home route
],
},
],