No background on subhead text

This commit is contained in:
Chuck Dries 2021-08-11 17:26:02 -07:00
parent 7edfa2d190
commit 9bd9597b34

View File

@ -166,25 +166,18 @@ const IndexPage = ({
> >
Chuck Dries Chuck Dries
</h1> </h1>
<div <h2
className={classnames( className={classnames(
ar > 1 && "landscape:shadow-lg", "p-3 text-center z-20 filter drop-shadow-dark font-bold",
"z-20 mb-4 inline-block mx-2", isClient &&
isClient && "bg-vibrant-dark blurred-or-opaque-bg-2" (ar > 1
? "text-vibrant-light landscape:text-gray-100"
: "text-gray-100 landscape:text-vibrant-light")
)} )}
style={{ fontSize: "max(1.3vw, 35px)" }}
> >
<div className="flex-auto"> Full Stack Software Engineer &amp; Hobbyist Photographer
<h2 </h2>
className={classnames(
"p-3 text-center",
isClient && "text-vibrant-light"
)}
style={{ fontSize: "max(1.25vw, 25px)" }}
>
Full Stack Software Engineer &amp; Hobbyist Photographer
</h2>
</div>
</div>
</div> </div>
<ActionButtons <ActionButtons
image={image} image={image}