Spaces:
Running
Running
deepsite
/
Website-Generation-Request (1)
/src
/components
/blocks
/ctas
/two-columns-with-photo.tsx
import { CheckCircleIcon } from '@heroicons/react/20/solid' | |
const benefits = [ | |
'Competitive salaries', | |
'Flexible work hours', | |
'30 days of paid vacation', | |
'Annual team retreats', | |
'Benefits for you and your family', | |
'A great work environment', | |
] | |
export default function TwoColumnsWithPhoto() { | |
return ( | |
<div className="overflow-hidden bg-gray-900 py-24 sm:py-32"> | |
<div className="relative isolate"> | |
<div className="mx-auto max-w-7xl sm:px-6 lg:px-8"> | |
<div className="mx-auto flex max-w-2xl flex-col gap-16 bg-white/[0.03] px-6 py-16 ring-1 ring-white/10 sm:rounded-3xl sm:p-8 lg:mx-0 lg:max-w-none lg:flex-row lg:items-center lg:py-20 xl:gap-x-20 xl:px-20"> | |
<img | |
alt="" | |
src="https://images.unsplash.com/photo-1519338381761-c7523edc1f46?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=80" | |
className="h-96 w-full flex-none rounded-2xl object-cover shadow-xl lg:aspect-square lg:h-auto lg:max-w-sm" | |
/> | |
<div className="w-full flex-auto"> | |
<h2 className="text-4xl font-semibold tracking-tight text-pretty text-white sm:text-5xl"> | |
Join our team | |
</h2> | |
<p className="mt-6 text-lg/8 text-pretty text-gray-400"> | |
Lorem ipsum dolor sit amet consect adipisicing elit. Possimus magnam voluptatum cupiditate veritatis in | |
accusamus quisquam. | |
</p> | |
<ul | |
role="list" | |
className="mt-10 grid grid-cols-1 gap-x-8 gap-y-3 text-base/7 text-gray-200 sm:grid-cols-2" | |
> | |
{benefits.map((benefit) => ( | |
<li key={benefit} className="flex gap-x-3"> | |
<CheckCircleIcon aria-hidden="true" className="h-7 w-5 flex-none text-gray-200" /> | |
{benefit} | |
</li> | |
))} | |
</ul> | |
<div className="mt-10 flex"> | |
<a href="#" className="text-sm/6 font-semibold text-indigo-400 hover:text-indigo-300"> | |
See our job postings | |
<span aria-hidden="true">→</span> | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div | |
aria-hidden="true" | |
className="absolute inset-x-0 -top-16 -z-10 flex transform-gpu justify-center overflow-hidden blur-3xl" | |
> | |
<div | |
style={{ | |
clipPath: | |
'polygon(73.6% 51.7%, 91.7% 11.8%, 100% 46.4%, 97.4% 82.2%, 92.5% 84.9%, 75.7% 64%, 55.3% 47.5%, 46.5% 49.4%, 45% 62.9%, 50.3% 87.2%, 21.3% 64.1%, 0.1% 100%, 5.4% 51.1%, 21.4% 63.9%, 58.9% 0.2%, 73.6% 51.7%)', | |
}} | |
className="aspect-1318/752 w-329.5 flex-none bg-linear-to-r from-[#80caff] to-[#4f46e5] opacity-20" | |
/> | |
</div> | |
</div> | |
</div> | |
) | |
} | |