Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: update seo

Dillion Verma205bc7c18cab
diff --git a/app/(docs)/components/[slug]/page.tsx b/app/(docs)/components/[slug]/page.tsx
index 90ca38b8..fecbb813 100644
--- a/app/(docs)/components/[slug]/page.tsx
+++ b/app/(docs)/components/[slug]/page.tsx
@@ -46,11 +46,11 @@ export async function generateMetadata({
} = component;
return constructMetadata({
- title: `${title} - Magic UI`,
+ title: `${title} | Magic UI`,
description,
image,
openGraph: {
- title: `${title} - Magic UI`,
+ title: `${title} | Magic UI`,
description,
type: "article",
publishedTime,
diff --git a/app/(docs)/components/page.tsx b/app/(docs)/components/page.tsx
index 111bc7a8..d71c2d5e 100644
--- a/app/(docs)/components/page.tsx
+++ b/app/(docs)/components/page.tsx
@@ -5,7 +5,7 @@ import { compareDesc } from "date-fns";
import Link from "next/link";
export const metadata = constructMetadata({
- title: "Components - Magic UI",
+ title: "Components | Magic UI",
description:
"Beautiful UI components to make your landing page look stunning.",
});
diff --git a/app/(docs)/templates/page.tsx b/app/(docs)/templates/page.tsx
index 63197712..dadb7627 100644
--- a/app/(docs)/templates/page.tsx
+++ b/app/(docs)/templates/page.tsx
@@ -4,7 +4,7 @@ import { FadeIn } from "@/registry/components/magicui/fade-in";
import Link from "next/link";
export const metadata = constructMetadata({
- title: "Templates - Magic UI",
+ title: "Templates | Magic UI",
description: "Beautiful templates to make your landing page look stunning.",
});
diff --git a/components/component-wrapper.tsx b/components/component-wrapper.tsx
index ee543711..e2ef8cb5 100644
--- a/components/component-wrapper.tsx
+++ b/components/component-wrapper.tsx
@@ -20,7 +20,7 @@ const ComponentWrapper = ({ className, children }: ComponentWrapperProps) => {
<div
className={cn(
- `absolute inset-0 -z-10 h-full w-full [background-size:16px_16px]`,
+ `absolute inset-0 -z-50 h-full w-full [background-size:16px_16px]`,
`bg-[radial-gradient(#00000055_1px,transparent_1px)] dark:bg-[radial-gradient(#ffffff22_1px,transparent_1px)]`
)}
style={