refine aesthetic of SSR/js-disabled pages

This commit is contained in:
Chuck Dries 2022-02-28 18:56:56 -08:00
parent 399a48b2a6
commit 209109f04d
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -115,7 +115,7 @@ const IndexPage = ({
<Helmet> <Helmet>
<title>Chuck Dries</title> <title>Chuck Dries</title>
<body <body
className={classnames(isClient ? "bg-vibrant-dark" : "")} className={classnames(isClient ? "bg-vibrant-dark" : "bg-gray-800")}
style={getHelmetSafeBodyStyle(vibrant, screenHeight)} style={getHelmetSafeBodyStyle(vibrant, screenHeight)}
/> />
</Helmet> </Helmet>
@ -195,7 +195,7 @@ const IndexPage = ({
/> />
) : ( ) : (
<div <div
className="landscape:h-actual-screen portrait:h-two-thirds-vw w-full bg-gray-800" className="landscape:h-actual-screen portrait:h-two-thirds-vw w-full"
style={{ gridArea: "1/1" }} style={{ gridArea: "1/1" }}
></div> ></div>
)} )}