about : extract team carousel into TeamCarousel component (swiper)

Replace inline carousel logic with a dedicated TeamCarousel.svelte component.
Uses SwiperJS for mobile peek (1.4 slides), tablet (2) and desktop (4) layouts,
with touch swipe, pagination dots and prev/next buttons.

related to #53

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-04-02 14:52:15 +02:00
parent 6ec32dd82a
commit 4ccbad9663
4 changed files with 238 additions and 238 deletions

20
package-lock.json generated
View file

@ -13,6 +13,7 @@
"gsap": "^3.14.2",
"navaid": "^1.2.0",
"svelte": "^5.0.0",
"swiper": "^12.1.3",
"vite": "7.0.4"
},
"devDependencies": {
@ -1278,6 +1279,25 @@
"node": ">=18"
}
},
"node_modules/swiper": {
"version": "12.1.3",
"resolved": "https://registry.npmjs.org/swiper/-/swiper-12.1.3.tgz",
"integrity": "sha512-XcWlVmkHFICI4fuoJKgbp8PscDcS4i7pBH8nwJRBi3dpQvhCySwsWRYm4bOf/BzKVWkHOYaFw7qz9uBSrY3oug==",
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/swiperjs"
},
{
"type": "open_collective",
"url": "http://opencollective.com/swiper"
}
],
"license": "MIT",
"engines": {
"node": ">= 4.7.0"
}
},
"node_modules/tinyglobby": {
"version": "0.2.15",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",