Skip to content

Commit

Permalink
Merge pull request #23 from lksnjw/editing-the-final-one
Browse files Browse the repository at this point in the history
Editing the final one
  • Loading branch information
lksnjw authored Oct 14, 2024
2 parents a74dc32 + 1a4a99c commit 8960656
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 19 deletions.
18 changes: 3 additions & 15 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,13 @@ import {
startSyncDeliveryOrderStatus,
} from './controllers/DLOcontroller.js' // Import the periodic check

<<<<<<< HEAD
=======


//Help Routes
import routes from './routes/Help/index.js'


<<<<<<< Updated upstream
=======
>>>>>>> f32c50044c74728373eafb28103c74438c160c64
>>>>>>> Stashed changes

// Production-only delivery task scheduling
if (process.env.SERVER_ENV === 'production') {
checkForAvailableDrivers()
Expand All @@ -52,22 +48,14 @@ if (process.env.SERVER_ENV === 'production') {
cleanUpDuplicateDeliveries()
}

<<<<<<< Updated upstream
=======
<<<<<<< HEAD
=======
>>>>>>> Stashed changes
// Blog, Comments, and News Imports (Merged Content)
import blogRouter from './routes/Blog.js'
import commentRoutes from './routes/comments.js'
import newsRoutes from './routes/newsRoutes.js'


// Error handling
<<<<<<< Updated upstream
=======
>>>>>>> f32c50044c74728373eafb28103c74438c160c64
>>>>>>> Stashed changes

import { errorHandler, notFound } from './middlewares/errorMiddleware.js'

// Set up port from environment or default to 8000
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Components/Admin/admnlogins.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const AdminLogin = ({ manager }) => {
<img
src={farmcartLogo} // Replace with the path to your logo image
alt="Logo"
className="h-16 w-auto mb-4 mx-auto"
className="h-10 w-auto mb-4 mx-auto"
/>
<div className="text-left mb-5">
<h2 className="text-3xl font-bold">Admin Login</h2>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/Layouts/BlogLayout.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Outlet } from 'react-router-dom'
// import Footer from '../Components/Home/Footer'
import Footer from '../Components/Home/FooterDashboard'
import DHeader from '../Components/Home/DHeader'
import BlogHeader from '../Components/Home/BlogHeader'

function BlogLayout() {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Pages/delivery/DLDriverRegistrationForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const RegisterDriverForm = () => {
<img
src={farmcartLogo} // Replace with the path to your logo image
alt="Logo"
className="h-16 w-auto mb-4 mx-auto" // Adjust the height as needed
className="h-10 w-auto mb-4 mx-auto" // Adjust the height as needed
/>
<h2 className="text-3xl font-bold mb-6 text-center">
Driver Registration Form
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Pages/delivery/DLLogin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DLLogin = () => {
<img
src={farmcartLogo} // Replace with the path to your logo image
alt="Logo"
className="h-16 w-auto mb-4 mx-auto" // Adjust the height as needed
className="h-10 w-auto mb-4 mx-auto" // Adjust the height as needed
/>
<div className="text-left mb-5">
<h2 className="text-3xl font-bold">Driver Login</h2>
Expand Down

0 comments on commit 8960656

Please sign in to comment.