Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions apps/www/public/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3484,12 +3484,10 @@ import { Backlight } from "@/registry/magicui/backlight"

export default function BacklightVideoDemo() {
return (
<Backlight blur={40}>
<Backlight blur={40} className="w-full">
<iframe
className="block aspect-video max-w-lg rounded-xl"
width="512"
height="288"
src="https://www.youtube.com/embed/qxzbh6vPRZg"
className="mx-auto aspect-video w-full max-w-lg"
src="https://www.youtube.com/embed/9CJLtzzUphU"
title="Gradient Loop Background"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
Expand All @@ -3508,9 +3506,9 @@ import { Backlight } from "@/registry/magicui/backlight"

export default function BacklightImageDemo() {
return (
<Backlight>
<Backlight className="w-full">
<img
className="block max-w-lg rounded-xl"
className="mx-auto h-auto w-full max-w-lg rounded-xl"
src={
"https://plus.unsplash.com/premium_photo-1672201106204-58e9af7a2888?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/www/public/r/backlight-image-demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"files": [
{
"path": "registry/example/backlight-image-demo.tsx",
"content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightImageDemo() {\n return (\n <Backlight>\n <img\n className=\"block max-w-lg rounded-xl\"\n src={\n \"https://plus.unsplash.com/premium_photo-1672201106204-58e9af7a2888?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n }\n alt=\"fancy gradient background\"\n />\n </Backlight>\n )\n}\n",
"content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightImageDemo() {\n return (\n <Backlight className=\"w-full\">\n <img\n className=\"mx-auto h-auto w-full max-w-lg rounded-xl\"\n src={\n \"https://plus.unsplash.com/premium_photo-1672201106204-58e9af7a2888?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n }\n alt=\"fancy gradient background\"\n />\n </Backlight>\n )\n}\n",
"type": "registry:example"
}
]
Expand Down
2 changes: 1 addition & 1 deletion apps/www/public/r/backlight-video-demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"files": [
{
"path": "registry/example/backlight-video-demo.tsx",
"content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightVideoDemo() {\n return (\n <Backlight blur={40}>\n <iframe\n className=\"block aspect-video max-w-lg rounded-xl\"\n width=\"512\"\n height=\"288\"\n src=\"https://www.youtube.com/embed/qxzbh6vPRZg\"\n title=\"Gradient Loop Background\"\n allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"\n referrerPolicy=\"strict-origin-when-cross-origin\"\n allowFullScreen\n ></iframe>\n </Backlight>\n )\n}\n",
"content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightVideoDemo() {\n return (\n <Backlight blur={40} className=\"w-full\">\n <iframe\n className=\"mx-auto aspect-video w-full max-w-lg\"\n src=\"https://www.youtube.com/embed/9CJLtzzUphU\"\n title=\"Gradient Loop Background\"\n allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"\n referrerPolicy=\"strict-origin-when-cross-origin\"\n allowFullScreen\n ></iframe>\n </Backlight>\n )\n}\n",
"type": "registry:example"
}
]
Expand Down
4 changes: 2 additions & 2 deletions apps/www/registry/example/backlight-image-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Backlight } from "@/registry/magicui/backlight"

export default function BacklightImageDemo() {
return (
<Backlight>
<Backlight className="w-full">
<img
className="block max-w-lg rounded-xl"
className="mx-auto h-auto w-full max-w-lg rounded-xl"
src={
"https://plus.unsplash.com/premium_photo-1672201106204-58e9af7a2888?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
}
Expand Down
8 changes: 3 additions & 5 deletions apps/www/registry/example/backlight-video-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import { Backlight } from "@/registry/magicui/backlight"

export default function BacklightVideoDemo() {
return (
<Backlight blur={40}>
<Backlight blur={40} className="w-full">
<iframe
className="block aspect-video max-w-lg rounded-xl"
width="512"
height="288"
src="https://www.youtube.com/embed/qxzbh6vPRZg"
className="mx-auto aspect-video w-full max-w-lg"
src="https://www.youtube.com/embed/9CJLtzzUphU"
title="Gradient Loop Background"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
Expand Down
Loading