Title: Refactor: Create reusable component for contributor images
Description:
We currently have multiple instances where contributor images are used throughout the codebase. To improve code maintainability and reusability, we should create a single component that can be reused wherever contributor images are needed.
Requirements:
Create a new reusable component for displaying contributor images.
The component should support three different sizes: small, medium, and large.
Ensure the component can be easily integrated into existing parts of the code where contributor images are used.
Update all instances of contributor images in the codebase to use the new component.
For the Leaderboard route, it must show a color shade on the contributor's image for the top 3 contributors.
Tasks:
Design and implement the reusable component.
Define and implement the three image sizes:
Small (This size will be used in the Feed's title image of the contributor)
Medium (In the Leaderboard route)
Large (This will show in the Contributor's profile and at the home route in the top 8 contributors)
Replace existing instances of contributor images with the new component.
Implement color shading for the top 3 contributors' images on the Leaderboard route.
URL:
https://contributors.ohc.network
Browser Name:
Chrome
Browser Version:
-
Operating System:
-
How to reproduce the issue:
Title: Refactor: Create reusable component for contributor images
Description:
We currently have multiple instances where contributor images are used throughout the codebase. To improve code maintainability and reusability, we should create a single component that can be reused wherever contributor images are needed.
Requirements:
Tasks: