Skip to content

Commit

Permalink
Synthetic image detection UX improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sallaa committed May 29, 2024
1 parent c718786 commit 946225d
Show file tree
Hide file tree
Showing 5 changed files with 278 additions and 44 deletions.
45 changes: 45 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"exif-js": "^2.3.0",
"file-saver": "^2.0.5",
"history": "^5.3.0",
"html2canvas": "^1.4.1",
"i18next": "^23.6.0",
"i18next-browser-languagedetector": "^7.1.0",
"i18next-chained-backend": "^4.5.0",
Expand Down
15 changes: 8 additions & 7 deletions src/components/NavItems/tools/SyntheticImageDetection/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
CardHeader,
Grid,
LinearProgress,
Stack,
} from "@mui/material";

import useMyStyles from "../../../Shared/MaterialUiStyles/useMyStyles";
Expand Down Expand Up @@ -211,7 +212,7 @@ const SyntheticImageDetection = () => {
};

return (
<div>
<Box>
<HeaderTool
name={keywordAllTools("navbar_synthetic_image_detection")}
description={keywordAllTools(
Expand All @@ -224,11 +225,11 @@ const SyntheticImageDetection = () => {
}
/>

<Alert severity="warning">
{keywordWarning("warning_beta_synthetic_image_detection")}
</Alert>

<Box m={3} />
<Stack direction="column" spacing={2} mb={4}>
<Alert severity="warning">
{keywordWarning("warning_beta_synthetic_image_detection")}
</Alert>
</Stack>

<Card>
<CardHeader
Expand Down Expand Up @@ -282,7 +283,7 @@ const SyntheticImageDetection = () => {
handleClose={handleClose}
/>
)}
</div>
</Box>
);
};

Expand Down
Loading

0 comments on commit 946225d

Please sign in to comment.