diff --git a/.claude/settings.local.json b/.claude/settings.local.json
new file mode 100644
index 0000000..a31ff41
--- /dev/null
+++ b/.claude/settings.local.json
@@ -0,0 +1,12 @@
+{
+ "permissions": {
+ "allow": [
+ "Bash(npm run build:*)",
+ "Bash(npm install:*)",
+ "Bash(ls:*)",
+ "Bash(node scripts/optimize-images.js:*)",
+ "Bash(node scripts/optimize-images.cjs:*)",
+ "Skill(frontend-design)"
+ ]
+ }
+}
diff --git a/src/components/home/BackgroundAnimations.tsx b/src/components/home/BackgroundAnimations.tsx
index 9e6c928..35c02e0 100644
--- a/src/components/home/BackgroundAnimations.tsx
+++ b/src/components/home/BackgroundAnimations.tsx
@@ -2,22 +2,22 @@ import { motion } from 'framer-motion';
import { useMemo } from 'react';
const BackgroundAnimations = () => {
- // Reduced particles for better performance (30 -> 12)
+ // Particles with better visibility (increased opacity and size)
const particles = useMemo(() => {
- return Array.from({ length: 12 }, (_, i) => ({
+ return Array.from({ length: 18 }, (_, i) => ({
id: i,
x: Math.random() * 100,
y: Math.random() * 100,
- size: Math.random() * 2 + 1,
- duration: Math.random() * 12 + 8,
+ size: Math.random() * 4 + 2, // Larger particles (2-6px instead of 1-3px)
+ duration: Math.random() * 10 + 6,
delay: Math.random() * 4,
- opacity: Math.random() * 0.5 + 0.2,
+ opacity: Math.random() * 0.4 + 0.5, // Much higher opacity (0.5-0.9)
}));
}, []);
- // Reduced circuit nodes for performance (12 -> 6)
+ // Circuit nodes for tech effect
const circuitNodes = useMemo(() => {
- return Array.from({ length: 6 }, (_, i) => ({
+ return Array.from({ length: 8 }, (_, i) => ({
id: i,
x: Math.random() * 80 + 10,
y: Math.random() * 80 + 10,
@@ -25,10 +25,10 @@ const BackgroundAnimations = () => {
}));
}, []);
- // Reduced connection lines (half as many)
+ // Connection lines between nodes
const connectionLines = useMemo(() => {
const lines = [];
- for (let i = 0; i < circuitNodes.length - 1; i += 2) {
+ for (let i = 0; i < circuitNodes.length - 1; i++) {
if (i + 1 < circuitNodes.length) {
lines.push({
id: i,
@@ -44,72 +44,106 @@ const BackgroundAnimations = () => {
return (
- {/* Simplified Static Grid Background - no animation for better performance */}
-
- {/* SVG Container for Lines and Nodes - optimized */}
-
);
};