Skip to content

Commit 8da28b1

Browse files
Update stats constants to reflect current metrics (#1570)
* Update stats constants - Update GITHUB_STARS from 23000 to 25000 - Update DISCORD_USERS from 7000 to 7500 - Update CONTRIBUTORS from 170 to 180 - Update REFLEX_STAR_COUNT from 23200 to 25000 - Update hardcoded values in open_source.py for consistency Co-Authored-By: Alek <[email protected]> * Update forks count to 1,400+ - Update hardcoded forks value from 1,200+ to 1,400+ in open_source.py Co-Authored-By: Alek <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alek <[email protected]>
1 parent 90a7a6d commit 8da28b1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pcweb/constants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
RX_BUILD_BACKEND = os.getenv("RX_BUILD_BACKEND", "https://build-backend.reflex.dev/")
7272

7373
# Stats
74-
GITHUB_STARS = 23000
75-
DISCORD_USERS = 7000
76-
CONTRIBUTORS = 170
74+
GITHUB_STARS = 25000
75+
DISCORD_USERS = 7500
76+
CONTRIBUTORS = 180
7777

7878
MAX_FILE_SIZE_MB = 5
7979
MAX_FILE_SIZE_BYTES = MAX_FILE_SIZE_MB * 1024 * 1024
@@ -98,4 +98,4 @@
9898
# Posthog
9999
POSTHOG_API_KEY = os.getenv("POSTHOG_API_KEY")
100100

101-
SLACK_DEMO_WEBHOOK_URL: str = os.environ.get("SLACK_DEMO_WEBHOOK_URL")
101+
SLACK_DEMO_WEBHOOK_URL: str = os.environ.get("SLACK_DEMO_WEBHOOK_URL")

pcweb/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import reflex as rx
44

5-
REFLEX_STAR_COUNT = 23200
5+
REFLEX_STAR_COUNT = 25000
66

77

88
class GithubStarState(rx.State):

pcweb/pages/framework/views/open_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def stat(icon: str, stat: str, text: str) -> rx.Component:
2121
def stats() -> rx.Component:
2222
return rx.box(
2323
stat("star", f"{GITHUB_STARS:,}+", "stars"),
24-
stat("fork", "1,100+", "forks"),
25-
stat("contributors", "150+", "contributors"),
24+
stat("fork", "1,400+", "forks"),
25+
stat("contributors", "180+", "contributors"),
2626
class_name="justify-center gap-10 grid grid-cols-1 md:grid-cols-3 lg:grid-cols-3",
2727
)
2828

0 commit comments

Comments
 (0)