import type { BlitzPage } from "blitz"; import { Routes, useMutation } from "blitz"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCreditCard, faUserCircle } from "@fortawesome/pro-regular-svg-icons"; import Layout from "../../core/layouts/layout"; import appLogger from "../../../integrations/logger"; import useRequireOnboarding from "../../core/hooks/use-require-onboarding"; import logout from "../../auth/mutations/logout"; const logger = appLogger.child({ page: "/settings" }); /* eslint-disable react/display-name */ const navigation = [ { name: "Account", href: "/settings/account", icon: ({ className = "w-8 h-8" }) => , }, { name: "Billing", href: "/settings/billing", icon: ({ className = "w-8 h-8" }) => , }, ]; /* eslint-enable react/display-name */ const Settings: BlitzPage = () => { useRequireOnboarding(); const [logoutMutation] = useMutation(logout); return ( <>

Settings

); }; Settings.getLayout = (page) => {page}; Settings.authenticate = { redirectTo: Routes.SignIn() }; export default Settings;