import React from "react"; import classnames from "classnames"; import { Link } from "gatsby"; import Shuffle from "@spectrum-icons/workflow/Shuffle"; import { HomepageImage } from "../../pages"; const getButtonClasses = (isClient?: boolean) => classnames( "z-20 rounded-md text-md inline-block px-2 py-1 mt-1 mr-2 text-md hover:underline", isClient ? "cool-border-small hover:bg-vibrant" : "text-gray-300 bg-gray-700" ); interface ActionButtonsProps { isClient?: boolean; image: HomepageImage; shuffleImage: (image: HomepageImage) => void; } const ActionButtons = ({ isClient, image, shuffleImage, }: ActionButtonsProps) => (