aboutsummaryrefslogtreecommitdiff
path: root/src/component/MosaicBackground.astro
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-10 13:57:40 +0200
committerWilliam Hergès <william@herges.fr>2025-08-10 13:57:40 +0200
commitd493aceb2c4332b19c1dbcc15535aa8dd483beec (patch)
tree11e4d31ce57cc67bde39d8f41270434c2e7b8172 /src/component/MosaicBackground.astro
parent69f6e7c9f128e4887530b98c6aafbe14acf2b016 (diff)
feat(producteur): better responsiveness
Diffstat (limited to 'src/component/MosaicBackground.astro')
-rw-r--r--src/component/MosaicBackground.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/component/MosaicBackground.astro b/src/component/MosaicBackground.astro
index 8c38bcf..4d110d2 100644
--- a/src/component/MosaicBackground.astro
+++ b/src/component/MosaicBackground.astro
@@ -30,7 +30,7 @@ const { height = "400" } = Astro.props;
line.appendChild(current.cloneNode(true));
currentWidth += ratio * height;
} else {
- console.error("is NaN", current)
+ console.error("is NaN", current);
}
}
}
@@ -45,5 +45,5 @@ const { height = "400" } = Astro.props;
}
e.replaceChildren(...newChildren);
});
- })
+ });
</script>