The image I created in Figma was exported as an SVG and consists of a collage made up of 11 other images. However, the image does not display correctly on Safari, neither on my MacBook nor iPhone, but it renders fine on Chrome. What could be causing this issue? You can view the original file after exporting from Figma here.
Here is the SVG code along with some of the image encoding:
<svg width="1440" height="1107" viewBox="0 0 1440 1107" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
(SVG code here)
This is how I'm trying to render the SVG image using Next.JS:
<Image
className="absolute left-0 top-0 h-full w-full object-cover object-center"
src="/assets/Hero.svg"
fill={true}
/>
I also attempted using the <img> tag but that didn't solve the problem.