Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

💄 New Hero Image #1282

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions frontend/components/Home/Cover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Cover() {
}}
>
<img
src="/images/hero-image.jpg"
src="/images/hero-image2.webp"
alt=""
style={{
position: 'absolute',
Expand All @@ -24,6 +24,7 @@ export default function Cover() {
height: 'inherit',
left: '0',
overflow: 'hidden',
opacity: 0.75,
}}
/>
<Box
Expand All @@ -32,6 +33,11 @@ export default function Cover() {
flexDirection: 'column',
zIndex: 1,
gap: 1,
backgroundColor: 'rgba(0,0,0,0.5)',
marginTop: { xs: '5rem', md: '10rem' },
width: 'fit-content',
padding: { xs: '1rem', md: '2rem' },
borderRadius: '1rem',
}}
>
<Typography
Expand All @@ -40,7 +46,6 @@ export default function Cover() {
fontSize={{ xs: '2rem', md: '6rem' }}
sx={{
color: 'white',
marginTop: { xs: '5rem', md: '10rem' },
maxWidth: '35rem',
}}
fontWeight="bold"
Expand Down
Binary file added frontend/public/images/hero-image2.webp
Binary file not shown.
Loading