Add backdrop blur to hero text area

This commit is contained in:
2021-07-11 21:43:20 -07:00
parent 4473d1a331
commit b04bef50a9
3 changed files with 60 additions and 14 deletions

View File

@@ -109,7 +109,12 @@ const IndexPage = ({ data: { allFile: { edges } } }) => {
: <div className="landscape:h-screen portrait:h-two-thirds-vw w-full" style={{gridArea: '1/1' }}></div> }
<div className="relative grid place-items-center" style={{gridArea: '1/1'}}>
<div className="m-0 sm:m-3 flex flex-col items-end">
<section className={classnames('rounded-xl md:px-6 px-4 md:py-5 py-3', isClient && 'border-2 border-vibrant-light bg-vibrant-dark-75')}>
<section
className={classnames(
'rounded-xl md:px-6 px-4 md:py-5 py-3', isClient &&
'border-2 border-vibrant-light bg-vibrant-dark bg-opacity-60 backdrop-filter backdrop-blur-lg'
)}
>
<div className="mx-auto">
<h1 className={classnames('font-black text-4xl sm:text-5xl md:text-6xl', isClient && 'text-vibrant-light')}>Chuck Dries</h1>
<h2 className={classnames('text-xl md:text-2xl', isClient && 'text-vibrant')}>Full stack software engineer &amp; hobbyist photographer</h2>

View File

@@ -33,7 +33,6 @@
scroll-padding: theme('spacing.6');
}
@variants responsive {
.h-two-thirds-vw {
height: 67vw;
}