Hero layout: text top-aligned, FuneralFinder overlaps into hero image
- Hero text: alignItems center → flex-start, pt 8 (top of image) - FuneralFinder: mt -10 → -22 (sits on the hero image, not white bg) - Heading + subheading + finder all visible above the fold Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -215,7 +215,7 @@ export const HomePage = React.forwardRef<HTMLDivElement, HomePageProps>(
|
|||||||
position: 'relative',
|
position: 'relative',
|
||||||
minHeight: { xs: 480, md: 640 },
|
minHeight: { xs: 480, md: 640 },
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'flex-start',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
backgroundImage: `url(${heroImageUrl})`,
|
backgroundImage: `url(${heroImageUrl})`,
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
@@ -231,7 +231,13 @@ export const HomePage = React.forwardRef<HTMLDivElement, HomePageProps>(
|
|||||||
>
|
>
|
||||||
<Container
|
<Container
|
||||||
maxWidth="md"
|
maxWidth="md"
|
||||||
sx={{ position: 'relative', zIndex: 1, textAlign: 'center', py: 6 }}
|
sx={{
|
||||||
|
position: 'relative',
|
||||||
|
zIndex: 1,
|
||||||
|
textAlign: 'center',
|
||||||
|
pt: { xs: 6, md: 8 },
|
||||||
|
pb: 4,
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
variant="display3"
|
variant="display3"
|
||||||
@@ -322,7 +328,7 @@ export const HomePage = React.forwardRef<HTMLDivElement, HomePageProps>(
|
|||||||
sx={{
|
sx={{
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
mt: { xs: -6, md: -10 },
|
mt: { xs: -14, md: -22 },
|
||||||
px: 2,
|
px: 2,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user