-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlostandfound.html
61 lines (56 loc) · 2.14 KB
/
lostandfound.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lost and Found</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="lostandfoundc.css">
</head>
<body>
<!-- Navbar -->
<div class="navbar">
<a href="#" class="logo">
<img src="logo.png" alt="GLB.Connect Logo" class="logo-img">
</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="qnathreads.html">Q&A Threads</a></li>
<li><a href="lostandfound.html">Lost & Found</a></li>
<li><a href="resources.html">Resource</a></li>
<li><a href="anonymous.html">Anonymous Post</a></li>
<li><a href="sessionsfirst.html">Sessions</a></li>
<li><a href="alumnifirst.html">Alumni Network</a></li>
<li><a href="aboutus.html">About</a></li>
</ul>
<div class="search-bar">
<input type="text" class="search-input" placeholder="Search...">
</div>
</div>
<!-- Main Content -->
<section class="main-content">
<h1>Find your lost items with ease...</h1>
<p>Post information on lost and claim lost items</p>
<div class="image-container">
<img src="Rectangle 18.png" alt="Lost and Found">
</div>
<h2>WELCOME</h2>
<div class="button-container">
<a href="lost.html" class="lost-btn">Lost</a>
<a href="found.html" class="found-btn">Found</a>
</div>
</section>
<script>
document.addEventListener('DOMContentLoaded', function() {
const links = document.querySelectorAll('.nav-links a');
const currentPage = window.location.pathname;
links.forEach(link => {
if (currentPage.includes(link.getAttribute('href'))) {
link.classList.add('active');
}
});
});
</script>
</body>
</html>