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

Client Home Page #63

Open
aarav27 opened this issue Mar 2, 2025 · 0 comments
Open

Client Home Page #63

aarav27 opened this issue Mar 2, 2025 · 0 comments
Assignees

Comments

@aarav27
Copy link
Collaborator

aarav27 commented Mar 2, 2025

Our goal with this task is to have it complete by the end of Wednesday so we can demo it during the upcoming meeting!

Description
We have all the parts for a client home page and now we just need to put them together!

Acceptance Criteria

  • create a client home page inside of app/page.tsx as seen in the figma
  • use the clerk useUser hook for the following
    • check is user is loaded and is signed in
    • if the user has the isAdmin public metadata set to false, render the client page
    • get the user id
  • Use the src/app/api/event/user_id/[id] to render all event tiles

Steps:

  • Create clientHomePage component
  • validate with fake event documents in mongo

Additional Information
(ignore the overdue warning and the list icon)
Image

@aarav27 aarav27 changed the title Create Client Home Page Client Home Page Mar 2, 2025
@aarav27 aarav27 removed the Priority label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants