Skip to content

Instantly share code, notes, and snippets.

@DanielHemmati
Created January 31, 2023 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielHemmati/ee8b47ea9728e27ea61b67b3f7659335 to your computer and use it in GitHub Desktop.
Save DanielHemmati/ee8b47ea9728e27ea61b67b3f7659335 to your computer and use it in GitHub Desktop.
happyguy
function ImageOverLay() {
return (
// class image
<div className="w-full h-[500px] bg-center bg-cover bg-[url('../../public/happyGuy.jpg')] ">
{/* class image-overlay */}
<div className="w-full h-[500px] bg-gradient-to-r bg-[rgba(0,48,93,.6)] flex justify-center items-end gap-4">
{/* job finder with three dots */}
<div className="">
<div className="bg-white p-1">
<span>jobfinder</span>
<h1>job und karriere entedecken</h1>
</div>
{/* input part */}
<div className="bg-orange-500">
<input type="text" placeholder="suche nach jobtitle, region oder stadt" />
<button>Job finder</button>
</div>
</div>
</div>
</div>
);
}
export default ImageOverLay;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment