-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathread.html
76 lines (75 loc) · 3.26 KB
/
read.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Read</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="read.css">
</head>
<body onload="CheckValidity()">
<script>
function CheckValidity() {
if ((localStorage.getItem("storageName"))==0) {
// alert("Sign In through proper means instead of changing URL.");
let address=window.location.href;
window.location.href = address.replace('read','index');
}
}
</script>
<nav class="navbar bg-body-tertiary fixed-top pink-bg">
<div class="container-fluid justify-content-center">
<a class="navbar-brand pink-text" href="index.html"><b>TravelTales:)</b></a>
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar"
aria-controls="offcanvasNavbar" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<br>
<div class="offcanvas offcanvas-end pink-bg" tabindex="-1" id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel" style="color: #C71585;">TravelTales:)</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="write.html">Start Writing</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="read.html">Read Journals</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="aboutus.html">About us</a>
</li>
</ul>
</div>
</div>
</nav>
<br><br>
<!-- search bar starts here -->
<div class="search-container" >
<input type="text" id="search-input" placeholder="Search by keyword/ destination/ name">
<button id="search">
<i class="fa fa-search" ></i>
</button>
</div>
<!-- search bar ends -->
<div class="container mt-5">
<!-- Section to display journal content -->
<section id="journalContent">
<!-- Journal content will be displayed here -->
</section>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<script src="read.js"></script>
</body>
</html>