Closed bravichandra12 closed 2 weeks ago
@bravichandra12 is attempting to deploy a commit to the Busify Team on Vercel.
A member of the Team first needs to authorize it.
@bravichandra12, I might not have explicitly mentioned but the issue is to create a complete schedule page by which I meant to create the cards component involved in this schedule page as well.
Add the cards component as well with dummy data along with the requested changes as mentioned above and make sure to keep the page responsive as currently it does not seem so.
@Pratik2026 Sure I will add cards and make the page responsive
@bravichandra12, The card component should have only one card so that we can use that card component as a reusable UI card. Furthermore, the bus detail card header is not exactly the same as the designs. Changing the layout a bit using flex properties might fix it.
Also, currently, if we directly visit the schedule page then the selected tab is still the dashboard. This can be fixed by using useEffect
in schedule page to change the activeTab
state value according to the URL of the page.
Ok I will do the changes as mentioned
@Pratik2026 The changes are made accordingly
@bravichandra12, The changes look good to me. However, the layout is not responsive in mobile view. Currently, it's overflowing whenever you switch between the bus details and conductor details tab.
The reason behind this is that you have set the fixed width and height of each UI component which makes the the whole component completely rigid. We should always use max-width
and max-height
instead of the width & height property. This helps us in preventing the overflow.
Made the changes as mentioned
LGTM.
merged, thanks for the contribution @bravichandra12
Overview
Essential Checklist
Proof that changes are correct