fix: background-image via style inline pour éviter la réécriture Vite
All checks were successful
Deploy / Deploy to Production (push) Successful in 21s

Vite traite les url() dans les blocs <style> et réécrit le chemin au build.
Déplacement de l'url en attribut style inline (non traité par Vite).
Annule la tentative de correction via generateBundle.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-03-25 13:44:03 +01:00
parent 411b281317
commit e74e7d249d
2 changed files with 1 additions and 14 deletions

View file

@ -125,7 +125,7 @@
<Cursor />
<Header />
<div class="bg-fixed"></div>
<div class="bg-fixed" style="background-image: url('/assets/img/scrollable-page-background.png')"></div>
<main class="main">
<div
@ -200,7 +200,6 @@
position: fixed;
inset: 0;
z-index: -1;
background-image: url('/assets/img/scrollable-page-background.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;