diff --git a/src/pages/index.js b/src/pages/index.js index ae320e3..25c1cab 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -92,14 +92,14 @@ const IndexPage = ({ data: { allFile: { edges } } }) => { {/* WIP: ipad portrait hits md breakpoint, looks bad */}
1 + className={classnames('font-serif hero', ar > 1 || !isClient ? 'landscape:grid portrait:flex portrait:flex-col' : 'portrait:grid landscape:flex landscape:flex-row-reverse')} > {isClient ? 1 ? 'landscape:h-screen portrait:h-two-thirds-vw' : 'h-screen portrait:w-full landscape:w-1/2', + ar > 1 || !isClient ? 'landscape:h-screen portrait:h-two-thirds-vw' : 'h-screen portrait:w-full landscape:w-1/2', )} image={getImage(image)} loading="eager" @@ -107,7 +107,7 @@ const IndexPage = ({ data: { allFile: { edges } } }) => { gridArea: '1/1', }} /> // 67vw = 1/1.49253731 = 1/aspect ratio of my camera lol - :
} + :
}