bg formes with drop-shadow filter and white border (like paper)

This commit is contained in:
2026-02-20 22:37:44 +01:00
parent 207f12052e
commit 367e2353ce
14 changed files with 1070 additions and 3 deletions

View File

@@ -254,7 +254,8 @@ gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
// forme.classList.add(_formesclasses[n]);
// inject svg from file
const response = await fetch(`/themes/custom/mathallo/assets/img/formes/${_formesclasses[n]}.svg`)
// const response = await fetch(`/themes/custom/mathallo/assets/img/formes/${_formesclasses[n]}.svg`)
const response = await fetch(`/themes/custom/mathallo/assets/img/formes/bordure/${_formesclasses[n]}.svg`)
const svgText = await response.text();
forme.innerHTML = svgText;