From c96d61dac751a65fc94bbd9da8023033d5244ae1 Mon Sep 17 00:00:00 2001 From: Tom Gotsman Date: Thu, 30 Jan 2025 16:44:05 -0800 Subject: [PATCH] update docs for badge --- docs/hosting/reflex-branding.md | 4 ++-- docs/hosting/self-hosting.md | 3 +-- pcweb/pages/pricing/plan_cards.py | 4 ++-- pcweb/pages/pricing/table.py | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/hosting/reflex-branding.md b/docs/hosting/reflex-branding.md index 33ba61f34..3d5f4f389 100644 --- a/docs/hosting/reflex-branding.md +++ b/docs/hosting/reflex-branding.md @@ -7,12 +7,12 @@ from pcweb.pages.pricing.pricing import pricing_path Remove Reflex branding from your exported or deployed sites. -By default, Reflex branding, such as the "Made in Reflex" badge, will appear on all your published sites. +By default, Reflex branding, such as the "Built with Reflex" badge, will appear on all your published sites. ## How to remove the Reflex branding from your app -You can turn off the Reflex branding, when deploying to Reflex Cloud, by adding the `--badge` flag to the `reflex deploy` command. +You can turn off the Reflex branding, when deploying to Reflex Cloud, by adding `show_built_with_reflex=False` to the `rx.Config()` in the `rxconfig.py` file. In order for this to work a user hosting with Reflex Cloud must be logged in and on a [paid plan]({pricing_path}) (at least pro tier). diff --git a/docs/hosting/self-hosting.md b/docs/hosting/self-hosting.md index 1f1318c2a..7cf9ccd5c 100644 --- a/docs/hosting/self-hosting.md +++ b/docs/hosting/self-hosting.md @@ -123,8 +123,7 @@ docker run -d -p 3000:3000 -p 8000:8000 --name app reflex-project:latest ## Remove Reflex branding from your self-hosted app -To remove the Reflex branding, such as the "Made in Reflex" badge, from your self-hosted app, you must add the `--badge` flag to the export command `reflex export --badge` or the run command `reflex run --env prod --badge`. - +To remove the Reflex branding, such as the "Built with Reflex" badge, from your self-hosted app, you must add `show_built_with_reflex=False` to the `rx.Config()` in the `rxconfig.py` file. ```md alert info diff --git a/pcweb/pages/pricing/plan_cards.py b/pcweb/pages/pricing/plan_cards.py index e0f85b427..9484c7747 100644 --- a/pcweb/pages/pricing/plan_cards.py +++ b/pcweb/pages/pricing/plan_cards.py @@ -252,7 +252,7 @@ def plan_cards() -> rx.Component: ("clock", "30 days log retention"), ("globe", "Multi-region"), ("brush", "Custom domains"), - ("file-badge", "Remove Branding", "Check out the Reflex Branding doc page to learn how to remove the 'Made in Reflex' badge from your app."), + ("file-badge", "Remove Branding", "Check out the Reflex Branding doc page to learn how to remove the 'Built with Reflex' badge from your app."), ("circle-plus", "Everything in Hobby"), ], "Start with Pro plan", @@ -268,7 +268,7 @@ def plan_cards() -> rx.Component: ("git-branch", "Create multiple projects"), ("signal", "Full Website Analytics"), ("lock-keyhole", "One Click Auth"), - ("file-badge", "Remove Branding Everywhere", "Check out the Remove Reflex Branding section in the Self Hosting doc page to learn how to remove the 'Made in Reflex' badge from your app."), + ("file-badge", "Remove Branding Everywhere", "Check out the Remove Reflex Branding section in the Self Hosting doc page to learn how to remove the 'Built with Reflex' badge from your app."), ("circle-plus", "Everything in Pro"), ], "Contact sales", diff --git a/pcweb/pages/pricing/table.py b/pcweb/pages/pricing/table.py index b740ee584..9bc71b612 100644 --- a/pcweb/pages/pricing/table.py +++ b/pcweb/pages/pricing/table.py @@ -87,7 +87,7 @@ ] ASTERIX_SECTION = [ - ("* Everywhere: This includes removing the 'Made in Reflex' badge for self hosted apps.", "", "", "", ""), + ("* Everywhere: This includes removing the 'Built with Reflex' badge for self hosted apps.", "", "", "", ""), ("", "", "", "", ""), ]