From b8b4e44b50febff1ab42871ea520f2cb577e4e59 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Wed, 7 Jan 2026 20:56:56 +1000 Subject: [PATCH] fix: mobile UI bugs and documentation improvements - docs: add clarifying comment for AI SDK provider imports on /docs and /sdk pages - fix: remove duplicate footer on /docs page (was rendered in both page and root layout) - fix: prevent "Official" badge from overflowing on mobile tool cards (/home) - fix: center Specification/Full Example toggle buttons on mobile (/spec) - fix: ecosystem diagram layout on mobile - increase height and reposition legend (/integrations) --- apps/web/src/app/docs/page.tsx | 5 +- apps/web/src/app/page.tsx | 6 +- apps/web/src/app/sdk/page.tsx | 2 + apps/web/src/app/spec/page.tsx | 2 +- apps/web/src/components/EcosystemDiagram.tsx | 88 +++++++++++++------- 5 files changed, 66 insertions(+), 37 deletions(-) diff --git a/apps/web/src/app/docs/page.tsx b/apps/web/src/app/docs/page.tsx index 0514a24..a79dea3 100644 --- a/apps/web/src/app/docs/page.tsx +++ b/apps/web/src/app/docs/page.tsx @@ -6,7 +6,6 @@ import { Button } from '@tpmjs/ui/Button/Button'; import { CodeBlock } from '@tpmjs/ui/CodeBlock/CodeBlock'; import Link from 'next/link'; import { useEffect, useState } from 'react'; -import { AppFooter } from '~/components/AppFooter'; import { AppHeader } from '~/components/AppHeader'; const NAV_SECTIONS = [ @@ -351,6 +350,7 @@ export default function DocsPage(): React.ReactElement { - ); } diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 02be568..f7ea854 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -104,15 +104,15 @@ export default async function HomePage(): Promise { className="group" >
-
-

+
+

{tool.package.npmPackageName} ({tool.name})

{tool.package.isOfficial && ( - + Official )} diff --git a/apps/web/src/app/sdk/page.tsx b/apps/web/src/app/sdk/page.tsx index 907b6ca..06169e2 100644 --- a/apps/web/src/app/sdk/page.tsx +++ b/apps/web/src/app/sdk/page.tsx @@ -117,6 +117,7 @@ export default function SDKPage(): React.ReactElement { {/* View Toggle */} -
+