Skip to content

Instantly share code, notes, and snippets.

@Daltonic
Created June 23, 2023 16:59
Show Gist options
  • Save Daltonic/e691395253f83c551d35cb5a96015673 to your computer and use it in GitHub Desktop.
Save Daltonic/e691395253f83c551d35cb5a96015673 to your computer and use it in GitHub Desktop.
Dapp Cinemas
import Image from '../asset/heroimage.jpg'
const Banner = () => {
return (
<div
style={{ backgroundImage: 'url(' + Image + ')' }}
className="w-full h-full rounded-3xl bg-no-repeat bg-cover bg-center mb-4 flex flex-col"
>
<div className="text-white p-8 space-y-8">
<div className="space-y-2">
<h3 className="text-3xl font-bold">AVATAR</h3>
<p className="text-xl font-medium">THE WAY OF THE WATER</p>
</div>
<div>
<button className="bg-transparent font-bold border-2 border-red-600 py-2 px-8 text-black hover:bg-gradient-to-r from-cyan-500 to-red-500 rounded-full hover:border-white hover:text-white ">
WATCH
</button>
</div>
</div>
</div>
)
}
export default Banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment