From 00b443072c8c6e4846384ac626a8f9cc4adcc7a7 Mon Sep 17 00:00:00 2001 From: RedRock Date: Thu, 19 Jun 2025 22:41:35 +0300 Subject: [PATCH] fix: component naming --- .github/workflows/main.yaml | 2 +- src/core/constants/privacy-policy.ts | 2 +- src/views/privacy-policy/ui.tsx | 5 ++++- src/widgets/advanced-phone-input/index.ts | 2 +- .../{advanced-phone-input.module.scss => styles.module.scss} | 0 .../{advanced-phone-input.tsx => ui.tsx} | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) rename src/widgets/advanced-phone-input/{advanced-phone-input.module.scss => styles.module.scss} (100%) rename src/widgets/advanced-phone-input/{advanced-phone-input.tsx => ui.tsx} (97%) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fb40c55..87651b4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Notify Telegram start building uses: appleboy/telegram-action@master diff --git a/src/core/constants/privacy-policy.ts b/src/core/constants/privacy-policy.ts index c76d67c..ae98b7e 100644 --- a/src/core/constants/privacy-policy.ts +++ b/src/core/constants/privacy-policy.ts @@ -1,5 +1,5 @@ const COMPANY = '«ООО ДИТРАСО»'; -const WEB = 'https://www.fire-expert.ru/'; +const WEB = 'fire-expert.ru'; const EMAIL = 'spo-71@yandex.ru'; export { COMPANY, WEB, EMAIL }; diff --git a/src/views/privacy-policy/ui.tsx b/src/views/privacy-policy/ui.tsx index 7338ce1..53d0d8d 100644 --- a/src/views/privacy-policy/ui.tsx +++ b/src/views/privacy-policy/ui.tsx @@ -502,7 +502,10 @@ export default function PrivacyPolicy() {
  • 12.3. Актуальная версия Политики в свободном доступе расположена в сети Интернет по адресу{' '} - {WEB + '/privacy-policy'}. + {`https://${WEB}/privacy-policy`} + .
  • diff --git a/src/widgets/advanced-phone-input/index.ts b/src/widgets/advanced-phone-input/index.ts index d9ceda9..eae6ea9 100644 --- a/src/widgets/advanced-phone-input/index.ts +++ b/src/widgets/advanced-phone-input/index.ts @@ -1 +1 @@ -export { default as AdvancedPhoneInput } from './advanced-phone-input'; +export { default as AdvancedPhoneInput } from './ui'; diff --git a/src/widgets/advanced-phone-input/advanced-phone-input.module.scss b/src/widgets/advanced-phone-input/styles.module.scss similarity index 100% rename from src/widgets/advanced-phone-input/advanced-phone-input.module.scss rename to src/widgets/advanced-phone-input/styles.module.scss diff --git a/src/widgets/advanced-phone-input/advanced-phone-input.tsx b/src/widgets/advanced-phone-input/ui.tsx similarity index 97% rename from src/widgets/advanced-phone-input/advanced-phone-input.tsx rename to src/widgets/advanced-phone-input/ui.tsx index 2a870c5..f5f2d72 100644 --- a/src/widgets/advanced-phone-input/advanced-phone-input.tsx +++ b/src/widgets/advanced-phone-input/ui.tsx @@ -1,6 +1,6 @@ 'use client'; -import s from './advanced-phone-input.module.scss'; +import s from './styles.module.scss'; import { clsx } from 'clsx'; import { Button, PhoneInput } from '@shared/ui'; import { z } from 'zod'; -- 2.49.1