From f9109bbf1cd1600e77d78f591e8fc11434a5d7ae Mon Sep 17 00:00:00 2001 From: LuizFNJ Date: Sun, 15 Dec 2024 22:49:19 +0100 Subject: [PATCH] Adaptation Grid/mui for Col/antd --- src/components/Claim/ClaimSummaryContent.tsx | 6 +-- .../Claim/CreateClaim/ClaimSelectType.tsx | 6 +-- src/components/ClaimReview/ReviewAlert.tsx | 6 +-- src/components/ClaimReview/ReviewCard.tsx | 22 +++++------ .../Comment/CommentPopoverContent.tsx | 6 +-- .../Components/SourceEditorButton.tsx | 8 ++-- .../Collaborative/Form/EditorCard.tsx | 8 ++-- .../Collaborative/Form/QuestionCard.tsx | 9 +++-- src/components/Dashboard/DashboardView.tsx | 14 +++---- .../Footer/AletheiaSocialMediaIcons.tsx | 7 ++-- src/components/Header/HeaderActions.style.tsx | 4 +- src/components/Header/HeaderContent.tsx | 2 +- src/components/Home/CTA/CTASectionButtons.tsx | 21 +++++----- src/components/Home/CTA/CTASectionTitle.tsx | 6 +-- src/components/Home/DonationBanner.style.tsx | 11 ++++-- src/components/Home/DonationBanner.tsx | 38 +++++++++---------- src/components/Home/HomeFeed.tsx | 10 ++--- .../Home/HomeHeader/HomeHeader.style.tsx | 2 +- src/components/Home/HomeStats.tsx | 14 +++---- src/components/LoginButton.tsx | 6 +-- .../adminArea/Drawer/HeaderTotpStatus.tsx | 4 +- .../adminArea/Drawer/HeaderUserStatus.tsx | 4 +- 22 files changed, 107 insertions(+), 107 deletions(-) diff --git a/src/components/Claim/ClaimSummaryContent.tsx b/src/components/Claim/ClaimSummaryContent.tsx index 482d50ab1..a1753b325 100644 --- a/src/components/Claim/ClaimSummaryContent.tsx +++ b/src/components/Claim/ClaimSummaryContent.tsx @@ -1,5 +1,5 @@ import colors from "../../styles/colors"; -import { Col } from "antd"; +import { Grid } from "@mui/material"; import React from "react"; import { useTranslation } from "next-i18next"; import { ContentModelEnum } from "../../types/enums"; @@ -56,7 +56,7 @@ const ClaimSummaryContent = ({ : {}; return ( - + - + ); }; diff --git a/src/components/Claim/CreateClaim/ClaimSelectType.tsx b/src/components/Claim/CreateClaim/ClaimSelectType.tsx index b8bb8b87e..ac40a26ab 100644 --- a/src/components/Claim/CreateClaim/ClaimSelectType.tsx +++ b/src/components/Claim/CreateClaim/ClaimSelectType.tsx @@ -3,7 +3,7 @@ import { PictureOutlined, VideoCameraOutlined, } from "@ant-design/icons"; -import { Col } from "antd"; +import { Grid } from "@mui/material"; import { useAtom } from "jotai"; import { useTranslation } from "next-i18next"; @@ -53,7 +53,7 @@ const ClaimSelectType = () => {
{t("home:statsFooter")}