Skip to content

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

🐛 fix: credits

Dillion Vermaec1e91bd6278
diff --git a/content/components/border-beam.mdx b/content/components/border-beam.mdx
index 2cd722d6..2f3ff38c 100644
--- a/content/components/border-beam.mdx
+++ b/content/components/border-beam.mdx
@@ -91,4 +91,4 @@ export default async function App() {
## Credits
- Credit to [@linear](https://linear.app/) where I first saw this effect.
-- Credit to [@jh3yy](https://twitter.com/jh3yy) for the inspiration to create this component.
+- Credit to [@jh3yy](https://twitter.com/jh3yy) for sharing his implementation of this effect.
diff --git a/registry/components/example/border-beam-demo.tsx b/registry/components/example/border-beam-demo.tsx
index f5edebe0..d8686424 100644
--- a/registry/components/example/border-beam-demo.tsx
+++ b/registry/components/example/border-beam-demo.tsx
@@ -5,16 +5,10 @@ export default function BorderBeamDemo() {
<div className="relative rounded-xl">
<img
src="/dashboard-dark.png"
- alt="Hero Image"
- className="hidden max-w-[700px] rounded-[inherit] border object-contain shadow-lg dark:block"
- />
- <img
- src="/dashboard-light.png"
- alt="Hero Image"
- className="block max-w-[700px] rounded-[inherit] border object-contain shadow-lg dark:hidden"
+ className="rounded-[inherit] border object-contain"
/>
- <BorderBeam size={250} duration={12} delay={9} />
+ <BorderBeam />
</div>
);
}