import { logout } from "@/constants/routes/handleAuth" import { serverClient } from "@/lib/trpc/server" import Divider from "@/components/TempDesignSystem/Divider" import Link from "@/components/TempDesignSystem/Link" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { getIntl } from "@/i18n" import { getLang } from "@/i18n/serverContext" import styles from "./sidebar.module.css" export default async function SidebarMyPages() { const intl = await getIntl() return ( ) } async function PrimaryLinks() { const nav = await serverClient().navigation.myPages({}) return ( <> ) } async function SecondaryLinks() { const lang = getLang() const nav = await serverClient().navigation.myPages({}) const intl = await getIntl() return ( <> ) }