forked from yashwanths814/nammayatri
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (74 loc) · 2.47 KB
/
index.html
File metadata and controls
75 lines (74 loc) · 2.47 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Namma Yatri</title>
<!-- Favicon -->
<link rel="icon" href="https://github.com/nammayatri/nammayatri/raw/main/public/favicon.ico"> <!-- Replace with actual path -->
<!-- Style -->
<style>
body {
background-color: white;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}
.logo {
margin-top: 30px;
}
.image-section {
margin-top: 20px;
text-align: center; /* Center the image within the section */
}
.image-section img {
display: block; /* Ensures proper centering */
margin: 0 auto; /* Centers the image horizontally */
max-width: 80%; /* Keep image responsive */
height: auto;
}
.buttons {
margin-top: 30px;
}
button {
margin: 10px;
padding: 15px 30px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
color: white;
}
.yellow-button {
background-color: #F8B400; /* Yellow from logo */
}
.green-button {
background-color: #008C45; /* Green from logo */
}
.black-button {
background-color: #000000; /* Black from logo */
}
button:hover {
opacity: 0.9;
}
</style>
</head>
<body>
<!-- Logo Section -->
<div class="logo">
<img src="https://pplx-res.cloudinary.com/image/upload/v1742056666/user_uploads/IqiVDJndBrZiqvR/NM-logo.jpg" alt="Namma Yatri Logo" width="200"> <!-- Replace with actual path -->
</div>
<!-- Image Section -->
<div class="image-section">
<img src="https://pplx-res.cloudinary.com/image/upload/v1742057079/user_uploads/SxbSLldzDrRXJwO/drivers-with-vehicles.jpg" alt="Drivers with Vehicles">
</div>
<!-- -->
<!-- Buttons Section -->
<div class="buttons">
<button class="yellow-button" onclick="location.href='/user/login.html'">Book a Ride</button>
<button class="green-button" onclick="location.href='/driver/driver_login.html'">Driver Login</button>
<button class="black-button" onclick="location.href='contact_us.html'">Contact Us</button>
</div>
</body>
</html>