-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.js
30 lines (28 loc) · 826 Bytes
/
home.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react';
import { Link } from 'react-router-dom';
import './app.css'; // Import the CSS file for styling
function Home() {
return (
<div className="App">
<header className="App-header">
<h1>Welcome to Online Transport Booking Application</h1>
<p>Explore below:</p>
<div className="button-container">
<Link to="/driver" className="custom-link">
Drivers
</Link>
<Link to="/vehicle" className="custom-link">
Vehicles
</Link>
<Link to="/route" className="custom-link">
Routes
</Link>
<Link to="/booking" className="custom-link">
Bookings
</Link>
</div>
</header>
</div>
);
}
export default Home;