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

React and Tailwind #12

Open
matherg opened this issue Oct 3, 2023 · 5 comments
Open

React and Tailwind #12

matherg opened this issue Oct 3, 2023 · 5 comments

Comments

@matherg
Copy link
Contributor

matherg commented Oct 3, 2023

@GenerateNU/caitscurates
React
Tailwind
Code Sandbox
Research react/tailwind.
Think about how components will work in our site, how can we children props and composition to ease development?
Create a component that makes use of UseState, props, and has some tailwind styling in code sandbox (or whatever you want to use)
Post a screenshot of the code/component and ask 1 question related to the project/react/props below!

DUE 10/10

@matherg matherg assigned jekhi5, hmcclew and A4x1 and unassigned jekhi5, hmcclew and A4x1 Oct 3, 2023
@A4x1
Copy link

A4x1 commented Oct 4, 2023

Yes boss 🫡

@hmcclew
Copy link
Contributor

hmcclew commented Oct 4, 2023

Image

Image

Image

Image

This is just a sample search bar component for typing stuff in. My question is about how we're planning to do page navigation in React, and transferring data between the pages/page hierarchies.

@joey-tsai
Copy link
Contributor

joey-tsai commented Oct 6, 2023

Capture
d
f

Possible Filtering Options but needs better styling. Interested to see how we would display the admins page in comparison to a regular user

@ddusichka
Copy link
Contributor

ddusichka commented Oct 9, 2023

Created a sample admin view to view complete and incomplete requests. If doing this for real, I would make each request card its own component and style it better, but for now just wanted to use props and get something basic working.

Question: how many different pages do we envision? who has access to each one?

Image

Image

Image

Image

@matherg
Copy link
Contributor Author

matherg commented Oct 10, 2023

Great work guys. @hmcclew We are going to be using BrowserRouter for navigating between pages. We will use UseContext when we need to use the same data across multiple pages. (ex. Displaying all Gifts).
@ddusichka # of pages will be determined by the design team, they should be wrapping up the lo fis next week. The only page with restricted access is the admin portal, all other pages will be accessible to any logged in user.
@joey-tsai The admin page will actually be completely separate from the home page. While creating a "admin version" of the home page would be neat, they perform such different functions that it wouldn't make sense for our project.

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

No branches or pull requests

6 participants