FairlineDefense / fairline-defense

0 stars 0 forks source link

SVGs take a long time to load #99

Closed jex441 closed 11 months ago

jex441 commented 1 year ago

The SVGs take too long to load. Some of them are as large as 13mb. Is there a way to compress the SVG file size?

If not, can we just use high quality JPGs? I know it was mentioned to use the original SVGs but we can achieve basically the same quality with JPGs with a much better load time.

jex441 commented 1 year ago

@geenalux Hey Geena, are you able to fix this by grouping the gradient and image in Figma, then exporting the group as a JPG and replacing the current SVG background images with those JPGs? That way we get the gradient and image in a smaller file size.

Let me know if you aren't able to get to it. I know we were supposed to use the SVGs but it's not really working at the moment with the load time.

geenalux commented 1 year ago

Not sure if there's a way to export multiple layers in one image file. I'll look into it tomorrow

jex441 commented 1 year ago

@geenalux Awesome - Thanks! If you group the photo and gradient with command G and then export that, it should let you export both layers in one image