@@ -97,14 +97,14 @@ function imageBlock(
9797 </ figure >
9898 </ div >
9999 < figure
100- className = { `flex py-20 lg:hidden justify-center gap-y-16 grow w-full` }
100+ className = { `flex py-25 lg:hidden justify-center gap-y-16 grow w-full ${ overflowMobile ? '' : 'px-8' } ` }
101101 style = { {
102102 flexDirection : flexDirectionMobile ,
103103 } }
104104 >
105105 < ImageSkeleton
106106 image = { imageFile }
107- className = { ` shrink ${ overflowMobile ? '' : 'max-w-5/6 mx-auto max-h-1/2' } ` }
107+ className = " shrink"
108108 sizes = { overflowMobile ? '100vw' : '90vw' }
109109 />
110110 { image . description && descPosMobile && (
@@ -126,7 +126,7 @@ function imageBlock(
126126function aboutUsBlock ( message : Extract < MainPageImageType , { blockType : 'aboutUs' } > ) {
127127 return (
128128 < figure
129- className = "relative lg:h-svh w-full flex flex-col gap-x-20 gap-y-10 py-10 lg:py-0 lg:flex-row items-center justify-center px-8 lg:px-0"
129+ className = "relative lg:h-svh w-full flex flex-col gap-x-20 gap-y-10 py-25 lg:py-0 lg:flex-row items-center justify-center px-8 lg:px-0"
130130 id = "aboutUs"
131131 >
132132 < Image
@@ -216,7 +216,7 @@ export default async function MainPage({ params }: Props) {
216216 return (
217217 < div
218218 id = "welcome"
219- className = "header-screen flex flex-col lg:flex-row [&_figcaption]:flex [&_figcaption]:items-center [&_figcaption]:justify-center [&_figure]:pb-0! [&>div]:px-0! justify-stretch items-center grow lg:px-10 mb-20 lg:mb-0"
219+ className = "header-screen flex flex-col lg:flex-row [&_figcaption]:flex [&_figcaption]:items-center [&_figcaption]:justify-center [&_figure]:pb-0! [&>div]:px-0! justify-stretch items-center grow lg:px-10 lg:mb-0"
220220 key = { image . id }
221221 style = { { backgroundColor : image . bgColor } }
222222 >
@@ -255,7 +255,7 @@ export default async function MainPage({ params }: Props) {
255255 < div
256256 style = { { backgroundColor : image . bgColor } }
257257 key = { image . id }
258- className = { `${ image . blockType !== 'navigation' ? 'min-h-svh' : '' } flex items-center` }
258+ className = { `${ image . blockType !== 'navigation' ? 'lg: min-h-svh' : '' } flex items-center` }
259259 >
260260 { image . blockType === 'image' && imageBlock ( image ) }
261261 { image . blockType === 'aboutUs' && aboutUsBlock ( image ) }
0 commit comments