Skip to content

fix(site/src/pages/DeploymentSettingsPage/PremiumPage): center premium trial hero over image - #28732

Open
designertyler wants to merge 2 commits into
mainfrom
feat/premium-page-center-hero
Open

fix(site/src/pages/DeploymentSettingsPage/PremiumPage): center premium trial hero over image#28732
designertyler wants to merge 2 commits into
mainfrom
feat/premium-page-center-hero

Conversation

@designertyler

@designertyler designertyler commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

On the deployment Premium page (/deployment/premium), the trial hero copy ("Start an unlimited 30-day Coder trial" and its description) was pinned to the left edge of the supergraphic column and looked too far left.

This wraps the heading and description in a single centered block so the copy sits over the middle of the image, while keeping the text itself left-justified. The heading and paragraph now share the same left/right edges.

Changes

  • Wrap <h2> and <p> in one self-center max-w-sm block (centered over the image).
  • Remove the paragraph's separate max-w-sm so it aligns with the heading instead of looking left-shifted.
  • Copy and behavior unchanged; only the empty-license two-column trial view is affected.

Testing

  • Verified in a dev instance (community edition, admin) at /deployment/premium: the block renders with equal ~83px gaps on both sides of the image column, text left-justified.

Before/after changes overlaid
image

This PR was generated by Coder Agents.

…m trial hero over image

Wrap the trial hero heading and description in a single centered block so
the copy sits over the middle of the supergraphic instead of hugging the
left edge, while keeping the text left-justified.

Generated by Coder Agents.

@untra untra 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.

before/after screenshots would be cool

@designertyler

Copy link
Copy Markdown
Contributor Author

before/after screenshots would be cool

You're too fast! Added

image

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.

3 participants