From 73413038012d2343a30f0c095eb5430c4bc5111a Mon Sep 17 00:00:00 2001 From: MaryWylde Date: Tue, 17 Feb 2026 20:04:14 +0400 Subject: [PATCH 1/2] chore: remove snow and christmas logo --- src/components/ToolHeader/ToolHeader.module.scss | 4 ++++ src/components/ToolHeader/ToolHeader.tsx | 2 +- src/layouts/UXCoreLayout/UXCoreLayout.tsx | 7 ------- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/ToolHeader/ToolHeader.module.scss b/src/components/ToolHeader/ToolHeader.module.scss index c31eb70..1f72668 100644 --- a/src/components/ToolHeader/ToolHeader.module.scss +++ b/src/components/ToolHeader/ToolHeader.module.scss @@ -31,6 +31,10 @@ $headerHeight: 46px; .logo { padding-top: 12px; + + img { + object-fit: contain; + } } .Links { diff --git a/src/components/ToolHeader/ToolHeader.tsx b/src/components/ToolHeader/ToolHeader.tsx index 425f3b2..736c50e 100644 --- a/src/components/ToolHeader/ToolHeader.tsx +++ b/src/components/ToolHeader/ToolHeader.tsx @@ -299,7 +299,7 @@ const ToolHeader: FC = ({ keepsimple logo = ({ {isCoreView && } {isCoreView && ( <> - {locale !== 'hy' && openPodcast && ( Date: Wed, 18 Feb 2026 14:13:13 +0400 Subject: [PATCH 2/2] build fix --- Dockerfile | 32 +++++++++++++++++++------------- docker-compose.yml | 5 +++++ 2 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile index d635b23..f5f1999 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,22 @@ -FROM node:20.14.0 - -WORKDIR /app +FROM node:20.19.0 AS base +WORKDIR /app -COPY package*.json ./ +FROM base AS deps +COPY package.json yarn.lock ./ +RUN yarn install --frozen-lockfile -RUN yarn install - -COPY . . - -RUN yarn run build:staging - -EXPOSE 3005 - -CMD ["yarn", "run", "start:staging"] +FROM base AS builder +COPY --from=deps /app/node_modules ./node_modules +COPY . . +RUN yarn run build +FROM base AS runner +ENV NODE_ENV=production +WORKDIR /app +COPY --from=builder /app/package.json ./package.json +COPY --from=builder /app/next.config.js ./next.config.js +COPY --from=builder /app/public ./public +COPY --from=builder /app/.next ./.next +COPY --from=builder /app/node_modules ./node_modules +EXPOSE 3005 +CMD ["yarn", "run", "start:staging"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..21a9a41 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + web: + build: . + ports: + - "3005:3005"