-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomepage.html
192 lines (177 loc) · 6.63 KB
/
homepage.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Campus Connect</title>
<!-- Link to Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="/CSS_files/homepage.css">
<style>
/* Custom styles can be added here */
body {
background-color: #f8f9fa;
}
.jumbotron {
background-color: #562465;
color: #ffffff;
}
.button-next{
width:400px;
border-radius: 5px;
box-shadow: 2px 2px 10px grey;
margin:5px;
}
#about{
margin-top:70px;
}
#about_img{
border-radius: 10px;
}
#about-info{
right:0px;
width:500px;
}
article{
text-align: justify;
width:500px;
}
/* Custom CSS for the flexbox container */
.container1 {
display: flex;
position:relative;
align-items: center;
margin-top: 20px;
left:180px;
}
.item {
padding: 5px;
background-color: #562465;
border: 1px solid #ccc;
width:300px;
color:white;
border-radius: 8px;
height:200px;
}
header{
font-size: 30px;
margin-top: 40px;
font-weight: 500;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-bottom: 20px;
}
.matter{
background-color: aliceblue;
color: black;
text-align: justify;
padding:10px;
font-family: 'Times New Roman', Times, serif;
height:120px;
font-size: 18px;
transition: 2s height;
}
.matter:hover{
height:150px;
}
#contact{
bottom:0px;
left:0px;
right:0px;
position: relative;
width:100%;
background-color: #562465;
height:200px;
margin-top: 100px;
color:white;
font-size: 18px;
font-weight: bold;
}
a{
color:white;
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about-info">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#services-provided">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
</ul>
</div>
</nav>
<!-- Jumbotron (Hero Section) -->
<div class="jumbotron text-center">
<h1>Welcome to Campus Connect</h1>
<p>The Student Marketplace</p>
<a class="btn btn-primary" href="#" role="button">Learn More</a>
</div>
<!-- Main Content Section -->
<div class="container">
<div class="button">
<center><a href="../Campus-Connect/templates/login.html"><button type="submit" class="button-next">Login</button></a>
<a href="RegisterPage.html"><button type="submit" class="button-next">Register</button></a></center>
</div>
</div>
<div class="container" id="about">
<div class="row">
<div class="col-md-4">
<img src="https://lh3.googleusercontent.com/DPeBv6ouR4sDGi-3uDSJsN-0LaGLaZO_XpQoJYIZQpS020Ea4TK-Hf9EbnQU_prDUUjZgi3jhisOjziBRFAN-sExTwnOEtJUINo1efdq" width="300px" height="300px" id="#about-img">
</div>
<div class="col-md-4">
<h2>About</h2>
<article id="about-info">Campus Connect" is a dedicated online platform designed to enhance the college experience by enabling students to efficiently share resources and arrange local rides within the college premises. With "Campus Connect," students can easily lend or borrow items like calculators, textbooks, and study materials, reducing unnecessary expenses and promoting resource sustainability. Additionally, the platform simplifies transportation by allowing students to request or offer rides for nearby destinations, fostering a sense of community and convenience within the college environment. "Campus Connect" aims to streamline resource sharing, save money, and make college life smoother for all students.</article>
</div>
</div>
</div>
<div class="container1">
<center>
<header id="services-provided">Services</header>
<hr width="100px">
<div class="row">
<div class="col">
<div class="item">RENT ITEMS
<div class="matter">People can rent the materials from peers for a specific period of time</div>
</div>
</div>
<div class="col">
<div class="item">BUY/SELL
<div class="matter">People can buy or rent the materials from peers. Details of the seller will be shared to the buyer.</div>
</div>
</div>
<div class="col">
<div class="item">COLLABORATE
<div class="matter">Developers can collaborate with the others regarding projects, hackathons or coding competitions.</div>
</div>
</div>
<div class="col">
<div class="item">REQUEST RIDE
<div class="matter">This is a unique one where in a person can request for a particular ride to a location.</div>
</div>
</div>
</div>
</center>
</div>
<div id="contact">
</div>
<!-- Link to Bootstrap and jQuery JavaScript libraries -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>