Skip to content

Commit 5833b13

Browse files
committed
Updates
1 parent 084f9f8 commit 5833b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/AnimatedCoding.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ const Icon = React.memo(({ svg, index }) => (
3232

3333
const AnimatedCoding = () => {
3434
const SVGS_PER_ROW = 5;
35-
const ROW_HEIGHT = 64; // 48px icon + 16px gap
35+
const ROW_HEIGHT = 64;
3636
const rows = Math.ceil(svgList.length / SVGS_PER_ROW);
3737
const contentHeight = rows * ROW_HEIGHT;
38-
const animationDuration = contentHeight / 12; // 12px per second
38+
const animationDuration = contentHeight / 12;
3939

4040
const doubledSvgList = React.useMemo(() => [...svgList, ...svgList], []);
4141

0 commit comments

Comments
 (0)