Skip to content

Commit

Permalink
Add case image to case opening page
Browse files Browse the repository at this point in the history
  • Loading branch information
molnard1 committed May 27, 2024
1 parent d279d57 commit 3fd260b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/js/pages/CasePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,16 @@ function CasePage() {
return (
<div>
<Space h="sm" />
<Text size="5vw" fw={700} tt="uppercase" variant="gradient">
<Text size="3vw" fw={700} tt="uppercase" variant="gradient" style={{
textAlign: 'center'
}}>
{caseData.caseName}
</Text>
<img style={{
display: 'block',
marginLeft: 'auto',
marginRight: 'auto',
}} width="300vh" src={`${API_URL}${caseData.itemAssetUrl}`} />
{navigateAway ? (
<Navigate to="/home" replace />
) : (
Expand Down

0 comments on commit 3fd260b

Please sign in to comment.