feat(cms): fully CMS-driven tenant sites + real-estate homepage UX - #3
Merged
Conversation
Asapteejo
commented
Jul 7, 2026
Owner
- Expand site content schema 3 -> 12 editable groups: SEO, hero (+ stat cards + image panel), 3-step buyer journey, section headings, about, careers (with visibility toggle), contact hours/note, social links, footer. Field-level fallbacks; defaults rewritten from platform jargon to real-estate voice. Bounded lengths; social links https-only and WhatsApp E.164; CTA hrefs restricted to safe schemes.
- Homepage: all copy CMS-resolved; add hero property search (location/ type/budget -> /properties via plain GET, no-JS friendly).
- Footer social icon row (only filled profiles; wa.me for WhatsApp); careers link follows page visibility; floating WhatsApp falls back to the CMS number.
- Contact page: office hours + WhatsApp row + tenant-voiced heading.
- Careers page fully CMS-driven and hideable (was hardcoded platform values leaking onto tenant sites); 404s when hidden.
- Marketing layout emits tenant-authored SEO + OpenGraph (hero og:image).
- Admin site-content editor: 11 sections with draft -> publish, careers toggle; string-key-constrained update helper.
- Tests: 7 resolver/validation tests incl. a guard against platform copy in tenant fallbacks. No DB migration: content persists in the existing site-content JSON columns.
- Expand site content schema 3 -> 12 editable groups: SEO, hero (+ stat cards + image panel), 3-step buyer journey, section headings, about, careers (with visibility toggle), contact hours/note, social links, footer. Field-level fallbacks; defaults rewritten from platform jargon to real-estate voice. Bounded lengths; social links https-only and WhatsApp E.164; CTA hrefs restricted to safe schemes. - Homepage: all copy CMS-resolved; add hero property search (location/ type/budget -> /properties via plain GET, no-JS friendly). - Footer social icon row (only filled profiles; wa.me for WhatsApp); careers link follows page visibility; floating WhatsApp falls back to the CMS number. - Contact page: office hours + WhatsApp row + tenant-voiced heading. - Careers page fully CMS-driven and hideable (was hardcoded platform values leaking onto tenant sites); 404s when hidden. - Marketing layout emits tenant-authored SEO + OpenGraph (hero og:image). - Admin site-content editor: 11 sections with draft -> publish, careers toggle; string-key-constrained update helper. - Tests: 7 resolver/validation tests incl. a guard against platform copy in tenant fallbacks. No DB migration: content persists in the existing site-content JSON columns. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
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.