Every slide background should be included in each slide as follows:
Add the illustration svg of the slide to it's folder with the name [slideId]Slide.background.svg (e.g. TourPagesSlide.background.svg).
Import the illustration in the component file like this import [slideId]Background from "./[slideId]Slide.background.svg?react", the ?react is very important!
Add the imported svg to the html and give it the class background like this: <[slideId]Background className="background" />
Every slide background should be included in each slide as follows:
Add the illustration svg of the slide to it's folder with the name
[slideId]Slide.background.svg
(e.g.TourPagesSlide.background.svg
).Import the illustration in the component file like this
import [slideId]Background from "./[slideId]Slide.background.svg?react"
, the?react
is very important!Add the imported svg to the html and give it the class
background
like this:<[slideId]Background className="background" />