Repository navigation
chore(brand): replace default Vercel/Mintlify favicons + add OG image - #6
Merged
Merged
Conversation
When sharing app.ansvisor.com or docs.ansvisor.com on WhatsApp / Twitter
the preview was showing the host's default chrome (Vercel logo for the
app, Mintlify wordmark for docs). Same problem on browser tabs.
- web/src/app/icon.svg: brand mark, picked up automatically by
Next.js as the favicon (overrides the legacy favicon.ico for modern
browsers; old .ico kept as fallback for IE-era clients).
- web/src/app/opengraph-image.tsx: dynamic 1200x630 OG card built
with next/og's ImageResponse — gradient backdrop, brand mark,
tagline, AI-engine list across the bottom. Renders on demand at
/opengraph-image so we don't have to ship a binary asset.
- web/src/app/layout.tsx: metadataBase + openGraph + twitter card
config so the OG image and brand metadata are emitted on every
page (including the auth pages).
- docs/favicon.svg: matching favicon for Mintlify (mint.json already
referenced /favicon.svg, just adds the file).
- docs/mint.json: metadata block pointing og:image at the web app's
/opengraph-image endpoint so previews share the same look without
duplicating the asset.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The first cut shipped a stylised "A" placeholder because rendering the SVG inside next/og's ImageResponse needs a real <img> source. Read public/logo_dark.svg from disk, base64-encode it, and pass it to the inline <img> via a data URL so the actual swirl mark shows up on WhatsApp / Twitter / Slack previews. logo_dark is the white-glyph variant — looks correct on the dark gradient backdrop.
The OG card was overdesigned. Strip everything except the brand mark itself, sized 360x360 and centered on the same dark gradient backdrop. Cleaner, more recognisable at thumbnail size, and works as the WhatsApp chat preview tile without competing text.
7 of 12 tasks
3 of 4 tasks
gkhngyk
pushed a commit
that referenced
this pull request
Nov 21, 2026
Today's Where you stand showed "27.4" with no unit and ranked the brand among the five competitors named most, so it read "#6 of 6 brands" next to 19 tracked competitors (AC-02). It now shows the Visibility score out of 100 (D1, D2), says which run it is from (D7), and ranks among the brand's primary rivals, its Direct competitors, with a rival no answer named at 0 (D5). With none marked it ranks among every competitor named in 10 or more prompts (D8), read from the full competitor list rather than the top-5 slice. The text names the set: "#3 of 6 with your primary rivals". Chat's and the MCP Server's summary reads are unchanged; get_today also says which set the rank is among. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
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.
When sharing app.ansvisor.com or docs.ansvisor.com on WhatsApp / Twitter
the preview was showing the host's default chrome (Vercel logo for the
app, Mintlify wordmark for docs). Same problem on browser tabs.
Next.js as the favicon (overrides the legacy favicon.ico for modern
browsers; old .ico kept as fallback for IE-era clients).
with next/og's ImageResponse — gradient backdrop, brand mark,
tagline, AI-engine list across the bottom. Renders on demand at
/opengraph-image so we don't have to ship a binary asset.
config so the OG image and brand metadata are emitted on every
page (including the auth pages).
referenced /favicon.svg, just adds the file).
/opengraph-image endpoint so previews share the same look without
duplicating the asset.