From 013a2b53a95642ccdec08fb2e8d8b57792c5e565 Mon Sep 17 00:00:00 2001 From: Oleg Isonen Date: Fri, 27 Jun 2025 23:22:01 +0100 Subject: [PATCH] chore: Better button colors, better upgrade request (#5302) image image ## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file --- .../app/builder/features/topbar/domains.tsx | 6 +-- .../app/builder/features/topbar/entri.tsx | 38 +++++++++++++++---- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/apps/builder/app/builder/features/topbar/domains.tsx b/apps/builder/app/builder/features/topbar/domains.tsx index a84f62f497..b94b548c4a 100644 --- a/apps/builder/app/builder/features/topbar/domains.tsx +++ b/apps/builder/app/builder/features/topbar/domains.tsx @@ -348,7 +348,7 @@ const DomainItem = ({ + {requestUpgrade && ( + + + Please upgrade to the Pro plan or higher to use automatic domain + configuration. + + + + + Upgrade to Pro + + + + )} ); };