-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
138 lines (136 loc) · 6.35 KB
/
blog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Immersive Blog Post</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
background-image: url('https://images.unsplash.com/photo-1454372182658-c712e4c5a1db?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxleHBsb3JlLWZlZWR8NHx8fGVufDB8fHx8fA%3D%3D&w=1000&q=80'); /* Replace with your background image URL */
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
color: #343a40;
font-family: 'Arial', sans-serif;
line-height: 1.6;
}
h2, h3 {
color: #343a40;
}
.blog-post {
background-color: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 10px;
margin-top: 100px;
margin-bottom: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.blog-post:hover {
transform: scale(1.02);
}
.review-form {
background-color: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.review-form:hover {
transform: scale(1.02);
}
.form-group label {
font-weight: bold;
color: #343a40;
}
.rating label {
font-size: 30px;
cursor: pointer;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">Safarnama.</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 justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="blog_display.php">read_blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<!-- <div class="blog-post">
<h2 class="mb-4">Blog Post Title</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
</div> -->
<div class="blog-post">
<h2 class="mb-4">Share your experience</h2>
<p>Credit point system: 20 points for reviewing </p>
</div>
<div class="review-form">
<h3 class="mb-3">Leave a Review</h3>
<form class="form" action="blog.php" method="post">
<div class="form-row">
<div class="form-group col-md-6">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Your Name">
</div>
<div class="form-group col-md-6">
<label for="location">Location</label>
<select class="form-control" id="location">
<option value="assam">Assam</option>
<option value="bihar">Bihar</option>
<option value="jharkhand">Jharkhand</option>
<option value="nagaland">Nagaland</option>
<option value="manipur">Manipur</option>
<option value="mizoram">Mizoram</option>
<option value="meghalaya">Meghalaya</option>
<option value="odisha">Odisha</option>
<option value="tripura">Tripura</option>
</select>
</div>
</div>
<div class="form-group">
<label for="review">Review</label>
<textarea class="form-control" id="review" rows="3" placeholder="Write your review here"></textarea>
</div>
<div class="form-group">
<label for="rating">Rating</label>
<select class="form-control" id="rating">
<option value="5">5 Stars</option>
<option value="4">4 Stars</option>
<option value="3">3 Stars</option>
<option value="2">2 Stars</option>
<option value="1">1 Star</option>
</select>
</div>
<!--<div class="form-group">-->
<!-- <label for="image">Upload Image</label>-->
<!-- <input type="file" class="form-control-file" id="image">-->
<!--</div>-->
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>