Closed piyusharmap closed 3 weeks ago
I have done this, take a look at what I did and tell me what color I should use on the hover state and if there are any correction before I make a PR
.
@piyusharmap please help @obere4u with the design
@obere4u There are some changes in the design, and now we will be showing a tab switch between all posts and collaborative posts. Please refer to the changes in the issue and design the tabs panel accordingly. For now, you can just use the base Shadcn component to render the tabs.
Shadcn Tabs: https://ui.shadcn.com/docs/components/tabs
@obere4u There are some changes in the design, and now we will be showing a tab switch between all posts and collaborative posts. Please refer to the changes in the issue and design the tabs panel accordingly. For now, you can just use the base Shadcn component to render the tabs.
Shadcn Tabs: https://ui.shadcn.com/docs/components/tabs
This is the code of what I did.
@obere4u basic tab switch is ok, go ahead and raise the PR, we will comment incase we require any change.
When I click on the All Post, how will the page look like, same with Collab @piyusharmap
A list of blog posts related to current tab. But for now, just add a placeholder stating that the list is currently empty.
🔰 Type of Feature:
❓ Is your feature request related to a problem? Please describe.
NIL
📃 Describe the solution you'd like.
To achieve this feature, we need a Tabs Panel that we can use to switch between all posts and collaborative posts. For this, we can use the Shadcn Tabs component. The required tasks are:
📃 Describe alternatives you've considered.
NIL
👂 Additional context
Use below image as reference:![image](https://github.com/the-monkeys/the_monkeys/assets/75241694/873c5953-57b1-4fe5-8d39-34c55e5fc4cf)