Repository navigation
Refine brand pages and fix social previews - #1837
Merged
David Pine (IEvangelist) merged 2 commits intoOct 7, 2026
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
David Pine (IEvangelist)
requested a review
from Aaron Powell (aaronpowell)
as a code owner
October 7, 2026 16:43
David Pine (IEvangelist)
enabled auto-merge (squash)
October 7, 2026 16:43
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Malformed preview-origin values bypass the actionable validation error and produce only a generic URL exception.
1 open finding
What changed in this PR
Refines brand pages and fixes social preview image handling for generated and preview deployments.
Changes:
- Improves brand cards, galleries, links, and palette layouts.
- Adds brand overview artwork and corrects generated PNG routes.
- Supports configurable preview origins with regression coverage.
| File | Description |
|---|---|
src/frontend/public/og/aspire-brand-assets.png |
Adds brand social-preview artwork. |
src/frontend/src/utils/page-metadata.ts |
Supports preview image origins. |
src/frontend/src/pages/og/[...slug].png.ts |
Corrects generated PNG paths. |
src/frontend/src/env.d.ts |
Types the preview-origin variable. |
src/frontend/src/data/brand.ts |
Removes filler accent descriptions. |
src/frontend/src/content/docs/community/contributor-guide.mdx |
Documents preview configuration. |
src/frontend/src/content/docs/community/brand/index.mdx |
Selects the composed OG image. |
src/frontend/src/content/docs/community/brand/colors.mdx |
Uses compact accent cards. |
src/frontend/src/components/brand/BrandAssetGallery.astro |
Refines wordmark galleries. |
src/frontend/src/components/brand/BrandCopyValue.astro |
Adjusts copied-value typography. |
src/frontend/src/components/brand/BrandExternalLink.astro |
Fixes external-link suffix layout. |
src/frontend/src/components/brand/BrandIconDownloads.astro |
Refines icon-download styling. |
src/frontend/src/components/brand/BrandNavigation.astro |
Improves navigation hierarchy. |
src/frontend/src/components/brand/BrandPalette.astro |
Compacts accents and gradients. |
src/frontend/src/components/brand/BrandTypography.astro |
Refines specimen cards. |
src/frontend/src/components/brand/BrandUsageGuidance.astro |
Updates guidance-card styling. |
src/frontend/tests/unit/page-metadata.vitest.test.ts |
Tests preview-origin behavior. |
src/frontend/tests/unit/custom-components.vitest.test.ts |
Tests component rendering changes. |
src/frontend/tests/unit/brand-assets.vitest.test.ts |
Validates overview image dimensions. |
src/frontend/tests/e2e/brand-assets.spec.ts |
Covers image endpoints and brand UI. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| function resolveOgImageOrigin(value: string | undefined, siteUrl: string): string { | ||
| if (!value?.trim()) return siteUrl; | ||
|
|
||
| const url = new URL(value.trim()); |
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
David Pine (IEvangelist)
deleted the
ievangelist-community-brand-assets
branch
October 7, 2026 17:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
PUBLIC_OG_IMAGE_ORIGINfor preview deployments without changing production canonical URLs, with regression coverage.Preview deployment requirement: Set
PUBLIC_OG_IMAGE_ORIGINto the preview site's public origin before building. This PR does not update or rebuild the existing Azure deployment; changing a runtime setting alone will not update already-built metadata.This PR contains only the follow-up changes on the
release/17.0base, not a replay of the previously merged brand implementation. The contributor guide is unchanged from the base.Third-party links and affiliations
None. Existing external resource links are unchanged, including the link-only PowerPoint deck.
Validation
Passed: 185 unit tests across four files.
Passed: scoped ESLint, zero warnings.
Passed: 24 browser tests across desktop, tablet, and mobile. Covers advertised 1200×630 PNG social cards, multiline external-link rendering, brand page accessibility/reflow, and exact copied color/gradient values.
Passed:
git diff --check origin/release/17.0...HEAD.Passed: contributor guide restored exactly to the base.
The unit/browser/lint results above precede the documentation-only removal; no application code changed afterward. No local production build was run. The dev server has been stopped.