Skip to content

Align enterprise page with product design#855

Merged
riderx merged 15 commits into
mainfrom
codex/enterprise-page-product-design
Jun 30, 2026
Merged

Align enterprise page with product design#855
riderx merged 15 commits into
mainfrom
codex/enterprise-page-product-design

Conversation

@riderx

@riderx riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • removed the trailing “Ready to deliver updates at scale?” CTA so the page ends on useful enterprise content
  • kept the approved hero layout and tightened the hero message around security-approved live updates for enterprise teams
  • added a front-of-page enterprise partnership section that makes named account ownership, private Slack/Teams access, P1 incident routing, and custom engineering scope explicit
  • replaced anonymous Capgo team initials in the partnership visual with real team photos, names, and titles
  • replaced the generic approval block with a procurement-ready section for legal, finance, and security sign-off, including MSA/DPA/PO, security-review, billing, and onboarding proof points
  • added an enterprise plugin replacement section for priority plugin fixes, maintained Capacitor plugins, and Ionic Enterprise/native-code migration paths
  • brought the enterprise FAQ and buyer proof sections closer to the product page style and fixed previous review feedback around contrast, localization helpers, and layout consistency

Screenshot

Enterprise page update

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 15365600
changed web /enterprise// mobile 7718910

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Validation

  • bunx prettier --write apps/web/src/pages/enterprise.astro apps/shared/copy/messages.ts
  • git diff --check
  • bun run build
  • NODE_OPTIONS=--max-old-space-size=16384 bunx astro check in apps/web
  • bun run visual-diff:capture:after -- --suite web --routes /enterprise/
  • bun run visual-diff:compare
  • bun run visual-diff:report

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The enterprise page now uses a .enterprise-product themed layout with updated hero, comparison, decision, solution, feature, infrastructure, and FAQ sections. Enterprise copy, FAQ structured data, and app-example styling hooks were added, and SolutionAppExample received new semantic classes and a data attribute.

Changes

Enterprise Page Redesign

Layer / File(s) Summary
Enterprise message copy additions
apps/shared/copy/messages.ts
Adds enterprise hero, FAQ, proof, pain-point, and before/after comparison message keys.
Enterprise page data and sections
apps/web/src/pages/enterprise.astro
Adds the page stylesheet import, FAQ item data, FAQ JSON-LD, the JSON-LD graph update, rebuilt hero/proof/pain content, comparison and solution sections, and the feature and infrastructure layouts.
FAQ, app example, and global styles
apps/web/src/pages/enterprise.astro
Adds the enterprise FAQ accordion, renders the enterprise solution app example, and expands the global enterprise styling for the page and example section.
SolutionAppExample class refactor
apps/web/src/components/solutions/SolutionAppExample.astro
Adds the solution-specific data attribute and replaces generic classes with dedicated semantic class names across the solution app example markup.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

  • Cap-go/website#670: Both PRs substantially rewrite apps/web/src/pages/enterprise.astro into a new data-driven enterprise layout with restructured sections and LD-JSON.
  • Cap-go/website#791: Both PRs modify apps/web/src/components/solutions/SolutionAppExample.astro in the enterprise app-examples rendering, adding CTA markup and class changes.
  • Cap-go/website#787: Both PRs modify SolutionAppExample.astro markup; the retrieved PR adds randomize props/shuffling, this PR adds semantic class names and a data-solution-app-examples attribute.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating the enterprise page to match the product design.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

@riderx riderx marked this pull request as ready for review June 29, 2026 09:51
@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 13520800
changed web /enterprise// mobile 6786380

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web/src/pages/enterprise.astro`:
- Around line 982-1034: The enterprise page styles are relying on fragile
positional selectors inside SolutionAppExample, so a wrapper or child-order
change will break the theming. Update the enterprise-specific rules in
enterprise.astro to target a stable hook exposed by SolutionAppExample, such as
a dedicated class, data-attribute, or part, and replace the > div >
div:first-child and a:nth-child(2) selectors with that explicit hook.
- Line 425: The new enterprise testimonial and related section copy are
hardcoded English and bypass the existing locale-based messaging on
enterprise.astro. Move the headings/body text at the enterprise testimonial and
the other newly added sections into the message catalog and render them through
the existing m.* pattern used elsewhere on the page, so locale-specific content
is selected consistently for all languages.
- Around line 1013-1029: Add visible :focus-visible styling for the app-example
anchor links in enterprise.astro, since the current rules for
.enterprise-product `#real-app-examples` > div > div:first-child a and
`#app-examples-cta` a only define hover states. Update the link selectors in this
section to include a matching focus-visible treatment (same kind of visual
emphasis as hover, without removing outline accessibility) so keyboard users can
clearly see focus on both the real-app examples links and the app-examples CTA.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c3d24c95-1142-46e2-b454-48b1836f9063

📥 Commits

Reviewing files that changed from the base of the PR and between 2497fa4 and e0636e8.

📒 Files selected for processing (4)
  • _typos.toml
  • apps/web/public/pr-screenshots/enterprise-product-design.webp
  • apps/web/src/pages/enterprise.astro
  • apps/web/src/pages/native-build.astro
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • Cap-go/capacitor-updater (manual)
💤 Files with no reviewable changes (1)
  • apps/web/src/pages/native-build.astro

Comment thread apps/web/src/pages/enterprise.astro Outdated
Comment thread apps/web/src/pages/enterprise.astro
Comment thread apps/web/src/pages/enterprise.astro Outdated
@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 13520700
changed web /enterprise// mobile 6786380

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@sonarqubecloud

Copy link
Copy Markdown

@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14490300
changed web /enterprise// mobile 7113250

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14490400
changed web /enterprise// mobile 7113260

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14345100
changed web /enterprise// mobile 6859790

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/web/src/pages/enterprise.astro (1)

553-568: 🎯 Functional Correctness | 🔵 Trivial | ⚖️ Poor tradeoff

Comparison "table" loses structure for assistive tech and on mobile.

This grid is built from div/span/strong rather than a real <table>, so screen readers get no column/row association between the header cells (Use case / Before / With Capgo Enterprise) and each row's data. At <820px (Line 947) the columns collapse into a single stack, leaving before/after text with no visible label to distinguish them. Consider a semantic <table> (with scope="col" headers), or at minimum render the column label inline within each cell for the stacked mobile layout.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/pages/enterprise.astro` around lines 553 - 568, The enterprise
comparison section built in the enterprise table markup should be made
accessible and readable on mobile by replacing the current div/span/strong
layout with a semantic table in the enterprise comparison rows or by adding
explicit per-cell labels. Update the enterprise table header and the
enterpriseBeforeAfterRows rendering so screen readers can associate Use case /
Before / With Capgo Enterprise with each row, and ensure the <820px stacked
layout still shows the column label inline with each before/after cell. Use the
existing enterprise-table-wrap, enterprise-table-head, and
enterpriseBeforeAfterRows structures to locate and refactor the comparison
markup.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web/src/pages/enterprise.astro`:
- Around line 402-407: Mark the four hero-meta checkmark spans as decorative by
adding aria-hidden="true" to each .check element in the enterprise hero markup.
Update the hero-meta block in enterprise.astro so it matches the other checkmark
usages in this file and keeps screen readers from announcing the glyph before
each label.

---

Outside diff comments:
In `@apps/web/src/pages/enterprise.astro`:
- Around line 553-568: The enterprise comparison section built in the enterprise
table markup should be made accessible and readable on mobile by replacing the
current div/span/strong layout with a semantic table in the enterprise
comparison rows or by adding explicit per-cell labels. Update the enterprise
table header and the enterpriseBeforeAfterRows rendering so screen readers can
associate Use case / Before / With Capgo Enterprise with each row, and ensure
the <820px stacked layout still shows the column label inline with each
before/after cell. Use the existing enterprise-table-wrap,
enterprise-table-head, and enterpriseBeforeAfterRows structures to locate and
refactor the comparison markup.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 10ca0e9c-4e30-4a84-a676-03effe9523a0

📥 Commits

Reviewing files that changed from the base of the PR and between e0636e8 and d040ee3.

📒 Files selected for processing (4)
  • apps/shared/copy/messages.ts
  • apps/web/public/pr-screenshots/enterprise-product-design.webp
  • apps/web/src/components/solutions/SolutionAppExample.astro
  • apps/web/src/pages/enterprise.astro
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • Cap-go/capacitor-updater (manual)

Comment thread apps/web/src/pages/enterprise.astro
@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14344900
changed web /enterprise// mobile 6906250

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/web/src/pages/enterprise.astro (1)

700-714: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Add a live region for the FAQ answers.

Opening these <details> rows reveals dynamic content, but .enterprise-faq-answer is not exposed through an aria-live region, so screen readers will not get the opened answer announced. Add a polite live region here or mirror the opened answer into a shared live announcer. As per coding guidelines, **/*.{astro,jsx,tsx,js,ts}: Dynamic content must use aria-live regions for accessibility.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/pages/enterprise.astro` around lines 700 - 714, The FAQ
expansion in enterpriseFaqItems is revealing dynamic answer content without any
aria-live support, so screen readers won’t announce the opened text. Update the
enterprise.astro FAQ rendering around the details/summary and
.enterprise-faq-answer markup to include a polite live region, or mirror the
active answer into a shared announcer that updates when a row opens. Keep the
solution tied to the existing enterprise-faq-grid, enterprise-faq-item, and
enterprise-faq-answer structure so the announcement follows the currently
expanded item.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/web/src/pages/enterprise.astro`:
- Around line 556-582: The enterprise comparison table in enterprise.astro is
hiding the only header row from assistive tech on mobile while keeping the
wrapper exposed as a table, which removes header context for the stacked cells.
Update the enterprise-table-head / enterprise-table-wrap markup so the headers
remain in the accessibility tree (for example, visually hide the header row
instead of using display: none), or alternatively remove the table-related roles
in the mobile stacked layout. Keep the columnheader, rowheader, and cell
structure in sync with the responsive design, including the
enterpriseBeforeAfterRows rendering and the related comparison labels.

---

Outside diff comments:
In `@apps/web/src/pages/enterprise.astro`:
- Around line 700-714: The FAQ expansion in enterpriseFaqItems is revealing
dynamic answer content without any aria-live support, so screen readers won’t
announce the opened text. Update the enterprise.astro FAQ rendering around the
details/summary and .enterprise-faq-answer markup to include a polite live
region, or mirror the active answer into a shared announcer that updates when a
row opens. Keep the solution tied to the existing enterprise-faq-grid,
enterprise-faq-item, and enterprise-faq-answer structure so the announcement
follows the currently expanded item.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 74ac82e2-da6e-495b-8591-cd0dab1d06c1

📥 Commits

Reviewing files that changed from the base of the PR and between d040ee3 and 05e0903.

📒 Files selected for processing (2)
  • apps/web/public/pr-screenshots/enterprise-product-design.webp
  • apps/web/src/pages/enterprise.astro
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • Cap-go/capacitor-updater (manual)

Comment thread apps/web/src/pages/enterprise.astro
@riderx

riderx commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14344900
changed web /enterprise// mobile 6906250

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14445600
changed web /enterprise// mobile 6955800

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14492100
changed web /enterprise// mobile 6944120

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14692300
changed web /enterprise// mobile 7335760

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14728300
changed web /enterprise// mobile 7241650

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 14728300
changed web /enterprise// mobile 7241650

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx

riderx commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Visual diff

Generated with bun run visual-diff:compare (2 screenshots, fuzz 1%).

Status Suite Route Viewport Diff (px)
changed web /enterprise// desktop 15365600
changed web /enterprise// mobile 7718910

Summary:

  • identical: 0
  • minor: 0
  • changed: 2

Diff images are in .visual-diff/diff/ (local only, gitignored).

@riderx riderx merged commit 45eab2f into main Jun 30, 2026
11 checks passed
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