Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docs for badge #1199

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/hosting/reflex-branding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
3 changes: 1 addition & 2 deletions docs/hosting/self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Collaborator

Choose a reason for hiding this comment

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

i dont know if we still need this section in self hosting docs. maybe we can just link to the branding page, since the method is the same?



```md alert info
Expand Down
4 changes: 2 additions & 2 deletions pcweb/pages/pricing/plan_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pcweb/pages/pricing/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.", "", "", "", ""),
("", "", "", "", ""),
]

Expand Down