Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: added sitemap.xml

dev_wandryca3d5eac4293
diff --git a/app/sitemap.ts b/app/sitemap.ts
new file mode 100644
index 00000000..05949b23
--- /dev/null
+++ b/app/sitemap.ts
@@ -0,0 +1,32 @@
+import type { MetadataRoute } from "next";
+import { source } from "@/source";
+
+const SITE_URL = "https://remocn.dev";
+
+export default function sitemap(): MetadataRoute.Sitemap {
+ const now = new Date();
+
+ const staticRoutes: MetadataRoute.Sitemap = [
+ {
+ url: SITE_URL,
+ lastModified: now,
+ changeFrequency: "weekly",
+ priority: 1,
+ },
+ {
+ url: `${SITE_URL}/sponsors`,
+ lastModified: now,
+ changeFrequency: "monthly",
+ priority: 0.5,
+ },
+ ];
+
+ const docRoutes: MetadataRoute.Sitemap = source.getPages().map((page) => ({
+ url: `${SITE_URL}${page.url}`,
+ lastModified: now,
+ changeFrequency: "weekly",
+ priority: 0.7,
+ }));
+
+ return [...staticRoutes, ...docRoutes];
+}
diff --git a/content/docs/getting-started/cli.mdx b/content/docs/getting-started/cli.mdx
deleted file mode 100644
index e834a39a..00000000
--- a/content/docs/getting-started/cli.mdx
+++ /dev/null
@@ -1,26 +0,0 @@
----
-title: CLI
-description: Install remocn components with the shadcn CLI.
----
-
-remocn ships as a [shadcn registry](https://ui.shadcn.com/docs/registry), so it works with the standard `shadcn` CLI.
-
-## Add a single component
-
-```bash
-npx shadcn@latest add remocn/blur-reveal
-```
-
-## Add multiple at once
-
-```bash
-npx shadcn@latest add remocn/blur-reveal remocn/typewriter
-```
-
-## Browse the registry
-
-Every component on this site has a corresponding entry in the registry manifest. The naming is flat — no subdirectories. Use the slug shown on each component page (e.g. `remocn/blur-reveal`).
-
-## Updating components
-
-Because the files are copied into your project, there's no upgrade path — you own them. To pull a newer version, re-run `add` with the same name and accept the overwrite. Diff against your local edits before committing.
diff --git a/content/docs/getting-started/installation.mdx b/content/docs/getting-started/installation.mdx
index f515fd6c..1c0dc07c 100644
--- a/content/docs/getting-started/installation.mdx
+++ b/content/docs/getting-started/installation.mdx
@@ -17,9 +17,7 @@ Pick the defaults — remocn components are framework-agnostic and only need the
## 2. Add a component
-```bash
-npx shadcn@latest add remocn/blur-reveal
-```
+<InstallBlock name="blur-reveal" />
This copies `blur-reveal.tsx` into `components/remocn/` (or wherever your `components.json` points).
diff --git a/content/docs/getting-started/meta.json b/content/docs/getting-started/meta.json
index af1dcc40..145421c7 100644
--- a/content/docs/getting-started/meta.json
+++ b/content/docs/getting-started/meta.json
@@ -1,4 +1,4 @@
{
"title": "Getting Started",
- "pages": ["introduction", "installation", "cli"]
+ "pages": ["introduction", "installation"]
}