Skip to content

[PROPOSAL] Centralize and synchronize organization stats #575

@averma2988225-droid

Description

@averma2988225-droid

The website currently displays key organization statistics (Active Projects, Total Contributors, Community Count) in multiple places, with at least one inconsistency between the home page and the about page. These values are hard‑coded separately in each component, which makes them error‑prone to maintain and easy to desynchronize over time.

#395
( Problem statement ) :

Image

The home page ( /) shows a “Community Count” value of 2000+.

The about page ( /about) shows a “Community Count” value of 3800+.

The stats (Active Projects, Total Contributors, Community Count) are duplicated as literals across components instead of being derived from a single source of truth.

#PROPOSED SOLUTION
Introduce a single shared configuration object/file that acts as the source of truth for these organization statistics, and update all pages to consume this config instead of hard‑coding numeric values.

#Implemnetation Plan

☐Add a shared orgStats config (for example in src/config/orgStats.ts).

☐Update the home page (/) to read all stats from orgStats instead of hard‑coding values.

☐Update the about page (/about) to read the same stats from orgStats.

☐Remove any remaining hard‑coded duplicates of these stats in other components.

☐Verify all pages now display identical values for Active Projects, Total Contributors, and Community Count.

☐ Create one config object/file (for example orgStats) that holds:
export const orgStats = {
activeProjects: 34,
totalContributors: 500,
communityCount: 3800,
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions