This commit is contained in:
2024-09-09 15:55:54 +02:00
parent 4be4914a09
commit 000bc25b7c
7 changed files with 42 additions and 3 deletions

23
src/components/Banner.jsx Normal file
View File

@@ -0,0 +1,23 @@
import { XMarkIcon } from '@heroicons/react/20/solid'
export default function Example() {
return (
<div className="flex items-center gap-x-6 bg-gradient px-6 py-2.5 sm:px-3.5 sm:before:flex-1">
<p className="text-sm leading-6 text-white">
<a href="#">
<strong className="font-semibold">OurVerse FutureFest 2024</strong>
<svg viewBox="0 0 2 2" aria-hidden="true" className="mx-2 inline h-0.5 w-0.5 fill-current">
<circle r={1} cx={1} cy={1} />
</svg>
Join us at OurWorld Verse from Oct 25 27 to see whats coming next&nbsp;<span aria-hidden="true">&rarr;</span>
</a>
</p>
<div className="flex flex-1 justify-end">
<button type="button" className="-m-3 p-3 focus-visible:outline-offset-[-4px]">
<span className="sr-only">Dismiss</span>
<XMarkIcon aria-hidden="true" className="h-5 w-5 text-white" />
</button>
</div>
</div>
)
}