Add dark mode screenshot and enhance image styling in HomeHero component

This commit is contained in:
Mo Tarbin
2025-06-21 00:07:31 -04:00
parent 12537ec7f3
commit ef8c63c176
3 changed files with 10 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 147 KiB

View File

@@ -171,14 +171,21 @@ const HomeHero = () => {
<img
src={mode === 'dark' ? screenShotMyChoreDark : screenShotMyChore}
width={'100%'}
style={{
maxWidth: 300,
}}
height={'auto'}
alt='Hero img'
data-aos-delay={100 * 2}
data-aos-anchor='[data-aos-id-hero]'
data-aos='fade-left'
style={{
width: '100%',
maxWidth: 300,
}}
onMouseEnter={e => {
e.target.style.transform = 'rotate(0deg) scale(1.05)'
}}
onMouseLeave={e => {
e.target.style.transform = 'rotate(5deg) scale(1)'
}}
/>
</div>
</Grid>