From 0655d6c004a2c3e69e59387d9acdb8c27f1040a8 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 14 Oct 2023 17:15:45 -0400 Subject: [PATCH] Fixing class -> className --- src/shared/components/apps.tsx | 7 +++++-- src/shared/components/common.tsx | 12 ++++++------ src/shared/components/donate.tsx | 12 ++++++------ src/shared/components/icon.tsx | 2 +- src/shared/components/instances.tsx | 6 +++--- src/shared/components/news.tsx | 2 +- src/shared/components/no-match.tsx | 4 ++-- 7 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/shared/components/apps.tsx b/src/shared/components/apps.tsx index 2813887..3ddb34c 100644 --- a/src/shared/components/apps.tsx +++ b/src/shared/components/apps.tsx @@ -46,9 +46,12 @@ interface AppDetailsButtonsProps { } const AppDetailsButtons = ({ links }: AppDetailsButtonsProps) => ( -
+
{links.map(l => ( - + ))} diff --git a/src/shared/components/common.tsx b/src/shared/components/common.tsx index 0b7c64f..791ea5f 100644 --- a/src/shared/components/common.tsx +++ b/src/shared/components/common.tsx @@ -50,9 +50,9 @@ export const DonateDesc = () => ( ); export const DonateButtons = () => ( -
+
@@ -60,7 +60,7 @@ export const DonateButtons = () => ( @@ -68,7 +68,7 @@ export const DonateButtons = () => ( @@ -76,7 +76,7 @@ export const DonateButtons = () => ( Crypto @@ -130,7 +130,7 @@ export const DonateBlock = () => (
-

+

{i18n.t("donate")}

diff --git a/src/shared/components/donate.tsx b/src/shared/components/donate.tsx index 5d61039..3937b2c 100644 --- a/src/shared/components/donate.tsx +++ b/src/shared/components/donate.tsx @@ -26,9 +26,9 @@ const SectionTitle = ({ title }) => ( const ContributorsBlock = () => (
-

{i18n.t("thanks_coders")}

+

{i18n.t("thanks_coders")}

-

+

{i18n.t("thanks_translators")}

@@ -139,11 +139,11 @@ interface GoldSponsorCardsProps { const GoldSponsorCards = ({ title, sponsors, color }: GoldSponsorCardsProps) => sponsors.length > 0 && (
-

{title}

-
+

{title}

+
{sponsors.map(s => (
@@ -173,7 +173,7 @@ const GeneralSponsorCard = () => { return (
-

+

{i18n.t("general_sponsors_desc")}

diff --git a/src/shared/components/icon.tsx b/src/shared/components/icon.tsx index 3e7017f..e614c76 100644 --- a/src/shared/components/icon.tsx +++ b/src/shared/components/icon.tsx @@ -12,7 +12,7 @@ interface IconProps { } export const Icon = ({ icon, size = IconSize.Medium, classes }: IconProps) => ( - + {icon} diff --git a/src/shared/components/instances.tsx b/src/shared/components/instances.tsx index 75890b8..1e5ac9a 100644 --- a/src/shared/components/instances.tsx +++ b/src/shared/components/instances.tsx @@ -141,15 +141,15 @@ const InstanceCard = ({ instance }: InstanceCardProps) => {
{domain}

{description}

-
+
{i18n.t("browse_instance")}