edit
This commit is contained in:
23
src/components/Banner.jsx
Normal file
23
src/components/Banner.jsx
Normal 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 what’s coming next <span aria-hidden="true">→</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>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user