Merge pull request 'scroll' (#27) from feature/email into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #27
This commit is contained in:
commit
db20e89ecd
15
src/App.tsx
15
src/App.tsx
|
|
@ -17,13 +17,13 @@ export default function App() {
|
||||||
handleConfirmBooking,
|
handleConfirmBooking,
|
||||||
handleBackToForm,
|
handleBackToForm,
|
||||||
handleBackToVehicles,
|
handleBackToVehicles,
|
||||||
resetBookingFlow
|
resetBookingFlow,
|
||||||
} = useBookingFlow();
|
} = useBookingFlow();
|
||||||
|
|
||||||
const {
|
const {
|
||||||
currentPage,
|
currentPage,
|
||||||
isLoading: navigationLoading,
|
isLoading: navigationLoading,
|
||||||
handleNavigate
|
handleNavigate,
|
||||||
} = useNavigation();
|
} = useNavigation();
|
||||||
|
|
||||||
const isLoading = bookingLoading || navigationLoading;
|
const isLoading = bookingLoading || navigationLoading;
|
||||||
|
|
@ -37,9 +37,12 @@ export default function App() {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-background flex flex-col overflow-x-hidden">
|
<div className="min-h-screen flex flex-col bg-background overflow-x-hidden overflow-y-auto">
|
||||||
|
{/* Header Section */}
|
||||||
<Header currentPage={currentPage} onNavigate={handlePageNavigate} />
|
<Header currentPage={currentPage} onNavigate={handlePageNavigate} />
|
||||||
<main className="flex-1 overflow-x-hidden">
|
|
||||||
|
{/* Main Page Content */}
|
||||||
|
<main className="flex-1 overflow-y-auto">
|
||||||
<PageRenderer
|
<PageRenderer
|
||||||
currentPage={currentPage}
|
currentPage={currentPage}
|
||||||
currentStep={currentStep}
|
currentStep={currentStep}
|
||||||
|
|
@ -54,7 +57,11 @@ export default function App() {
|
||||||
onBackToVehicles={handleBackToVehicles}
|
onBackToVehicles={handleBackToVehicles}
|
||||||
/>
|
/>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
{/* Footer Section */}
|
||||||
<Footer onNavigate={handlePageNavigate} />
|
<Footer onNavigate={handlePageNavigate} />
|
||||||
|
|
||||||
|
{/* Floating Call Button */}
|
||||||
<FloatingCallButton />
|
<FloatingCallButton />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue