diff --git a/sites/svelte.dev/src/routes/_components/Supporters/index.svelte b/sites/svelte.dev/src/routes/_components/Supporters/index.svelte index 589e10dda097..ae7cdf347644 100644 --- a/sites/svelte.dev/src/routes/_components/Supporters/index.svelte +++ b/sites/svelte.dev/src/routes/_components/Supporters/index.svelte @@ -2,6 +2,11 @@ import { Section } from '@sveltejs/site-kit/components'; import contributors from './contributors.js'; import donors from './donors.js'; + + // @ts-ignore + import contributors_img from './contributors.jpg?w=1200&format=webp;jpg&as=picture'; + // @ts-check + import donors_img from './donors.jpg?w=1200&format=webp;jpg&as=picture';
@@ -20,6 +25,7 @@ {contributor} @@ -37,6 +43,7 @@ {donor} {/each} @@ -86,11 +93,11 @@ } .contributors .supporter { - background-image: url(./contributors.jpg); + background-image: -webkit-image-set(url(./contributors.jpg)); } .donors .supporter { - background-image: url(./donors.jpg); + background-image: -webkit-image-set(url(./donors.jpg)); } @media (min-width: 480px) {