Scaling images partenaires

This commit is contained in:
Olivier Demers 2023-03-16 12:23:57 -04:00
parent 40379bbbef
commit 0bacc14f6b
2 changed files with 21 additions and 18 deletions

7
src/app.d.ts vendored
View File

@ -10,8 +10,11 @@ declare global {
const out: string;
export default out;
}
declare module '*.png?width=600&webp' {
declare module '*.png?height=600&width=600&fit=contain&background=transparent&webp' {
const out: string;
export default out;
}
declare module '*.png?width=600&fit=contain&background=transparent&webp' {
const out: string;
export default out;
}

View File

@ -1,20 +1,20 @@
<script lang="ts">
import primewood from '$lib/assets/partenaires/primewood.png?width=600&webp';
import machinex from '$lib/assets/partenaires/machinex.png?width=600&webp';
import atocas from '$lib/assets/partenaires/atocas.png?width=600&webp';
import usnr from '$lib/assets/partenaires/usnr.png?width=600&webp';
import boisdaction from '$lib/assets/partenaires/boisdaction.png?width=600&webp';
import jit from '$lib/assets/partenaires/jit.png?width=600&webp';
import batteriesexpert from '$lib/assets/partenaires/batteriesexpert.png?width=600&webp';
import carbotech from '$lib/assets/partenaires/carbotech.png?width=600&webp';
import festivalduboeuf from '$lib/assets/partenaires/festivalduboeuf.png?width=600&webp';
import mrc from '$lib/assets/partenaires/mrc.png?width=600&webp';
import robovic from '$lib/assets/partenaires/robovic.png?width=600&webp';
import ville from '$lib/assets/partenaires/ville.png?width=600&webp';
import homedepot from '$lib/assets/partenaires/homedepot.png?width=600&webp';
import manoir from '$lib/assets/partenaires/manoir.png?width=600&webp';
import bombardier from '$lib/assets/partenaires/bombardier.png?width=600&webp';
import hydroquebec from '$lib/assets/partenaires/hydroquebec.png?width=600&webp';
import primewood from '$lib/assets/partenaires/primewood.png?height=600&width=600&fit=contain&background=transparent&webp';
import machinex from '$lib/assets/partenaires/machinex.png?height=600&width=600&fit=contain&background=transparent&webp';
import atocas from '$lib/assets/partenaires/atocas.png?height=600&width=600&fit=contain&background=transparent&webp';
import usnr from '$lib/assets/partenaires/usnr.png?height=600&width=600&fit=contain&background=transparent&webp';
import boisdaction from '$lib/assets/partenaires/boisdaction.png?height=600&width=600&fit=contain&background=transparent&webp';
import jit from '$lib/assets/partenaires/jit.png?height=600&width=600&fit=contain&background=transparent&webp';
import batteriesexpert from '$lib/assets/partenaires/batteriesexpert.png?height=600&width=600&fit=contain&background=transparent&webp';
import carbotech from '$lib/assets/partenaires/carbotech.png?height=600&width=600&fit=contain&background=transparent&webp';
import festivalduboeuf from '$lib/assets/partenaires/festivalduboeuf.png?height=600&width=600&fit=contain&background=transparent&webp';
import mrc from '$lib/assets/partenaires/mrc.png?height=600&width=600&fit=contain&background=transparent&webp';
import robovic from '$lib/assets/partenaires/robovic.png?height=600&width=600&fit=contain&background=transparent&webp';
import ville from '$lib/assets/partenaires/ville.png?height=600&width=600&fit=contain&background=transparent&webp';
import homedepot from '$lib/assets/partenaires/homedepot.png?height=600&width=600&fit=contain&background=transparent&webp';
import manoir from '$lib/assets/partenaires/manoir.png?height=600&width=600&fit=contain&background=transparent&webp';
import bombardier from '$lib/assets/partenaires/bombardier.png?width=600&fit=contain&background=transparent&webp';
import hydroquebec from '$lib/assets/partenaires/hydroquebec.png?height=600&width=600&fit=contain&background=transparent&webp';
</script>
<div class="container">