From 35c79c9208694fb52260511b5eb9ac6176040db8 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Oct 2023 15:58:37 +0300 Subject: [PATCH 1/2] headings font size bug fixes --- package.json | 1 + public/locales/bg/campaigns.json | 2 +- public/locales/en/campaigns.json | 2 +- .../client/campaigns/CampaignNewsSection.tsx | 2 +- .../client/campaigns/DonationWishes.tsx | 3 ++- yarn.lock | 19 +++++++++++++++++++ 6 files changed, 25 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1275fd58c..c3a062fbf 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "quill-html-edit-button": "^2.2.12", "react": "18.2.0", "react-chartjs-2": "^5.2.0", + "react-cookie-consent": "^8.0.1", "react-dom": "18.2.0", "react-gtm-module": "2.0.11", "react-i18next": "^11.17.1", diff --git a/public/locales/bg/campaigns.json b/public/locales/bg/campaigns.json index 1af1f4bf1..84667c8e0 100644 --- a/public/locales/bg/campaigns.json +++ b/public/locales/bg/campaigns.json @@ -107,7 +107,7 @@ "others": "други", "profile": "Профил:", "status": "Статус:", - "messages": "Кампанията подкрепиха:", + "messages": "Кампанията подкрепиха", "sort": { "title": "Сортирай по:", "date": "Дата", diff --git a/public/locales/en/campaigns.json b/public/locales/en/campaigns.json index 078e494be..7c347ac37 100644 --- a/public/locales/en/campaigns.json +++ b/public/locales/en/campaigns.json @@ -88,7 +88,7 @@ "documents": "documents", "guarantor": "guarantor", "others": "others", - "messages": "Messages:", + "messages": "Messages", "sort": { "title": "Sort by:", "date": "Date", diff --git a/src/components/client/campaigns/CampaignNewsSection.tsx b/src/components/client/campaigns/CampaignNewsSection.tsx index 7d5db21b6..ee879f885 100644 --- a/src/components/client/campaigns/CampaignNewsSection.tsx +++ b/src/components/client/campaigns/CampaignNewsSection.tsx @@ -163,7 +163,7 @@ export default function CampaignNewsSection({ campaign, canCreateArticle }: Prop return ( - + {t('news')} {canCreateArticle && ( diff --git a/src/components/client/campaigns/DonationWishes.tsx b/src/components/client/campaigns/DonationWishes.tsx index e69af4bec..197634018 100644 --- a/src/components/client/campaigns/DonationWishes.tsx +++ b/src/components/client/campaigns/DonationWishes.tsx @@ -95,9 +95,10 @@ export default function DonationWishes({ campaignId, pageSize = 5 }: Props) { {t('campaign.messages')} diff --git a/yarn.lock b/yarn.lock index aa8bab762..42ac3d7f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8960,6 +8960,13 @@ __metadata: languageName: node linkType: hard +"js-cookie@npm:^2.2.1": + version: 2.2.1 + resolution: "js-cookie@npm:2.2.1" + checksum: 9b1fb980a1c5e624fd4b28ea4867bb30c71e04c4484bb3a42766344c533faa684de9498e443425479ec68609e96e27b60614bfe354877c449c631529b6d932f2 + languageName: node + linkType: hard + "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -11370,6 +11377,7 @@ __metadata: quill-html-edit-button: ^2.2.12 react: 18.2.0 react-chartjs-2: ^5.2.0 + react-cookie-consent: ^8.0.1 react-dom: 18.2.0 react-gtm-module: 2.0.11 react-i18next: ^11.17.1 @@ -11823,6 +11831,17 @@ __metadata: languageName: node linkType: hard +"react-cookie-consent@npm:^8.0.1": + version: 8.0.1 + resolution: "react-cookie-consent@npm:8.0.1" + dependencies: + js-cookie: ^2.2.1 + peerDependencies: + react: ">=16" + checksum: c99f3e40e3091c439956498158b5b8906cce170763836d6fade98a06ce667eca25aaf3bc407e10a6fb72fc44e5178a2ebf14cbbe4e1b5684a74b7d7f484bd359 + languageName: node + linkType: hard + "react-devtools-inline@npm:4.4.0": version: 4.4.0 resolution: "react-devtools-inline@npm:4.4.0" From d66ea6fd750dadc6f3453b8dd41e6b53599c5081 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 6 Oct 2023 08:42:30 +0300 Subject: [PATCH 2/2] removed library from package.json --- package.json | 1 - yarn.lock | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/package.json b/package.json index c3a062fbf..1275fd58c 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,6 @@ "quill-html-edit-button": "^2.2.12", "react": "18.2.0", "react-chartjs-2": "^5.2.0", - "react-cookie-consent": "^8.0.1", "react-dom": "18.2.0", "react-gtm-module": "2.0.11", "react-i18next": "^11.17.1", diff --git a/yarn.lock b/yarn.lock index 42ac3d7f7..aa8bab762 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8960,13 +8960,6 @@ __metadata: languageName: node linkType: hard -"js-cookie@npm:^2.2.1": - version: 2.2.1 - resolution: "js-cookie@npm:2.2.1" - checksum: 9b1fb980a1c5e624fd4b28ea4867bb30c71e04c4484bb3a42766344c533faa684de9498e443425479ec68609e96e27b60614bfe354877c449c631529b6d932f2 - languageName: node - linkType: hard - "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -11377,7 +11370,6 @@ __metadata: quill-html-edit-button: ^2.2.12 react: 18.2.0 react-chartjs-2: ^5.2.0 - react-cookie-consent: ^8.0.1 react-dom: 18.2.0 react-gtm-module: 2.0.11 react-i18next: ^11.17.1 @@ -11831,17 +11823,6 @@ __metadata: languageName: node linkType: hard -"react-cookie-consent@npm:^8.0.1": - version: 8.0.1 - resolution: "react-cookie-consent@npm:8.0.1" - dependencies: - js-cookie: ^2.2.1 - peerDependencies: - react: ">=16" - checksum: c99f3e40e3091c439956498158b5b8906cce170763836d6fade98a06ce667eca25aaf3bc407e10a6fb72fc44e5178a2ebf14cbbe4e1b5684a74b7d7f484bd359 - languageName: node - linkType: hard - "react-devtools-inline@npm:4.4.0": version: 4.4.0 resolution: "react-devtools-inline@npm:4.4.0"