💄(app-desk) handle svg as react component

The svg in nextjs was not handled as a react component, it was
not possible to change dynamically the color of the svg by example.
We add the @svgr/webpack, it will handle the svg as react component.
We keep as well the way next.js handle the svg, so we can use both
ways.
To handle the svg in the next way we need to add the
`?url` at the end of the svg import.
This commit is contained in:
Anthony LC
2024-01-26 13:07:46 +01:00
committed by Anthony LC
parent 32e42e126d
commit ce55721b5d
9 changed files with 1202 additions and 25 deletions

File diff suppressed because it is too large Load Diff