From 00a49f0a11ad8d8a66231b235a702cd54f21718b Mon Sep 17 00:00:00 2001 From: tikaiz Date: Wed, 8 Apr 2026 09:20:17 +0200 Subject: [PATCH] Add particle effect --- src/app/app.css | 5 +- src/app/app.html | 2 + src/app/app.spec.ts | 1 + src/app/app.ts | 3 +- .../interactive-background.css | 49 +++ .../interactive-background.html | 11 + .../interactive-background.ts | 344 ++++++++++++++++++ 7 files changed, 413 insertions(+), 2 deletions(-) create mode 100644 src/components/interactive-background/interactive-background.css create mode 100644 src/components/interactive-background/interactive-background.html create mode 100644 src/components/interactive-background/interactive-background.ts diff --git a/src/app/app.css b/src/app/app.css index fac0c1a..5768301 100644 --- a/src/app/app.css +++ b/src/app/app.css @@ -1,9 +1,12 @@ .shell { min-height: 100vh; position: relative; + isolation: isolate; } .content { + position: relative; + z-index: 2; max-width: 1500px; min-height: 100svh; margin: 0 auto; @@ -26,7 +29,7 @@ border-radius: 20px; background: rgba(22, 27, 34, 0.92); backdrop-filter: blur(10px); - z-index: 20; + z-index: 3; } .sidebar-header { diff --git a/src/app/app.html b/src/app/app.html index 579ecd6..d007348 100644 --- a/src/app/app.html +++ b/src/app/app.html @@ -1,4 +1,6 @@
+ +