<Image is broken

This commit is contained in:
2024-11-26 00:43:58 -05:00
parent 4a9035f9cc
commit 608705772e
2 changed files with 28 additions and 6 deletions

View File

@@ -44,11 +44,13 @@ export default function Example() {
</div>
<div className="flex flex-1 items-center justify-center sm:items-stretch sm:justify-start">
<div className="flex shrink-0 items-center">
<Image
{/* <Image
alt="Ballistic Builder"
src="https://tailwindui.com/plus/img/logos/mark.svg?color=indigo&shade=500"
className="h-8 w-auto"
/>
className="h-8 w-auto"
width={100}
height={100}
/> */}
</div>
<div className="hidden sm:ml-6 sm:block">
<div className="flex space-x-4">
@@ -86,11 +88,13 @@ export default function Example() {
<MenuButton 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">
<span className="absolute -inset-1.5" />
<span className="sr-only">Open user menu</span>
<Image
{/* <Image
alt=""
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"
className="size-8 rounded-full"
/>
className="size-8 rounded-full"
width={100}
height={100}
/> */}
</MenuButton>
</div>
<MenuItems