bsoc-bitbyte / busify

A centralised bus ticket booking system that will allow the students to book tickets in advance through an online website, saving time and effort.
https://busify.vercel.app
30 stars 67 forks source link

feat: Created the AdminPageLayout for admin pages #67

Closed Doraemon012 closed 11 months ago

Doraemon012 commented 12 months ago

Overview

  1. This PR fixes or fixes part of #51
  2. This PR does the following:
    • Created a AdminPageLayout component for admin pages
    • Made some minor changes in the AdminSideBar component

Essential Checklist

prajjwalkapoor commented 11 months ago

Hey @ Doraemon012, you misunderstood the layout component. The layout component is the wrapper that contains common components and wraps the different pages.

Read more here

But no worries, now just separate your code into <AdminLayout /> and <AdminDashboard />. The layout should only contain a sidebar, a navbar and a footer. It should be wrapped with AdminDashboard page.

Doraemon012 commented 11 months ago

@prajjwalkapoor Sir, I have made the requested changes.