This is using Astro 4.0
I would like to create a component called Path.astro where I have all the images from assets/path/images.webp inside, and when I call the component on another, I just type something like <Path nihility/> in example, and this automatically enables the Nihility image.
Does anyone have an idea to optimally do this?
I can think of ways, but I feel like they're very suboptimal, and would still require a lot of manual work.