Compare commits

...
Author SHA1 Message Date
Chris Tate ffdaaec244 redirect for /docs/registry 2026-02-05 10:09:57 -06:00
4 changed files with 16 additions and 9 deletions
+3 -6
View File
@@ -116,13 +116,10 @@ const customPrompt = catalog.prompt({
<h2 className="text-xl font-semibold mt-12 mb-4">Next</h2>
<p className="text-sm text-muted-foreground">
Learn how to{" "}
<Link
href="/docs/components"
className="text-foreground hover:underline"
>
register React components
<Link href="/docs/registry" className="text-foreground hover:underline">
register components
</Link>{" "}
for your catalog.
in your registry.
</p>
</article>
);
+1 -1
View File
@@ -24,7 +24,7 @@ const navigation = [
title: "Core Concepts",
items: [
{ title: "Catalog", href: "/docs/catalog" },
{ title: "Components", href: "/docs/components" },
{ title: "Registry", href: "/docs/registry" },
{ title: "Data Binding", href: "/docs/data-binding" },
{ title: "Actions", href: "/docs/actions" },
{ title: "Visibility", href: "/docs/visibility" },
+11 -1
View File
@@ -1,4 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
async redirects() {
return [
{
source: "/docs/components",
destination: "/docs/registry",
permanent: true,
},
];
},
};
export default nextConfig;
File diff suppressed because one or more lines are too long