From 9139977cd63c096dc1ccd434e3e5923659d4e6d3 Mon Sep 17 00:00:00 2001 From: bilalgursen Date: Thu, 30 Jul 2026 04:22:46 +0300 Subject: [PATCH] Update Parallax component style formatting and enhance pixel heat function readability. Update app.db to reflect recent changes. --- data/app.db | Bin 135168 -> 135168 bytes src/components/parallax.tsx | 4 +--- src/components/use-pixel-heat.ts | 6 +++++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/data/app.db b/data/app.db index 8ec2fc370b56bbd183ef056599fbb3b78be8e52e..629d9610b3278e57909071d7ec8b3bfbfe7f11ed 100644 GIT binary patch delta 419 zcmZozz|pXPV}dl}{)sZqjQblCwk9zCl61*%b}b9`^l@=2H;W9-ceFGt@C|WIb9c^5 zN-A=8HBHYdeh^$x?iZ1oVp0%ZmR%m~;+AM;;O?EA9T4f8QDS5i;!-u;QJzt0`T;4% zs_CjyjEd}8OD|^u@%AKX#-qZjglu3}VfJO5o-fU)usuhgaW}sLLF?S@8Ta#rF!Jx> zFX30`d(1bNFJ!ZzfCC?wI~$iTuPG-3Bj@yZKSnb~o9$Em80!_8I9q`7d7Qz;?Cie2 zzAP*(Q5kOOW|an|{ytt&ZblJ_#y8UT&TdiNQYZAw{l{ z#XiL@Sw4l4A%Tgh0WKw})k>+kiJ3V{R!Y+w{TM~~lxnlGmi-5L8tn0(m5kDC+l34m TU-7Aed`HMS_U+33jCUIVS^kE0 delta 270 zcmZozz|pXPV}dl}u8A_vjJp~Wwk9zCl5{Cf@yd@V3W>7tG>@!GHL)x#%l9@i3@dR> zvdl0{PfE=y-jb15R#@gyS?L&NR2Y$#SC*8RVO$yL7f@K7mgwZ==^QcLQJzt0`T;4% zs_FhRj7n^IvRPS`FSaL1GaeOIC1e4+3bQZc^n7VXh3z@|jJx?22-@au&$yp2l#zcI ze+j=j-($YHe4(2K1swUf+}OB$c}+PPI5?)q`7xSppX$e0uLzWS%DMe#C8IPOkjc-# KUAdp}ZUX=U6j)~f diff --git a/src/components/parallax.tsx b/src/components/parallax.tsx index a40da1b..059e9f8 100644 --- a/src/components/parallax.tsx +++ b/src/components/parallax.tsx @@ -54,9 +54,7 @@ export function Parallax({ className={className} // willChange: kayma 0'dan geçerken katmanın compositor'dan düşüp // tekrar oluşturulmasını (raster churn) engeller - style={ - reduceMotion ? { y: 0 } : { y, willChange: "transform" } - } + style={reduceMotion ? { y: 0 } : { y, willChange: "transform" }} > {children} diff --git a/src/components/use-pixel-heat.ts b/src/components/use-pixel-heat.ts index 7a494a5..781405a 100644 --- a/src/components/use-pixel-heat.ts +++ b/src/components/use-pixel-heat.ts @@ -88,7 +88,11 @@ export function usePixelHeat( const isHot = d2 <= radius * radius; if (isHot && !hot.has(p.el)) { hot.add(p.el); - run(p.el, { fill: HOT_COLOR, fillOpacity: HOT_OPACITY }, HEAT_DURATION); + run( + p.el, + { fill: HOT_COLOR, fillOpacity: HOT_OPACITY }, + HEAT_DURATION, + ); } else if (!isHot && hot.has(p.el)) { hot.delete(p.el); run(