FIX: customer logos

Fixed HiDPI customer logos
This commit is contained in:
webfussel 2025-01-29 13:57:12 +01:00
parent 73aeba36e8
commit eb531e2783
32 changed files with 25 additions and 12 deletions

1
utils/image.ts Normal file
View file

@ -0,0 +1 @@
export const getImage = (path : string, img : string) => (size : '1x' | '2x' | '3x', set : boolean) => `${path}${img}@${size}.webp${set ? ` ${size}` : ''}`