diff --git a/panel/src/app/(tg)/fonts/ShareTechMono-Regular.woff2 b/panel/src/app/(tg)/fonts/ShareTechMono-Regular.woff2 new file mode 100644 index 00000000..24081c3a Binary files /dev/null and b/panel/src/app/(tg)/fonts/ShareTechMono-Regular.woff2 differ diff --git a/panel/src/app/(tg)/layout.tsx b/panel/src/app/(tg)/layout.tsx index 8a5841a1..f746a6e0 100644 --- a/panel/src/app/(tg)/layout.tsx +++ b/panel/src/app/(tg)/layout.tsx @@ -1,4 +1,16 @@ import Script from "next/script"; +import localFont from "next/font/local"; + +// The brand display face — the same vendored Share Tech Mono the motion/ +// video compositions use for their headline moments. Exposed as a CSS +// variable on the shell so `.tg-display` (globals.css) can reach it; body +// text stays the root layout's Inter. +const shareTechMono = localFont({ + src: "./fonts/ShareTechMono-Regular.woff2", + weight: "400", + variable: "--font-share-tech", + display: "swap", +}); /** * Slim shell for the Telegram Mini App surface (`/tg`) — no Sidebar/Header/ @@ -26,7 +38,7 @@ export default function TelegramLayout({ return (