"use client" import { SupportPageContent, SupportPageShell } from "@/app/(support)/support/_components/support-page-shell" import { isEmbeddedInHost, SupportChatPanel, SupportChatShell, } from "@/components/support-chat/chat-shell" import { useI18n } from "@/i18n/provider" /** * This route serves two audiences. Embedded it is the widget iframe document, * where the host owns the size and the panel must fill the frame. Opened * directly it is a normal support page, so it gets the portal shell and a * bounded card instead of a full-viewport panel. */ export default function Page() { return isEmbeddedInHost() ? : } function SupportChatPage() { const t = useI18n() return (

{t("supportChat.pageTitle")}

{t("supportChat.pageDescription")}

) }