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

Replacing Image Preview #150

Open
javalosr2004 opened this issue May 18, 2024 · 0 comments · May be fixed by #171
Open

Replacing Image Preview #150

javalosr2004 opened this issue May 18, 2024 · 0 comments · May be fixed by #171
Assignees

Comments

@javalosr2004
Copy link
Collaborator

Description
Replace the "Upload An Image" preview with an event preview in the dashboard.

  • In admin/events/create, display an example card similar to the navbar. Copy the <Box> component from userDashboard for the unregistered list.
  • Add this to the conditional statement in page.tsx in admin/events/create that renders the image when imagePreview is not null. Render this <Box> instead of just an image.
  • Use state variables instead of direct event properties (e.g., event.eventName) in the <Box> copy.
@HanYu-Wu04 HanYu-Wu04 self-assigned this May 23, 2024
@HanYu-Wu04 HanYu-Wu04 linked a pull request May 29, 2024 that will close this issue
6 tasks
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 a pull request may close this issue.

2 participants