()
| 1 | 'use client' |
| 2 | |
| 3 | const SimpleBanner = () => { |
| 4 | return ( |
| 5 | <> |
| 6 | <div |
| 7 | // replace `absolute` with `fixed` if you want the banner to be fixed on the page Also Animation will not work if you use `absolute` |
| 8 | className={`absolute left-0 right-0 top-0 z-50 transition-all duration-300 ease-in-out`} |
| 9 | > |
| 10 | <div className="flex w-full items-center justify-center gap-x-6 bg-red-500 px-6 py-3 sm:px-3.5"> |
| 11 | <div className="flex items-center text-sm font-medium leading-6 text-white"> |
| 12 | <p>Get 50+ Premium Components for your next project on SyntaxUI</p> |
| 13 | </div> |
| 14 | </div> |
| 15 | </div> |
| 16 | </> |
| 17 | ) |
| 18 | } |
| 19 | |
| 20 | export default SimpleBanner |
nothing calls this directly
no outgoing calls
no test coverage detected