37 lines
1.9 KiB
TypeScript
37 lines
1.9 KiB
TypeScript
|
|
|
|
const Navbar = () => {
|
|
return (
|
|
<nav className="bg-white drop-shadow-md shadow-gray-400 rounded-xl">
|
|
<div className="mx-auto max-w-7xl px-2 sm:px-6 lg:px-5">
|
|
<div className="relative flex h-14 items-center justify-end">
|
|
<div className=" inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
|
|
<button type="button" className="relative rounded-full bg-gray-800 p-1 text-white hover:text-white focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800">
|
|
<span className="absolute -inset-1.5"></span>
|
|
<span className="sr-only">View notifications</span>
|
|
<svg className="size-6" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
|
<path strokeLinejoin="round" d="M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0" />
|
|
</svg>
|
|
</button>
|
|
|
|
<div className="relative ml-3">
|
|
<div>
|
|
<button type="button" className="relative flex rounded-full bg-gray-800 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
|
|
<span className="absolute -inset-1.5"></span>
|
|
<span className="sr-only">Open user menu</span>
|
|
<img className="size-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="" />
|
|
</button>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
)
|
|
}
|
|
|
|
export default Navbar |