UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update hero 2 and retro grid
Dillion Verma1d82ef43335f
diff --git a/registry/blocks/example/hero-2.tsx b/registry/blocks/example/hero-2.tsxindex ccc101c2..8343cca1 100644--- a/registry/blocks/example/hero-2.tsx+++ b/registry/blocks/example/hero-2.tsx@@ -105,7 +105,7 @@ export default function Hero() {ease: [0.21, 0.47, 0.32, 0.98],type: "spring",}}- className="relative mt-24 h-full w-full rounded-xl border shadow-2xl"+ className="relative mx-auto mt-24 h-full w-full max-w-[768px] rounded-xl border shadow-2xl"><divclassName={cn(diff --git a/registry/components/magicui/retro-grid.tsx b/registry/components/magicui/retro-grid.tsxindex 13c4108f..bfe0edc5 100644--- a/registry/components/magicui/retro-grid.tsx+++ b/registry/components/magicui/retro-grid.tsx@@ -14,7 +14,7 @@ export default function RetroGrid({ className }: { className?: string }) {className={cn("animate-grid",- "[background-repeat:repeat] [background-size:60px_60px] [height:300vh] [inset:0%_0px] [margin-left:-100%] [transform-origin:100%_0_0] [width:200vw]",+ "[background-repeat:repeat] [background-size:60px_60px] [height:300vh] [inset:0%_0px] [margin-left:-50%] [transform-origin:100%_0_0] [width:200vw]",// Light Styles"[background-image:linear-gradient(to_right,rgba(0,0,0,0.3)_1px,transparent_0),linear-gradient(to_bottom,rgba(0,0,0,0.3)_1px,transparent_0)]",