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

Create admin header component #148

Open
2 tasks
IkeHunter opened this issue Jan 25, 2025 · 3 comments
Open
2 tasks

Create admin header component #148

IkeHunter opened this issue Jan 25, 2025 · 3 comments
Assignees

Comments

@IkeHunter
Copy link
Collaborator

Info

Standardize the header layout for pages in the admin dashboard by creating a common header component. The new component should be created in src/apps/admin/components/.

Tasks

  • Create new AdminHeader component
  • Implement new component for each admin page (except Overview)
@SobaSkee
Copy link
Contributor

Can I create this component?

@IkeHunter
Copy link
Collaborator Author

Here's some example pages from our Figma:

Image

Image

Image

The "header" part I'm referencing is the part with the page name, directly below the "Top Bar" (the top container where the profile and notifications icons are). Ideally, the header might have some options to have a "sub nav" list like on the music page, or a "call to action" (button) like on the members page. Maybe these options could be enabled/disabled depending on what each page would need.

Here's an example if it were on the members page:

export const MembersPage = () => {
  return (
    <div>
      <TopBar />
      <Header title="Members" cta={{link: '/some/link', label: 'Add Member'}} />
      ...
    </div>
  )
}

@SobaSkee
Copy link
Contributor

SobaSkee commented Jan 31, 2025

What options should the subnav have? I implemented add member, what others do you suggest? Should every admin page have options?

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

2 participants