Updated UseCases, routes, slice

This commit is contained in:
rockyeverlast
2024-05-23 20:03:13 +05:30
parent ba39483c1a
commit 0cbc97f281
11 changed files with 324 additions and 144 deletions

View File

@@ -170,7 +170,9 @@ const NewUseCase = ({
<Text
pb={5}
className="rubix-text-small"
dangerouslySetInnerHTML={{ __html: matchingUseCase.content }}
dangerouslySetInnerHTML={{
__html: matchingUseCase.content,
}}
/>
</Box>
@@ -208,12 +210,12 @@ const NewUseCase = ({
</Text> */}
</Box>
</Box>
{matchingUseCase ? (
{matchingUseCase.attachments.length >= 1 ? (
<Text
className="rubix-fw-500"
fontSize="3xl"
textColor={"#ffffff"}
marginBottom={"3rem"}
marginBottom={"1rem"}
marginInline={"3rem"}
sx={{
"@media (max-width: 600px)": {
@@ -232,7 +234,7 @@ const NewUseCase = ({
marginBottom={"2rem"}
display={"flex"}
justifyContent={"start"}
gap={"2rem"}
gap={"3rem"}
flexWrap={"wrap"}
>
{matchingUseCase.attachments.map((item) => (