feat(landing): horizontal solo hero, real QR, Google Fonts, composable button#205
Merged
Merged
Conversation
…e button
Builds on the brand-showcase redesign with the feedback from review:
- Solo mode (no agent panel) is now a horizontal two-column hero (content +
QR) instead of one tall centered stack, making use of the full width. Split
mode stays a centered column (the page is already horizontal there). Mobile
stacks to a single centered column.
- Real, scannable QR (reuses the qr-code-styling crate via qr::qr_svg) encoding
the link's canonical URL; desktop-only, hidden on mobile.
- Google Fonts: `font_family` (any catalog name, validated to letters/digits/
spaces) loads via <link> over the preset's system-font fallback stack.
- Composable button styling: `ButtonStyle { fill, elevation, radius }` —
orthogonal property enums (Solid/Tint/Outline/Gradient · Flat/Soft/Glow ·
Sharp/Rounded/Pill) instead of named presets. Elevation is reused by the app
tile so page depth is one coherent property. Default button is a solid fill
(dropped the always-on gradient).
- OpenAPI: register the "Tenant" tag (+ Configuration tag group) so the
/v1/tenant/branding route shows in the API reference; register ButtonStyle /
ButtonFill / Elevation schemas.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Follow-on to #204, incorporating review feedback.
Changes
qr-code-stylingcrate (qr::qr_svg), encodes the link's canonical URL. Desktop-only (hidden on mobile, where the visitor's already on their phone).font_family(any catalog name, validated to letters/digits/spaces) loads via<link>over the preset's system-font fallback. Went direct-to-Google per the cost/benefit discussion.ButtonStyle { fill, elevation, radius }: orthogonal property enums (Solid/Tint/Outline/Gradient · Flat/Soft/Glow · Sharp/Rounded/Pill) instead of named presets, so brands assemble their own look and every axis stays constrained (no raw CSS).elevationis reused by the app tile so depth is one coherent property. Default button is now a solid fill (dropped the always-on gradient).Tenanttag (+ Configuration tag group) so/v1/tenant/brandingshows in the API reference; registerButtonStyle/ButtonFill/Elevationschemas.Verified
Rendered real server output across desktop solo (two-column + QR), split, and true-390 mobile; Google font (Space Grotesk) and composable button (pill/solid/glow) confirmed in the render.
fmt+clippy -D warningsclean. Fullcargo testrunning post-push per the CLAUDE.md CI rule.🤖 Generated with Claude Code