From 593201ae103ca76f6cb06525d0b71745f3d0a28a Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 11:30:26 +0200 Subject: [PATCH] feat: add dotted glow background and enhance stack section animations --- components.json | 3 +- src/components/StackSectionLight.tsx | 106 ++++--- src/components/ui/dotted-glow-background.tsx | 308 +++++++++++++++++++ tsconfig.json | 13 +- 4 files changed, 381 insertions(+), 49 deletions(-) create mode 100644 src/components/ui/dotted-glow-background.tsx diff --git a/components.json b/components.json index 9bfecee..de4a620 100644 --- a/components.json +++ b/components.json @@ -19,6 +19,7 @@ "hooks": "@/hooks" }, "registries": { - "@magicui": "https://magicui.design/r/{name}.json" + "@magicui": "https://magicui.design/r/{name}.json", + "@aceternity": "https://ui.aceternity.com/registry/{name}.json" } } diff --git a/src/components/StackSectionLight.tsx b/src/components/StackSectionLight.tsx index 64dd717..6871c64 100644 --- a/src/components/StackSectionLight.tsx +++ b/src/components/StackSectionLight.tsx @@ -1,60 +1,72 @@ "use client"; +import { motion } from "framer-motion"; import { StackedCubesLight } from "@/components/ui/StackedCubesLight"; -import { H1, H2, P } from '@/components/Texts'; +import { H2, P } from "@/components/Texts"; import { FadeIn } from "./FadeIn"; +import { DottedGlowBackground } from '@/components/ui/dotted-glow-background'; export function StackSectionLight() { - return ( -
-
-
-