diff --git a/src/components/Footer/AletheiaSocialMediaFooter.tsx b/src/components/Footer/AletheiaSocialMediaFooter.tsx index 71962ddc6..a072c2d3c 100644 --- a/src/components/Footer/AletheiaSocialMediaFooter.tsx +++ b/src/components/Footer/AletheiaSocialMediaFooter.tsx @@ -1,4 +1,4 @@ -import { Col, Divider, Row } from "antd"; +import { Grid, Divider } from "@mui/material"; import { useTranslation } from "next-i18next"; import React from "react"; import colors from "../../styles/colors"; @@ -13,18 +13,18 @@ const AletheiaSocialMediaFooter = () => { const { t } = useTranslation(); const [nameSpace] = useAtom(currentNameSpace); return ( - - +

{t("footer:socialMedia")}

- - +
+ {localConfig.footer.socialMedias.some((url) => url !== "") ? ( localConfig.footer.socialMedias.map( (url) => @@ -46,15 +46,16 @@ const AletheiaSocialMediaFooter = () => { ) : ( )} - - - + + - -
+ + ); }; diff --git a/src/components/PartialReviewWarning.tsx b/src/components/PartialReviewWarning.tsx index 048c26928..fb2500072 100644 --- a/src/components/PartialReviewWarning.tsx +++ b/src/components/PartialReviewWarning.tsx @@ -1,5 +1,4 @@ -import { Col } from "antd"; -import Text from "antd/lib/typography/Text"; +import { Grid, Typography } from "@mui/material"; import { useTranslation } from "next-i18next"; import React from "react"; import colors from "../styles/colors"; @@ -7,12 +6,12 @@ import colors from "../styles/colors"; const PartialReviewWarning = () => { const { t } = useTranslation(); return ( - - * + + * {t("claimReview:partialReviewWarning")} - + ); }; diff --git a/src/components/Personality/PersonalityCard.tsx b/src/components/Personality/PersonalityCard.tsx index 1836c8615..39bb6fd1d 100644 --- a/src/components/Personality/PersonalityCard.tsx +++ b/src/components/Personality/PersonalityCard.tsx @@ -140,9 +140,9 @@ const PersonalityCard = ({ -
+ - {t("personalityCreateForm:name")}} + - - - + + + +
{isLoading ? ( ) : ( @@ -148,7 +150,7 @@ const PersonalityCreateSearch = ({ /> )} - +
); }; diff --git a/src/components/Personality/PersonalitySearchResultSection.tsx b/src/components/Personality/PersonalitySearchResultSection.tsx index 7b43332e4..7c320dd8f 100644 --- a/src/components/Personality/PersonalitySearchResultSection.tsx +++ b/src/components/Personality/PersonalitySearchResultSection.tsx @@ -1,4 +1,4 @@ -import { Row } from "antd"; +import { Grid } from "@mui/material"; import React from "react"; import Label from "../Label"; @@ -14,7 +14,7 @@ const PersonalitySearchResultSection = ({ const isCreatingClaim = selectPersonality !== null; return personalities.length ? ( - ) )} - + ) : null; }; diff --git a/src/components/Search/OverlaySearchResults.tsx b/src/components/Search/OverlaySearchResults.tsx index 2de989c5b..79cad83d3 100644 --- a/src/components/Search/OverlaySearchResults.tsx +++ b/src/components/Search/OverlaySearchResults.tsx @@ -1,4 +1,4 @@ -import { Row } from "antd"; +import { Grid } from "@mui/material"; import { useTranslation } from "next-i18next"; import router from "next/router"; import React from "react"; @@ -62,7 +62,7 @@ const OverlaySearchResults = () => { }; return ( - { ); }) )} - + ); }; diff --git a/src/components/Search/SearchOverlay.tsx b/src/components/Search/SearchOverlay.tsx index 342034ef9..aea5bae45 100644 --- a/src/components/Search/SearchOverlay.tsx +++ b/src/components/Search/SearchOverlay.tsx @@ -78,7 +78,7 @@ const SearchOverlay = () => { }, [nameSpace]); return ( - + {!router.pathname.includes("/home-page") && (
= (args) => ( const TemplateWithInput: ComponentStory = (args) => ( - + - } - > + - + ) export const WithInput = TemplateWithInput.bind({}) diff --git a/src/stories/components/typography/Subtitle.stories.tsx b/src/stories/components/typography/Subtitle.stories.tsx index 379ddfeff..9ce7f1823 100644 --- a/src/stories/components/typography/Subtitle.stories.tsx +++ b/src/stories/components/typography/Subtitle.stories.tsx @@ -1,5 +1,5 @@ import { ComponentStory, ComponentMeta } from "@storybook/react"; -import { Typography } from "antd"; +import { Typography } from "@mui/material"; import Paragraph from "../../../components/Paragraph"; import Subtitle from "../../../components/Subtitle"; @@ -21,7 +21,7 @@ const Template: ComponentStory = (args) => ( const ComparisonTemplate: ComponentStory = (args) => ( <> - {args.title} + {args.title} {args.subtitle} {args.paragraph}