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

Frontend: Created the Homepage with the hamburger menu #87

Merged

Conversation

sksmagr23
Copy link
Contributor

@sksmagr23 sksmagr23 commented Jun 10, 2024

Description

I Created the home page with hamburger menu based on the given figma design. I added created the menu in Navbar.tsx and import this in home.tsx(landing page). I also added the necessary media in assets/src and also slightly modified my previously button component, also added some custom classes in tailwind.config.js. I showed just for instance the sidebar after login, which will be later implemented.

Fixes: #78

How to Test

  • Navigate to frontend directory
  • Run "npm run dev"

Related Issues

Checklist

  • I have tested these changes locally.
  • I have reviewed the code and ensured it follows the project's coding guidelines.
  • I have updated the documentation, if necessary.
  • I have assigned reviewers to this pull request.

Screenshots

Screenshot from 2024-06-10 11-06-34
Screenshot from 2024-06-10 11-06-42
Screenshot from 2024-06-10 11-06-47
Screenshot from 2024-06-10 11-07-34

menu

I Created the home page with hamburger menu based
on the given figma design, i added the necessary
media in assets/src and also slightly modified
button component, also added some custom classes
in tailwind.config.js. I showed just for instance
the sidebar after login, which will be later
implemented.

Fixes: shivansh-bhatnagar18#78
Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
multiplayer-uno ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 5:45am

@kuv2707
Copy link
Collaborator

kuv2707 commented Jun 10, 2024

We should add an AppContext handling user signin and use it here to sync the UI with logged in state.
I'll do it. In the meanwhile, @shivansh-bhatnagar18 can review the design and functionality

@shivansh-bhatnagar18
Copy link
Owner

shivansh-bhatnagar18 commented Jun 10, 2024

@kuv2707 The PR looks good to me. Its just that the images are not getting rendered.
Screenshot from 2024-06-10 17-29-11

@sksmagr23
Copy link
Contributor Author

Bhaiya it might be the loading error, because it is opening in my localhost

};

const Navbar: React.FC<NavbarProps> = ({
isLoggedIn,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will be accessed via the context, which I'll add when I get time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what I do here

Copy link
Collaborator

@kuv2707 kuv2707 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted some comments

@shivansh-bhatnagar18 shivansh-bhatnagar18 merged commit d38c29c into shivansh-bhatnagar18:master Jun 10, 2024
8 checks passed
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.

Create the HomePage Component of the UNO page
3 participants