From ce1aafa81092b54dfad158ad4592d4249098e0dd Mon Sep 17 00:00:00 2001 From: Salam-vsem Date: Mon, 19 May 2025 01:27:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=BF=D1=8F=D1=82=D1=8C=20=D1=84=D0=B8?= =?UTF-8?q?=D0=BA=D1=81=D0=B8=D0=BC=20=D1=81=D0=BB=D0=B0=D0=B9=D0=B4=D0=B5?= =?UTF-8?q?=D1=80=D1=8B=20+=20=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- src/components/Footer.astro | 24 ++++++--- src/components/GymGallery.tsx | 18 ++++++- src/components/Hero.astro | 49 +++++++++--------- src/components/Reviews.tsx | 3 +- src/components/Section.astro | 41 +++++++-------- src/components/header/Header.astro | 16 ++++-- src/components/swiper/MediaSwiper.tsx | 10 +++- .../swiper/MediaSwiperWithThumbs.tsx | 15 ++---- src/content/pages/assets/hero.jpg | Bin 0 -> 140265 bytes src/content/pages/main.md | 2 +- src/i18n/ui.ts | 2 +- src/layouts/BaseLayout.astro | 17 +++++- src/libs/image.ts | 1 - src/pages/coaches/[...slug].astro | 7 ++- src/pages/index.astro | 4 +- src/styles/global.css | 5 +- tailwind.config.js | 2 +- 18 files changed, 129 insertions(+), 89 deletions(-) create mode 100644 src/content/pages/assets/hero.jpg diff --git a/Dockerfile b/Dockerfile index 3ebedca..8569669 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app # Install dependencies first to leverage Docker cache COPY package*.json ./ -RUN npm ci --no-audit --no-fund --production && \ +RUN npm ci --no-audit --no-fund --omit=dev && \ npm cache clean --force # Copy source code and build diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 29c981e..2627b4b 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -15,14 +15,22 @@ const t = useTranslations(lang) ---