import { Link } from "react-router" import useRoutes from "@/hooks/useRoutes" import { UserType } from "@/types/UserType" import { DishType } from "@/types/DishType" interface Props { dishes: DishType[], users: UserType[] } const OnboardingBanner = ({ dishes, users }: Props) => { const routes = useRoutes(); const steps = [ { label: "Create a user", href: routes.user.create(), count: users.length }, { label: "Create a dish", href: routes.dish.create(), count: dishes.length } ] return (