more fixes

This commit is contained in:
2024-11-26 00:14:49 -05:00
parent 37393d6909
commit 1c69dd77a1
12 changed files with 12 additions and 23 deletions

View File

@@ -8,6 +8,7 @@ import {
MenuItems,
} from "@headlessui/react";
import { Bars3Icon, BellIcon, XMarkIcon } from "@heroicons/react/24/outline";
import Image from "next/image";
const navigation = [
{ name: "Home", href: "/", current: true },
@@ -17,7 +18,7 @@ const navigation = [
{ name: "Brands", href: "/Brands", current: false },
];
function classNames(...classes) {
function classNames(...classes: unknown[]) {
return classes.filter(Boolean).join(" ");
}
@@ -43,7 +44,7 @@ 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">
<img
<Image
alt="Ballistic Builder"
src="https://tailwindui.com/plus/img/logos/mark.svg?color=indigo&shade=500"
className="h-8 w-auto"
@@ -85,7 +86,7 @@ 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>
<img
<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"