mirror of
https://github.com/coder/coder.git
synced 2026-11-03 22:25:31 +08:00
During development of #21659 I approved some `<Paywall />` code that had an extensive props system, however, I wasn't a huge fan of this. This approach attempts to take it further like something `shadcn` would, where-in we define the `<Paywall />` (and its subset of components) and we wrap around those when needed for `<PaywallAIGovernance />` and `<PaywallPremium />`. Theoretically there is no real CSS/Design changes here. However screenshot for prosperity. | Previously | Now | | --- | --- | | <img width="2306" height="614" alt="CleanShot 2026-01-29 at 10 56 05@2x" src="https://github.com/user-attachments/assets/83a4aa1b-da74-459d-ae11-fae06c1a8371" /> | <img width="2308" height="622" alt="CleanShot 2026-01-29 at 10 55 05@2x" src="https://github.com/user-attachments/assets/4aa43b09-6705-4af3-86cc-edc0c08e53b1" /> | --------- Co-authored-by: Ben Potter <me@bpmct.net> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>