diff --git a/assets/css/fonts/Danzza-Bold.woff b/assets/css/fonts/Danzza-Bold.woff new file mode 100644 index 0000000..784a004 Binary files /dev/null and b/assets/css/fonts/Danzza-Bold.woff differ diff --git a/assets/css/fonts/Danzza-Light.woff b/assets/css/fonts/Danzza-Light.woff new file mode 100644 index 0000000..ca55417 Binary files /dev/null and b/assets/css/fonts/Danzza-Light.woff differ diff --git a/assets/css/fonts/Danzza-Medium.woff b/assets/css/fonts/Danzza-Medium.woff new file mode 100644 index 0000000..7a0782a Binary files /dev/null and b/assets/css/fonts/Danzza-Medium.woff differ diff --git a/assets/css/fonts/Danzza-Regular.woff b/assets/css/fonts/Danzza-Regular.woff new file mode 100644 index 0000000..3a8b2cc Binary files /dev/null and b/assets/css/fonts/Danzza-Regular.woff differ diff --git a/assets/css/fonts/PixelifySans-Regular.ttf b/assets/css/fonts/PixelifySans-Regular.ttf new file mode 100644 index 0000000..81993b9 Binary files /dev/null and b/assets/css/fonts/PixelifySans-Regular.ttf differ diff --git a/assets/css/fonts/terminal-grotesque.ttf b/assets/css/fonts/terminal-grotesque.ttf new file mode 100644 index 0000000..3786710 Binary files /dev/null and b/assets/css/fonts/terminal-grotesque.ttf differ diff --git a/assets/fonts/Danzza Bold.otf b/assets/fonts/Danzza-Bold.otf similarity index 100% rename from assets/fonts/Danzza Bold.otf rename to assets/fonts/Danzza-Bold.otf diff --git a/assets/fonts/Danzza-Bold.woff b/assets/fonts/Danzza-Bold.woff new file mode 100644 index 0000000..784a004 Binary files /dev/null and b/assets/fonts/Danzza-Bold.woff differ diff --git a/assets/fonts/Danzza-Light.otf b/assets/fonts/Danzza-Light.otf new file mode 100644 index 0000000..7f14f9c Binary files /dev/null and b/assets/fonts/Danzza-Light.otf differ diff --git a/assets/fonts/Danzza-Light.woff b/assets/fonts/Danzza-Light.woff new file mode 100644 index 0000000..ca55417 Binary files /dev/null and b/assets/fonts/Danzza-Light.woff differ diff --git a/assets/fonts/Danzza Medium.otf b/assets/fonts/Danzza-Medium.otf similarity index 100% rename from assets/fonts/Danzza Medium.otf rename to assets/fonts/Danzza-Medium.otf diff --git a/assets/fonts/Danzza-Medium.woff b/assets/fonts/Danzza-Medium.woff new file mode 100644 index 0000000..7a0782a Binary files /dev/null and b/assets/fonts/Danzza-Medium.woff differ diff --git a/assets/fonts/Danzza Regular.otf b/assets/fonts/Danzza-Regular.otf similarity index 100% rename from assets/fonts/Danzza Regular.otf rename to assets/fonts/Danzza-Regular.otf diff --git a/assets/fonts/Danzza-Regular.woff b/assets/fonts/Danzza-Regular.woff new file mode 100644 index 0000000..3a8b2cc Binary files /dev/null and b/assets/fonts/Danzza-Regular.woff differ diff --git a/site/config/config.php b/site/config/config.php index cbb056b..cf2d942 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -84,30 +84,13 @@ return [ // Thumbs 'thumbs' => [ - 'quality' => 80, 'srcsets' => [ 'default' => [ - '300w' => ['width' => 300], - '600w' => ['width' => 600], - '900w' => ['width' => 900], - '1200w' => ['width' => 1200], - ], - // Galerie portfolio — desktop ~15vw, mobile ~33vw (3 colonnes) - // Widths couvrent 1x et 2x retina pour les deux breakpoints - 'gallery' => [ - '200w' => ['width' => 200], '300w' => ['width' => 300], - '400w' => ['width' => 400], '600w' => ['width' => 600], - '800w' => ['width' => 800], - ], - 'gallery-webp' => [ - '200w' => ['width' => 200, 'format' => 'webp'], - '300w' => ['width' => 300, 'format' => 'webp'], - '400w' => ['width' => 400, 'format' => 'webp'], - '600w' => ['width' => 600, 'format' => 'webp'], - '800w' => ['width' => 800, 'format' => 'webp'], - ], - ], + '900w' => ['width' => 900], + '1200w' => ['width' => 1200] + ] + ] ], ]; \ No newline at end of file diff --git a/site/templates/portfolio.json.php b/site/templates/portfolio.json.php index 22bb3c4..6d0e249 100644 --- a/site/templates/portfolio.json.php +++ b/site/templates/portfolio.json.php @@ -8,11 +8,7 @@ $specificData = [ 'catchphrase' => $project->catchphrase()->value(), 'description' => $project->description()->value(), 'thumbnail' => $project->thumbnail()->toFile()?->url(), - 'images_gallery' => $project->images_gallery()->toFiles()->map(fn($f) => [ - 'src' => $f->url(), - 'srcset' => $f->srcset('gallery'), - 'webp' => $f->srcset('gallery-webp'), - ])->values(), + 'images_gallery' => $project->images_gallery()->toFiles()->map(fn($f) => $f->url())->values(), 'mockup' => $project->mockup()->toFile()?->url(), 'keywords' => $project->keywords()->toStructure()->map(fn($i) => [ 'label' => $i->label()->value(), diff --git a/src/components/ui/GalleryAnimation.svelte b/src/components/ui/GalleryAnimation.svelte index de6faa1..1d237b2 100644 --- a/src/components/ui/GalleryAnimation.svelte +++ b/src/components/ui/GalleryAnimation.svelte @@ -1,8 +1,8 @@