расчехлили амо и шаблоны

This commit is contained in:
Nastya 2024-08-14 19:05:30 +03:00
parent 6a7063fe0c
commit 39ae777a63
2 changed files with 27 additions and 32 deletions

@ -59,35 +59,32 @@ export const PartnersBoard: FC<PartnersBoardProps> = ({
}}
>
<Box>
{
user.user._id === "6694dc24d5802e9f13662a7e" &&
<>
<Typography
variant="h6"
sx={{
textAlign: { xs: "start", sm: "start", md: "start" },
lineHeight: "1",
marginBottom: "12px",
}}
>
CRM
</Typography>
<Box
sx={{
display: "flex",
flexWrap: "wrap",
justifyContent: { xs: "start", sm: "start", md: "start" },
}}
>
<ServiceButton
logo={<AmoCRMLogo />}
setIsModalOpen={setIsAmoCrmModalOpen}
setCompanyName={setCompanyName}
name={"amoCRM"}
/>
</Box>
</>
}
<>
<Typography
variant="h6"
sx={{
textAlign: { xs: "start", sm: "start", md: "start" },
lineHeight: "1",
marginBottom: "12px",
}}
>
CRM
</Typography>
<Box
sx={{
display: "flex",
flexWrap: "wrap",
justifyContent: { xs: "start", sm: "start", md: "start" },
}}
>
<ServiceButton
logo={<AmoCRMLogo />}
setIsModalOpen={setIsAmoCrmModalOpen}
setCompanyName={setCompanyName}
name={"amoCRM"}
/>
</Box>
</>
<Typography
variant="h6"

@ -21,8 +21,6 @@ export default function CreateButtons({ mt }: string) {
marginTop: mt,
}}
>
{
user.user._id === "6694dc24d5802e9f13662a7e" &&
<Link to="/gallery" style={{ textDecoration: "none" }}>
<Button
sx={{
@ -45,7 +43,7 @@ export default function CreateButtons({ mt }: string) {
</Button>
</Link>
}
<Button
variant="contained"
sx={{