Skip to content

Build the Peragus institutional B2B homepage - #107

Draft
Peragus01 wants to merge 5 commits into
developfrom
feat/institutional-b2b-homepage
Draft

Peragus01 wants to merge 5 commits into
developfrom
feat/institutional-b2b-homepage

Conversation

@Peragus01

@Peragus01 Peragus01 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

Replace the retail-oriented homepage with an English-language institutional page for businesses and partners. The page gives visitors direct access to the founder’s booking page, commercial inquiries, and existing customer entry points.

Changes

  • Localized the institutional homepage in Brazilian Portuguese and Spanish, with English as the default. The EN / PT / ES selector uses shareable URLs with localized metadata and alternate-language links. Lead option values and Google Calendar routing are shared across all versions.
  • Nine institutional sections, an original routing illustration, a responsive process diagram, and the five approved 2027 milestones.
  • Direct Google Calendar links, search and social metadata, scoped styling, and responsive navigation.
  • A public inquiry form, an explicitly allowlisted same-origin proxy, a Fastify intake endpoint, and PostgreSQL migration 057.

Preserved functionality

The homepage reuses the existing account session and client routes. Customer onboarding, invitations, legal acceptance, operator MFA, payment controls, provider integrations, and workers keep their existing logic.

Security considerations

The lead endpoint validates and bounds incoming JSON, checks a honeypot, limits submissions per backend instance and source address, and uses a parameterized insert with a unique normalized email and interest. Duplicate and first submissions return the same public response. RLS and table grants restrict direct client access. Private app and operator URLs receive a noindex header.

Testing results

  • The localized frontend passed typecheck, 312 tests, lint, and the production build in GitHub Actions. Two existing session-persistence assertions now wait for the storage write they verify.

  • npm ci, typecheck, and production builds ran in both applications. Frontend lint completed with 11 warnings in existing files and no errors.

  • All 311 frontend tests passed on the final run. The backend passed 1,179 local tests (8 skipped), including three lead-intake tests with embedded PostgreSQL. GitHub Actions passed for both applications with the configured PostgreSQL service.

  • Chromium rendered the production build at 1920, 1440, 1280, 768, 390, and 360px. Confirmed no horizontal overflow, correct mobile navigation, responsive timeline, a new booking tab, no browser runtime errors, and reachable customer, operator, and legal routes. With embedded PostgreSQL, verified validation, recoverable failure, confirmed persistence, duplicate replay, oversized bodies, and cross-origin rejection.

  • The public Google Calendar page showed 30-minute appointments under “Business & Strategic Partnerships.” No appointment was created.

  • Automated axe checks found no WCAG A/AA violations in the homepage at 1440px and 390px.

  • The backend production dependency audit reported four moderate advisories in the existing dependency graph. No dependency or lockfile changed.

Visual evidence

Desktop and mobile captures were taken from the locally served production build and provided to the project owner.

Deployment instructions

  1. Apply migration 057 through the existing backend migration runner against the staging database.
  2. Deploy the matching Railway backend and ensure the Vercel preview’s server-side PERAGUS_BACKEND_URL points to that staging API.
  3. Submit a synthetic inquiry on the preview and confirm one authorized database row and a single record after replay. Verify guest and authenticated navigation before promoting.
  4. Production migration and deployment require separate approval.

Pending configuration

  • Verify the official LinkedIn and Instagram URLs before publishing those links.
  • For deployments behind a shared reverse proxy, the process-local source limit can be shared by visitors behind that proxy. Validate staging traffic and proxy behavior before promotion.
  • Resend notifications are deferred. Lead persistence is independent of email delivery.
  • Vercel preview requires team authentication. The preview’s rendering and staging-backed persistence still need verification.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
peragus-svm Ready Ready Preview Nov 24, 2026 1:10pm UTC

This branch was successfully deployed

1 active deployment
Preview — 5ab0e479 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant