UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update text light ray demo
Dillion Verma67e77094be07
diff --git a/apps/www/public/r/light-rays-demo.json b/apps/www/public/r/light-rays-demo.jsonindex 258b676e..67218ae5 100644--- a/apps/www/public/r/light-rays-demo.json+++ b/apps/www/public/r/light-rays-demo.json@@ -9,7 +9,7 @@"files": [{"path": "registry/example/light-rays-demo.tsx",- "content": "import { LightRays } from \"@/registry/magicui/light-rays\"\n\nexport default function Demo() {\n return (\n <div className=\"relative h-[500px] w-full overflow-hidden rounded-lg border\">\n <div className=\"relative z-10 flex h-full flex-col items-center justify-center gap-4 px-6 text-center\">\n <span className=\"text-xs font-semibold tracking-[0.35em] text-slate-800/60 uppercase dark:text-slate-200/60\">\n Ambient glow\n </span>\n <h1 className=\"text-foreground text-4xl font-bold md:text-5xl\">\n Light Rays\n </h1>\n <p className=\"max-w-md text-sm text-slate-800/80 md:text-base dark:text-slate-200/80\">\n Drop this component into any container and it will fill the space with\n softly animated beams moving across a geometric grid backdrop.\n </p>\n </div>\n <LightRays />\n </div>\n )\n}\n",+ "content": "import { LightRays } from \"@/registry/magicui/light-rays\"\n\nexport default function Demo() {\n return (\n <div className=\"relative h-[500px] w-full overflow-hidden rounded-lg border\">\n <div className=\"relative z-10 flex h-full flex-col items-center justify-center gap-4 px-6 text-center\">\n <span className=\"text-xs font-semibold tracking-[0.35em] text-slate-800/60 uppercase dark:text-slate-200/60\">\n Ambient glow\n </span>\n <h1 className=\"text-foreground text-4xl font-bold md:text-5xl\">\n Light Rays\n </h1>\n <p className=\"max-w-md text-sm text-slate-800/80 md:text-base dark:text-slate-200/80\">\n Drop this component into any container and it will fill the space with\n softly animated light rays shining from above.\n </p>\n </div>\n <LightRays />\n </div>\n )\n}\n","type": "registry:example"}]diff --git a/apps/www/registry/example/light-rays-demo.tsx b/apps/www/registry/example/light-rays-demo.tsxindex 6357585a..2148e2f5 100644--- a/apps/www/registry/example/light-rays-demo.tsx+++ b/apps/www/registry/example/light-rays-demo.tsx@@ -12,7 +12,7 @@ export default function Demo() {</h1><p className="max-w-md text-sm text-slate-800/80 md:text-base dark:text-slate-200/80">Drop this component into any container and it will fill the space with- softly animated beams moving across a geometric grid backdrop.+ softly animated light rays shining from above.</p></div><LightRays />