Skip to content

Commit 0c103aa

Browse files
committed
refactor: flip hero image to eliminate text overlap
1 parent fc96a0a commit 0c103aa

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/pages/home/index.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,19 @@ export const Home = () => {
9595
<Box
9696
sx={{
9797
backgroundImage: `url(${ocotilloImage})`,
98+
transform: `scaleX(-1)`,
9899
backgroundRepeat: 'no-repeat',
99100
backgroundSize: 'cover',
100101
height: '500px',
101102
padding: 2,
102103
}}
103104
>
104-
<Typography variant="h1">Welcome to Ocotillo.</Typography>
105-
<Typography variant="h2">
106-
NMBGMR's Data Management Portal
107-
</Typography>
105+
<Box sx={{ transform: `scaleX(-1)` }}>
106+
<Typography variant="h1">Welcome to Ocotillo.</Typography>
107+
<Typography variant="h2">
108+
NMBGMR's Data Management Portal
109+
</Typography>
110+
</Box>
108111
</Box>
109112
<List
110113
sx={{ width: '100%', maxWidth: 300 }}

0 commit comments

Comments
 (0)