Skip to content

Refactor "Thank You" Section into a Component #507

@hassaansaleem28

Description

@hassaansaleem28

What feature do you want to see added?

The "Thank You" section at the bottom of the home page (which displays community contribution stats) is currently implemented directly inside src/pages/index.js. It contains significant logic for fetching and parsing CSV data, making the index.js file harder to maintain.

Image

Current Issues:

  • Data fetching and parsing logic is mixed with page layout.
  • styles are mixed (Material UI + inline styles).

Proposed Solution :

  • Extract this section into a new component,
    src/Components/CommunityStats.jsx

  • Move the data fetching (useEffect with axios) and parsing logic into this component.

Upstream changes

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions