From aae1a9ac6c3541d7218f457970bc3102c1dacbcd Mon Sep 17 00:00:00 2001 From: David Pine Date: Mon, 26 Jan 2026 14:40:48 -0600 Subject: [PATCH] feat: enhance PivotSelector component with marginTop prop for better layout control docs: update Polyglot AppHost documentation with new features and usage examples docs: add link to Polyglot AppHost in resource model documentation docs: include Polyglot AppHost reference in get-started guide for broader language support style: import utility classes for padding and margin in site CSS style: create utils.css for reusable padding and margin utility classes --- src/frontend/config/sidebar/docs.topics.ts | 4 + .../src/components/PivotSelector.astro | 8 +- .../docs/app-host/polyglot-apphost.mdx | 910 ++++++++++-------- .../docs/architecture/resource-model.mdx | 4 + .../src/content/docs/get-started/app-host.mdx | 5 + src/frontend/src/styles/site.css | 3 +- src/frontend/src/styles/utils.css | 507 ++++++++++ 7 files changed, 1050 insertions(+), 391 deletions(-) create mode 100644 src/frontend/src/styles/utils.css diff --git a/src/frontend/config/sidebar/docs.topics.ts b/src/frontend/config/sidebar/docs.topics.ts index dbbf52c7c..7c918c618 100644 --- a/src/frontend/config/sidebar/docs.topics.ts +++ b/src/frontend/config/sidebar/docs.topics.ts @@ -720,6 +720,10 @@ export const docsTopics: StarlightSidebarTopicsUserConfig = { label: 'Configuration', slug: 'app-host/configuration', }, + { + label: 'Polyglot AppHost', + slug: 'app-host/polyglot-apphost', + }, { label: 'Certificate configuration', slug: 'app-host/certificate-configuration', diff --git a/src/frontend/src/components/PivotSelector.astro b/src/frontend/src/components/PivotSelector.astro index ce4836b68..e0af92c4d 100644 --- a/src/frontend/src/components/PivotSelector.astro +++ b/src/frontend/src/components/PivotSelector.astro @@ -9,9 +9,10 @@ type Props = { options: Option[]; key: string; title?: string; + marginTop?: number | null; }; -const { options, key, title } = Astro.props; +const { options, key, title, marginTop } = Astro.props; ---
@@ -58,14 +59,14 @@ const { options, key, title } = Astro.props;
-