import Link from 'next/link'; import { CreditCardIcon, UserIcon, CodeIcon, KeyIcon, UserGroupIcon } from "@heroicons/react/solid"; import { useRouter } from "next/router"; function classNames(...classes) { return classes.filter(Boolean).join(" "); } export default function SettingsShell(props) { const router = useRouter(); const tabs = [ { name: "Profile", href: "/settings/profile", icon: UserIcon, current: router.pathname == "/settings/profile" }, { name: "Password", href: "/settings/password", icon: KeyIcon, current: router.pathname == "/settings/password" }, { name: "Embed", href: "/settings/embed", icon: CodeIcon, current: router.pathname == "/settings/embed" }, { name: "Teams", href: "/settings/teams", icon: UserGroupIcon, current: router.pathname == "/settings/teams" }, { name: "Billing", href: "/settings/billing", icon: CreditCardIcon, current: router.pathname == "/settings/billing" }, ]; return (