-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
157 lines (142 loc) · 4.61 KB
/
index.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>QTrip</title>
<link rel="stylesheet" href="css/styles.css" />
<!-- TODO: MODULE_LAYOUT -->
<!-- 1. Create a <link> to the first stylesheet needed for Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
</head>
<body>
<!-- TODO: MODULE_LAYOUT -->
<!-- 1. Use appropriate css classes on nav element. -->
<!-- 2. Add child elements as required. -->
<nav class="navbar navbar-light navbar-expand-sm">
<div class="container-fluid">
<a href="#">QTrip</a>
<button
type="button"
class="navbar-toggler"
data-bs-toggle="collapse"
data-bs-target="#navbarItems"
>
<span class="navbar-toggler-icon"></span>
</button>
<div
class="navbar-collapse collapse justify-content-end"
id="navbarItems"
>
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="pages/adventures/index.html">Explore</a></li>
</ul>
</div>
</div>
</nav>
<!-- TODO: MODULE_LAYOUT -->
<!-- 1. Use appropriate css classes on the hero image container element. -->
<!-- 2. Add child elements as required. -->
<div class="hero-image d-flex justify-content-center align-items-center text-white">
<div class="text-center container">
<h1>Welcome to QTrip</h1>
<p class="hero-subheading">Explore the world with fantastic places to venture around</p>
<input class="hero-input" placeholder="Search a city...">
</div>
</div>
<div class="container">
<!-- TODO: MODULE_LAYOUT -->
<!-- 1. Create the grid like layout as required. -->
<div class="row">
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/bengaluru.jpg" />
<div class="tile-text text-white">
<h5>Bengaluru</h5>
<p>100+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/kolkata.jpg" />
<div class="tile-text text-white">
<h5>Kolkata</h5>
<p>52+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/goa.jpg" />
<div class="tile-text text-white">
<h5>Goa</h5>
<p>160+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/mumbai.jpg" />
<div class="tile-text text-white">
<h5>Mumbai</h5>
<p>121+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/singapore.jpg" />
<div class="tile-text text-white">
<h5>Singapore</h5>
<p>89+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/dubai.jpg" />
<div class="tile-text text-white">
<h5>Dubai</h5>
<p>74+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/malaysia.jpg" />
<div class="tile-text text-white">
<h5>Malaysia</h5>
<p>172+ Places</p>
</div>
</div>
</div>
<div class="col-12 col-sm-6 col-lg-3 my-3">
<div class="tile">
<img src="assets/paris.jpg" />
<div class="tile-text text-white">
<h5>Paris</h5>
<p>150+ Places</p>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container">© QTrip 2020</div>
</footer>
<!-- TODO: MODULE_LAYOUT -->
<!-- Add scripts needed for bootstrap to work -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</body>
</html>