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

resolves #10 : Achievement Page with sections #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PMS61
Copy link

@PMS61 PMS61 commented Jan 23, 2025

Fixes #10
Modified Achievements.jsx and App.jsx as well as added 3 new components AchievementContext.jsx,AchievementForm.jsx,AdminApproval.jsx
I have used React Context to store achievements in two arrays:

  1. submittedAchievements: Achievements waiting for admin approval.
  2. approvedAchievements: Achievements approved by the admin.
  • User submits: Added to submittedAchievements.
  • Admin approves: Moved to approvedAchievements.
  • Display: Approved achievements are shown under their categories.

Screenshot from 2025-01-24 00-05-27
Screenshot from 2025-01-24 00-05-43

Screenshot from 2025-01-24 00-06-13

demo5.mp4

@PMS61 PMS61 closed this Jan 23, 2025
@PMS61 PMS61 changed the title Solved issue #10 : Achievement Page with sections fixes #10 : Achievement Page with sections Jan 23, 2025
@PMS61 PMS61 reopened this Jan 23, 2025
@PMS61 PMS61 closed this Jan 23, 2025
@PMS61 PMS61 changed the title fixes #10 : Achievement Page with sections resolves #10 : Achievement Page with sections Jan 23, 2025
@PMS61 PMS61 reopened this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Achievements page with sections
1 participant