@redneckz/wildless-cms-uni-blocks 0.2.92 → 0.2.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +165 -112
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/api/LikeAPI.js +1 -0
- package/dist/api/LikeAPI.js.map +1 -1
- package/dist/components/Accordion/AccordionBlocks.d.ts +1 -2
- package/dist/components/Accordion/AccordionBlocks.js +2 -2
- package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +38 -14
- package/dist/components/Accordion/AccordionItem.js +9 -10
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +7 -2
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +1 -1
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +11 -6
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.d.ts +9 -1
- package/dist/components/ContentPage/ContentPage.js +20 -17
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/dist/components/ContentPage/toMobilePage.js +13 -2
- package/dist/components/ContentPage/toMobilePage.js.map +1 -1
- package/dist/components/CreditCalculator/CreditCalculator.js +3 -3
- package/dist/components/CreditCalculator/CreditCalculator.js.map +1 -1
- package/dist/components/Footer/Contacts.js +1 -1
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +1 -2
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/Sitemap.js +1 -1
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -2
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -1
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/dist/components/Gallery/GalleryCardInner.js +19 -0
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -0
- package/dist/components/Gallery/GalleryContainer.d.ts +13 -0
- package/dist/components/Gallery/GalleryContainer.js +16 -0
- package/dist/components/Gallery/GalleryContainer.js.map +1 -0
- package/dist/components/Gallery/GalleryContent.d.ts +8 -2
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +8 -36
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Gallery/constants.d.ts +6 -0
- package/dist/components/Gallery/constants.js +19 -0
- package/dist/components/Gallery/constants.js.map +1 -0
- package/dist/components/Header/Header.js +3 -3
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +5 -5
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
- package/dist/components/MobileBlocks.js +0 -3
- package/dist/components/MobileBlocks.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +1 -3
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +8 -3
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/Tile/Tile.js +14 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.js +1 -0
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/hooks/useComparisonTableScroll.d.ts +6 -1
- package/dist/hooks/useComparisonTableScroll.js +1 -1
- package/dist/hooks/useComparisonTableScroll.js.map +1 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/ui-kit/BlockItem/BlockItem.js +4 -4
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +2 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/SearchBar.js +2 -1
- package/dist/ui-kit/SearchBar.js.map +1 -1
- package/lib/api/LikeAPI.js +1 -0
- package/lib/api/LikeAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +1 -4
- package/lib/components/Accordion/AccordionBlocks.d.ts +1 -2
- package/lib/components/Accordion/AccordionBlocks.js +1 -2
- package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +38 -14
- package/lib/components/Accordion/AccordionItem.js +9 -7
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +7 -2
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/Blocks.js +1 -1
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +11 -6
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.d.ts +9 -1
- package/lib/components/ContentPage/ContentPage.js +20 -17
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/lib/components/ContentPage/toMobilePage.js +13 -2
- package/lib/components/ContentPage/toMobilePage.js.map +1 -1
- package/lib/components/CreditCalculator/CreditCalculator.js +3 -3
- package/lib/components/CreditCalculator/CreditCalculator.js.map +1 -1
- package/lib/components/Footer/Contacts.js +1 -1
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +1 -2
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/Sitemap.js +1 -1
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -2
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -1
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/lib/components/Gallery/GalleryCardInner.js +17 -0
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -0
- package/lib/components/Gallery/GalleryContainer.d.ts +13 -0
- package/lib/components/Gallery/GalleryContainer.js +14 -0
- package/lib/components/Gallery/GalleryContainer.js.map +1 -0
- package/lib/components/Gallery/GalleryContent.d.ts +8 -2
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +6 -34
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/Gallery/constants.d.ts +6 -0
- package/lib/components/Gallery/constants.js +17 -0
- package/lib/components/Gallery/constants.js.map +1 -0
- package/lib/components/Header/Header.js +3 -3
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +3 -2
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +7 -7
- package/lib/components/LinkDocs/LinkDocs.js +5 -5
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -2
- package/lib/components/MobileBlocks.js +0 -3
- package/lib/components/MobileBlocks.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +2 -0
- package/lib/components/PictureText/PictureTextContent.d.ts +1 -3
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +8 -3
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +2 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/components/Tile/Tile.js +14 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.js +1 -0
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/hooks/useComparisonTableScroll.d.ts +6 -1
- package/lib/hooks/useComparisonTableScroll.js +1 -1
- package/lib/hooks/useComparisonTableScroll.js.map +1 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/types.d.ts +8 -0
- package/lib/ui-kit/BlockItem/BlockItem.js +4 -4
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +2 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/SearchBar.js +2 -1
- package/lib/ui-kit/SearchBar.js.map +1 -1
- package/package.json +19 -8
- package/src/api/LikeAPI.ts +1 -0
- package/src/components/Accordion/Accordion.example.json +18 -42
- package/src/components/Accordion/Accordion.fixture.tsx +33 -119
- package/src/components/Accordion/AccordionBlocks.tsx +1 -3
- package/src/components/Accordion/AccordionContent.ts +47 -18
- package/src/components/Accordion/AccordionItem.tsx +14 -10
- package/src/components/BaseTile/BaseTile.tsx +13 -5
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +31 -28
- package/src/components/Blocks.ts +1 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +43 -53
- package/src/components/ComparisonTable/ComparisonTable.tsx +8 -8
- package/src/components/ComparisonTable/HeaderCell.tsx +3 -3
- package/src/components/ContentPage/ContentPage.fixture.tsx +3 -3
- package/src/components/ContentPage/ContentPage.page.json +45 -56
- package/src/components/ContentPage/ContentPage.tsx +71 -36
- package/src/components/ContentPage/ContentPageHead.tsx +1 -1
- package/src/components/ContentPage/toMobilePage.ts +19 -2
- package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +9 -1
- package/src/components/CreditCalculator/CreditCalculator.tsx +12 -9
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.fixture.tsx +265 -258
- package/src/components/Footer/Footer.tsx +3 -3
- package/src/components/Footer/FooterContent.ts +1 -1
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +5 -6
- package/src/components/Gallery/Gallery.fixture.tsx +52 -48
- package/src/components/Gallery/Gallery.mobile.tsx +1 -3
- package/src/components/Gallery/GalleryCardInner.tsx +53 -0
- package/src/components/Gallery/GalleryContainer.tsx +58 -0
- package/src/components/Gallery/GalleryContent.ts +8 -2
- package/src/components/Gallery/GalleryInner.tsx +15 -93
- package/src/components/Gallery/constants.ts +22 -0
- package/src/components/Header/Header.tsx +14 -12
- package/src/components/Headline/Headline.fixture.tsx +30 -31
- package/src/components/LikeControl/LikeControl.fixture.tsx +5 -1
- package/src/components/LinkDocs/LinkDocs.example.json +26 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +30 -13
- package/src/components/LinkDocs/LinkDocs.tsx +9 -8
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +12 -22
- package/src/components/MiniGallery/MiniGalleryContent.ts +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
- package/src/components/MobileBlocks.ts +0 -3
- package/src/components/PictureText/PictureText.fixture.tsx +22 -18
- package/src/components/PictureText/PictureTextContent.ts +1 -3
- package/src/components/Placeholder/Placeholder.fixture.tsx +5 -1
- package/src/components/Placeholder/Placeholder.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +83 -76
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -0
- package/src/components/ProductBlock/ProductBlock.tsx +3 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +9 -12
- package/src/components/ProductGallery/ProductGallery.example.json +1 -1
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +103 -106
- package/src/components/ProductGallery/ProductGallery.tsx +7 -5
- package/src/components/ProductTile/ProductTile.fixture.tsx +4 -4
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
- package/src/components/PromoTile/PromoTile.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +21 -18
- package/src/components/TariffsTable/TariffsTable.example.json +3 -1
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +8 -16
- package/src/components/TariffsTable/TariffsTable.tsx +39 -37
- package/src/components/TariffsTable/TariffsTableCell.tsx +4 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +5 -1
- package/src/components/TextBlock/TextBlock.example.json +9 -2
- package/src/components/TextBlock/TextBlock.fixture.tsx +70 -97
- package/src/components/TextBlock/TextBlockContent.ts +1 -2
- package/src/components/Tile/Tile.example.json +5 -2
- package/src/components/Tile/Tile.fixture.tsx +11 -8
- package/src/components/Tile/Tile.tsx +16 -5
- package/src/content-page-repository/ContentPageRepository.ts +1 -0
- package/src/hooks/useComparisonTableScroll.ts +11 -6
- package/src/hooks/useLink.ts +1 -1
- package/src/setup-fixture.ts +1 -2
- package/src/types.ts +11 -1
- package/src/ui-kit/BlockItem/BlockItem.tsx +4 -4
- package/src/ui-kit/Checkbox/Checkbox.tsx +7 -3
- package/src/ui-kit/InputRange/InputRange.tsx +9 -8
- package/src/ui-kit/SearchBar.tsx +15 -6
- package/src/Icons/CalendarCircleIcon.svg +0 -14
- package/src/Icons/CardIcon.svg +0 -11
- package/src/Icons/CardPosIcon.svg +0 -12
- package/src/Icons/CardTickIcon.svg +0 -13
- package/src/Icons/EmptyWalletChangeIcon.svg +0 -21
- package/src/Icons/JCBIcon.svg +0 -42
- package/src/Icons/MastercardIcon.svg +0 -6
- package/src/Icons/MinusIcon.svg +0 -1
- package/src/Icons/MirIcon.svg +0 -13
- package/src/Icons/MoneyIcon.svg +0 -13
- package/src/Icons/MonitorMobileIcon.svg +0 -14
- package/src/Icons/PlusIcon.svg +0 -1
- package/src/Icons/Profile2UserIcon.svg +0 -14
- package/src/Icons/ShieldTickIcon.svg +0 -7
- package/src/Icons/UnionPayIcon.svg +0 -7
- package/src/Icons/UserIcon.svg +0 -11
- package/src/Icons/VisaIcon.svg +0 -7
- package/src/Icons/WalletIcon.svg +0 -19
|
@@ -27,7 +27,7 @@ const STEP_MONEY = 1000;
|
|
|
27
27
|
const STEP_MONTHS = 1;
|
|
28
28
|
const DEFAULT_PAYMENT_TYPE = 'annuity';
|
|
29
29
|
|
|
30
|
-
const borderStyle = 'border-solid border-
|
|
30
|
+
const borderStyle = 'border-solid border-[3px] border-primary-main rounded-md';
|
|
31
31
|
|
|
32
32
|
export const CreditCalculator = JSX<CreditCalculatorProps>(
|
|
33
33
|
({ context, className, directoryName }) => {
|
|
@@ -72,10 +72,12 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
return (
|
|
75
|
-
<section className={`font-sans text-primary-text bg-white p-4 ${className}`}>
|
|
76
|
-
<div
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
<section className={`font-sans text-primary-text bg-white p-4 w-[847px] ${className || ''}`}>
|
|
76
|
+
<div
|
|
77
|
+
className={`box-border p-[49px] pr-[53px] flex flex-col justify-between ${borderStyle}`}
|
|
78
|
+
>
|
|
79
|
+
<div className="flex justify-between ">
|
|
80
|
+
<div className="grow mr-[42px] w-[465px]">
|
|
79
81
|
<InputRange
|
|
80
82
|
title="Желаемая сумма кредита, ₽"
|
|
81
83
|
items={[
|
|
@@ -89,6 +91,7 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
|
|
|
89
91
|
onChange={setMoneyValue}
|
|
90
92
|
/>
|
|
91
93
|
<InputRange
|
|
94
|
+
className="mt-[23px]"
|
|
92
95
|
title="Срок кредита, месяцев"
|
|
93
96
|
items={['Или выберите из предложенных вариантов ниже']}
|
|
94
97
|
min={minMonths}
|
|
@@ -106,14 +109,14 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
|
|
|
106
109
|
onChange={setIsAnnuityChecked}
|
|
107
110
|
/>
|
|
108
111
|
<Checkbox
|
|
109
|
-
className="mb-
|
|
112
|
+
className="mt-3 mb-7"
|
|
110
113
|
text="Комплексная страховая защита"
|
|
111
114
|
checked={isInsuranceChecked}
|
|
112
115
|
onChange={setIsInsuranceChecked}
|
|
113
116
|
/>
|
|
114
117
|
</div>
|
|
115
|
-
<div className="p-9 bg-primary-main rounded-md text-white">
|
|
116
|
-
<div className="text-base mb-
|
|
118
|
+
<div className="basis-[226px] shrink-0 box-border h-fit p-9 bg-primary-main rounded-md text-white">
|
|
119
|
+
<div className="text-base mb-[18px]">Наше предложение</div>
|
|
117
120
|
<div className="text-sm opacity-60">Ежемесячный платёж</div>
|
|
118
121
|
<div className="text-lg mb-3">
|
|
119
122
|
{addSpacesBetweenNumbers(Math.round(montlyPayment))} ₽
|
|
@@ -129,7 +132,7 @@ export const CreditCalculator = JSX<CreditCalculatorProps>(
|
|
|
129
132
|
aria-label="Соглашение на обработку персональных данных"
|
|
130
133
|
>
|
|
131
134
|
Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно
|
|
132
|
-
требованиям ФЗ
|
|
135
|
+
требованиям ФЗ «О персональных данных»
|
|
133
136
|
</div>
|
|
134
137
|
</div>
|
|
135
138
|
</div>
|
|
@@ -4,262 +4,269 @@ import { Footer } from './Footer';
|
|
|
4
4
|
const DEFAULT_ORIGIN = 'https://rshb.ru/';
|
|
5
5
|
|
|
6
6
|
export default (
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
{
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
198
|
-
{
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
{
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
7
|
+
<div className="container grid grid-cols-12">
|
|
8
|
+
<Footer
|
|
9
|
+
className="col-span-12"
|
|
10
|
+
topItems={[
|
|
11
|
+
{
|
|
12
|
+
href: DEFAULT_ORIGIN,
|
|
13
|
+
text: 'Частным клиентам',
|
|
14
|
+
target: '_blank',
|
|
15
|
+
items: [
|
|
16
|
+
{
|
|
17
|
+
href: DEFAULT_ORIGIN,
|
|
18
|
+
text: 'Кредитные карты',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
href: DEFAULT_ORIGIN,
|
|
22
|
+
text: 'Дебетовые карты',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
href: DEFAULT_ORIGIN,
|
|
26
|
+
text: 'Кредиты',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
href: DEFAULT_ORIGIN,
|
|
30
|
+
text: 'Ипотека',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
href: DEFAULT_ORIGIN,
|
|
34
|
+
text: 'Вклады и сбережения',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
href: DEFAULT_ORIGIN,
|
|
38
|
+
text: 'Инвестиции',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
href: DEFAULT_ORIGIN,
|
|
42
|
+
text: 'Страхование',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
href: DEFAULT_ORIGIN,
|
|
46
|
+
text: 'Премиальным клиентам',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
href: DEFAULT_ORIGIN,
|
|
50
|
+
text: 'Биометрическая регистрация',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
href: DEFAULT_ORIGIN,
|
|
54
|
+
text: 'Перевод денег',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
href: DEFAULT_ORIGIN,
|
|
58
|
+
text: 'Обмен денег',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
href: DEFAULT_ORIGIN,
|
|
62
|
+
text: 'Акции',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
href: DEFAULT_ORIGIN,
|
|
66
|
+
text: 'Тарифы',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
href: DEFAULT_ORIGIN,
|
|
70
|
+
text: 'Архивная информация',
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
href: DEFAULT_ORIGIN,
|
|
76
|
+
text: 'Бизнес клиентам',
|
|
77
|
+
target: '_blank',
|
|
78
|
+
items: [
|
|
79
|
+
{
|
|
80
|
+
href: DEFAULT_ORIGIN,
|
|
81
|
+
text: 'РКО',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
href: DEFAULT_ORIGIN,
|
|
85
|
+
text: 'Кредиты',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
href: DEFAULT_ORIGIN,
|
|
89
|
+
text: 'Депозиты',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
href: DEFAULT_ORIGIN,
|
|
93
|
+
text: 'Эквайринг',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
href: DEFAULT_ORIGIN,
|
|
97
|
+
text: 'Банковские карты',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
href: DEFAULT_ORIGIN,
|
|
101
|
+
text: 'ВЭД',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
href: DEFAULT_ORIGIN,
|
|
105
|
+
text: 'Инвестиции',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
href: DEFAULT_ORIGIN,
|
|
109
|
+
text: 'Обмен валюты',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
href: DEFAULT_ORIGIN,
|
|
113
|
+
text: 'Страхование',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
href: DEFAULT_ORIGIN,
|
|
117
|
+
text: 'Партнёрские программы',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
href: DEFAULT_ORIGIN,
|
|
121
|
+
text: 'Онлайн-сервисы',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
href: DEFAULT_ORIGIN,
|
|
125
|
+
text: 'Акции',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
href: DEFAULT_ORIGIN,
|
|
129
|
+
text: 'Тарифы',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
href: DEFAULT_ORIGIN,
|
|
133
|
+
text: 'Архивная информация',
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
href: DEFAULT_ORIGIN,
|
|
139
|
+
text: 'О банке',
|
|
140
|
+
target: '_blank',
|
|
141
|
+
items: [
|
|
142
|
+
{
|
|
143
|
+
href: DEFAULT_ORIGIN,
|
|
144
|
+
text: 'О банке',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
href: DEFAULT_ORIGIN,
|
|
148
|
+
text: 'Новости',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
href: DEFAULT_ORIGIN,
|
|
152
|
+
text: 'Офисы и отделения',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
href: DEFAULT_ORIGIN,
|
|
156
|
+
text: 'Карьера в банке',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
href: DEFAULT_ORIGIN,
|
|
160
|
+
text: 'Пресс-центр',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
href: DEFAULT_ORIGIN,
|
|
164
|
+
text: 'Кредитным организациям',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
href: DEFAULT_ORIGIN,
|
|
168
|
+
text: 'Закупки',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
href: DEFAULT_ORIGIN,
|
|
172
|
+
text: 'Непрофильные/Профильные нецелевые активы',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
href: DEFAULT_ORIGIN,
|
|
176
|
+
text: 'Инсайдерам',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
href: DEFAULT_ORIGIN,
|
|
180
|
+
text: 'Противодействие коррупции',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
href: DEFAULT_ORIGIN,
|
|
184
|
+
text: 'Меры безопасности',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
href: DEFAULT_ORIGIN,
|
|
188
|
+
text: 'Залоговое имущество',
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
]}
|
|
193
|
+
socialMedia={[
|
|
194
|
+
{ href: 'https://t.me' },
|
|
195
|
+
{ href: 'https://vk.com' },
|
|
196
|
+
{ href: 'https://ok.ru' },
|
|
197
|
+
]}
|
|
198
|
+
contacts={[
|
|
199
|
+
{
|
|
200
|
+
text: '+7 (495) 787-7-787',
|
|
201
|
+
description: 'Для звонков из-за границы',
|
|
202
|
+
type: 'tel',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
text: 'example@example.com',
|
|
206
|
+
description: 'Для писем',
|
|
207
|
+
type: 'email',
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
text: '7787',
|
|
211
|
+
description: 'Абонентам МТС, Мегафон, Билайн и Tele2',
|
|
212
|
+
type: 'tel',
|
|
213
|
+
},
|
|
214
|
+
]}
|
|
215
|
+
relatedEnterprises={[
|
|
216
|
+
{
|
|
217
|
+
text: 'РСХБ Страхование',
|
|
218
|
+
href: DEFAULT_ORIGIN,
|
|
219
|
+
target: '_blank',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
text: 'РСХБ Страхование жизни',
|
|
223
|
+
href: DEFAULT_ORIGIN,
|
|
224
|
+
target: '_blank',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
text: 'РСХБ Управление активами',
|
|
228
|
+
href: DEFAULT_ORIGIN,
|
|
229
|
+
target: '_blank',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
text: 'РСХБ Лизинг',
|
|
233
|
+
href: DEFAULT_ORIGIN,
|
|
234
|
+
target: '_blank',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
text: 'РСХБ Факторинг',
|
|
238
|
+
href: DEFAULT_ORIGIN,
|
|
239
|
+
target: '_blank',
|
|
240
|
+
},
|
|
241
|
+
]}
|
|
242
|
+
documents={[
|
|
243
|
+
{
|
|
244
|
+
text: 'Информация о процентных ставках по договорам банковского вклада с физическими лицами',
|
|
245
|
+
href: DEFAULT_ORIGIN,
|
|
246
|
+
target: '_blank',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
text: 'Раскрытие информации профессиональным участником рынка ценных бумаг',
|
|
250
|
+
href: DEFAULT_ORIGIN,
|
|
251
|
+
target: '_blank',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
text: 'Раскрытие информации',
|
|
255
|
+
href: DEFAULT_ORIGIN,
|
|
256
|
+
target: '_blank',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
text: 'Удостоверяющий центр',
|
|
260
|
+
href: DEFAULT_ORIGIN,
|
|
261
|
+
target: '_blank',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
text: 'Финансовая культура',
|
|
265
|
+
href: DEFAULT_ORIGIN,
|
|
266
|
+
target: '_blank',
|
|
267
|
+
},
|
|
268
|
+
]}
|
|
269
|
+
context={context}
|
|
270
|
+
/>
|
|
271
|
+
</div>
|
|
265
272
|
);
|
|
@@ -17,12 +17,12 @@ export interface FooterProps extends FooterContent, UniBlockProps {}
|
|
|
17
17
|
export const Footer = JSX<FooterProps>(
|
|
18
18
|
({ className, documents, relatedEnterprises, contacts, socialMedia, topItems, context }) => {
|
|
19
19
|
return (
|
|
20
|
-
<footer className={
|
|
21
|
-
<div className="flex items-stretch gap-
|
|
20
|
+
<footer className={`px-9 py-10 bg-white ${className || ''}`}>
|
|
21
|
+
<div className="flex items-stretch gap-[54px] pb-8 xl:gap-8">
|
|
22
22
|
<Logo className={`${LEFT_COL_WIDTH_FULL_HD} ${LEFT_COL_WIDTH_SMALL_DESKTOP}`} />
|
|
23
23
|
<SearchBar context={context} className="grow" />
|
|
24
24
|
</div>
|
|
25
|
-
<div className="flex items-stretch gap-
|
|
25
|
+
<div className="flex items-stretch gap-[54px] xl:gap-8">
|
|
26
26
|
<Contacts
|
|
27
27
|
className={`${LEFT_COL_WIDTH_FULL_HD} shrink-0 overflow-hidden ${LEFT_COL_WIDTH_SMALL_DESKTOP}`}
|
|
28
28
|
items={contacts}
|
|
@@ -33,7 +33,7 @@ interface HorizontalNavigationLinkProps extends LinkProps {
|
|
|
33
33
|
const HorizontalNavigationLink = JSX<Partial<HorizontalNavigationLinkProps>>(
|
|
34
34
|
({ className, index, text, href, target, onClick }) => (
|
|
35
35
|
<a
|
|
36
|
-
className={`font-sans font-normal text-sm text-secondary-text hover:text-primary-
|
|
36
|
+
className={`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${
|
|
37
37
|
className || ''
|
|
38
38
|
}`}
|
|
39
39
|
href={href}
|
|
@@ -28,7 +28,7 @@ const renderColumn = (c: TopMenuItem, index: number, { router, handlerDecorator
|
|
|
28
28
|
const { text, href, items, target } = c;
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<div key={String(index)} className="flex flex-col
|
|
31
|
+
<div key={String(index)} className="flex flex-col gap-[14px]">
|
|
32
32
|
<a
|
|
33
33
|
className="block font-sans font-medium text-base text-primary-text no-underline"
|
|
34
34
|
href={href}
|