Skip to content

Commit

Permalink
gumletloader
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed May 3, 2024
1 parent 1c2dcf7 commit c108e2b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/maker/maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as Popover from "@radix-ui/react-popover";
import { Cross2Icon } from "@radix-ui/react-icons";
import GitHubButton from "react-github-btn";
import { set, get } from "js-cookie";
import Image from "next/image";
import gumletLoader from "@/lib/imageloader";

const MakerPopover = () => {
const [open, setOpen] = useState(false);
Expand Down Expand Up @@ -79,7 +81,9 @@ const MakerPopover = () => {
<div
className={`${justClosed ? "scale-[10] " : ""} transition transition-all duration-1000 w-full h-full rounded-full overflow-hidden`}
>
<img
<Image
// priority={true}
loader={gumletLoader}
width={36}
height={36}
className={`${justClosed ? "animate-spin" : "group-hover:scale-125"} ${open && !justClosed ? "scale-[1.5]" : ""} object-cover w-full h-full transition transition-all duration-700 rounded-full`}
Expand Down

0 comments on commit c108e2b

Please sign in to comment.