-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
280 lines (262 loc) · 19.2 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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./index.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Q&A</title>
</head>
<body>
<nav>
<div class="container-fluid desktop-view fixed-top">
<div class="row">
<div class="col-lg-10 offset-lg-1 col-md-10 col-sm-12 offset-md-1">
<div class="row">
<ul class="nav col-sm-6 col-lg-6 col-md-6">
<li class="nav-item"><a href="index.html" class="nav-link" title="Home"><i class="material-icons">home</i></a></li>
<li class="nav-item"><a href="question.html" class="nav-link" title="Answer"><i class="material-icons">question_answer</i></a></li>
<li class="nav-item"><a href="following.html" class="nav-link" title="Follow"><i class="material-icons">web</i></a></li>
<li class="nav-item"><a href="" class="nav-link" title="Spaces"><i class="material-icons">assistant_photo</i></a></li>
<li class="nav-item"><a href="" class="nav-link" title="Notifications"><i class="material-icons">notifications_active</i><span class="notification_count">3</span></a></li>
</ul>
<div class="form-group col-lg-4 col-md-4 col-sm-4 nav-search">
<div class="input-box d-flex">
<span><i class="material-icons">search</i></span>
<input type="text" class="form-control" type="search" aria-label="search" placeholder="Search Your Query">
</div>
<div class="suggested_ques">
<ul>
<li>This is question no 1?</li>
<li>This is question no 2?</li>
<li>This is question no 3?</li>
<li>This is question no 4?</li>
<li>This is question no 5?</li>
</ul>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end">
<div class="profile d-flex flex-column justify-content-center">
<img src="./images/profile.png" class="img-fluid" alt="">
</div>
<!-- <div class="btn-question d-flex justify-content-center flex-column">
<button class="btn btn-primary add-question">Add Questions</button>
</div> -->
</div>
<div class="profile-box">
<ul>
<li><img src="./images/profile.png" class="img-fluid" alt=""></li>
<li style="font-weight: bolder;">Shaun Hossain</li>
<li style="font-size:12px; color:var(--default-font-color); border-bottom: 1px solid var(--default-background);">Software Engineer</li>
<li style="display: flex; flex-direction: row; align-items: center; margin-top: 15px; color: var(--default-btn-color); font-weight:bolder;"> <span class="material-icons">settings_power</span> Logout</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="notification">
<ul>
<li>This is question no 1?</li>
<li>This is question no 2?</li>
<li>This is question no 3?</li>
<li>This is question no 4?</li>
<li>This is question no 5?</li>
</ul>
</div>
<div class="container-fluid mobile-view">
<span id="mobile-menu" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample" aria-controls="offcanvasExample"><i class="material-icons" id="mobile-menu-open">menu</i></span>
</div>
<!-- Slide in menu -->
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel">
<div class="offcanvas-header">
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="nav d-flex flex-column">
<li class="nav-item"><a href="" class="nav-link mobile-nav" title="Home"><i class="material-icons mx-2">home</i> Home</a></li>
<li class="nav-item"><a href="" class="nav-link mobile-nav" title="Answer"><i class="material-icons mx-2">question_answer</i>Answer</a></li>
<li class="nav-item"><a href="" class="nav-link mobile-nav" title="Follow"><i class="material-icons mx-2">web</i>Follow</a></li>
<li class="nav-item"><a href="" class="nav-link mobile-nav" title="Spaces"><i class="material-icons mx-2">assistant_photo</i>Spaces</a></li>
<li class="nav-item"><a href="" class="nav-link mobile-nav" title="Notifications"><i class="material-icons mx-2">notifications_active</i>Notifications</a></li>
</ul>
</div>
</div>
</nav>
<!-- main section starts -->
<div class="container-fluid">
<div class="row top-margin" >
<div class="col-lg-10 offset-lg-1 col-md-10 col-sm-12 offset-md-1">
<div class="row">
<!-- space part starts -->
<div class="col-sm-12 mobile-space-view">
<div class="mobile-space">
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#addSpaceModal"><i class="material-icons">add</i>Add Space</button>
<div class="space-list">
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
<button class="btn btn-space">space</button>
</div>
</div>
</div>
<ul class="nav col-lg-2 col-md-2 col-sm-3 d-flex flex-column space">
<li> <a href="" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#addSpaceModal"><i class="material-icons">add</i><span>Create Space</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
<li> <a href=""><img src="./images/profile.png" class="img-fluid" alt=""> <span>Space Title</span></a> </li>
</ul>
<!-- space part ends -->
<div class="col-lg-8 col-md-10 col-sm-9 main-section">
<div class="ask_answer d-flex flex-column">
<div class="row1">
<div class="profile_img"><img src="./images/profile.png" alt=""></div>
<input type="text" class="form-control ask_input" placeholder="What do you want to ask?">
</div>
<div class="btn_group d-flex flex-row justify-content-center">
<button class="btn btn-primary d-flex"> <i class="material-icons">developer_board</i> <span>Ask</span></button>
<button class="btn btn-primary d-flex"> <i class="material-icons">question_answer</i> <span>Answer</span></button>
<button class="btn btn-primary d-flex"> <i class="material-icons">description</i> <span>Post</span></button>
</div>
</div>
<div class="post-section">
<h6 class="question">Contrary to popular belief, Lorem Ipsum is not simply random text?</h6>
<div class="row1">
<div class="profile_img">
<img src="./images/profile.png" alt="">
<div class="inner_row1 d-flex flex-column">
<p><span class="name">Murphy Bart</span> <span class="follow">Follow</span></p>
<p class="time">3y</p>
</div>
</div>
</div>
<div class="row2">
<div class="post-img"> <img src="./images/post_img.png" class="img-fluid" alt=""> </div>
<div class="post-para">
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in
a piece of classical Latin literature from 45 BC, making it over 2000 years old.
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked
up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage,
and going through the cites of the word in classical literature, discovered the
undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de
Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written
in 45 BC. This book is a treatise on the theory of ethics, very popular during
the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..",
comes from a line in section 1.10.32.
</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in
a piece of classical Latin literature from 45 BC, making it over 2000 years old.
Richard McClintock, (The Extremes of Good and Evil) by Cicero, written
in 45 BC. This book is a treatise on the theory of ethics, very popular during
the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..",
comes from a line in section 1.10.32.
</p>
<p>from sections 1.10.32 and 1.10.33 of "de
Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written
in 45 BC. This book is a treatise on the theory of ethics, very popular during
the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..",
comes from a line in section 1.10.32.
</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in
a piece of a treatise on the theory of ethics, very popular during
the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..",
comes from a line in section 1.10.32.
</p>
</div>
<p class="no-of-ans"> 1 of 5 answers</p>
<div class="action-section">
<div class="up_down_btn d-flex flex-row justify-content-start">
<div class="upvote-sec d-flex flex-row pt-1">
<i class="fa-solid fa-thumbs-up"></i>
<span>Upvote</span> <span>26k</span>
</div>
<div class="down_vote">
<i class="fa-solid fa-thumbs-down"></i>
</div>
</div>
<div class="comnt_share">
<div class="comment d-flex flex-row justify-content-center"><i class="material-icons">comment</i> <span class="hide-small">Comment</span></div>
<div class="share d-flex flex-row justify-content-center mx-2"> <i class="material-icons">share</i> <span class="hide-small">Share</span> </div>
</div>
</div>
<div class="comment-sec">
<div class="letter-pic">S</div>
<div class="input-field"><input type="text" class="form-control comnt-input" placeholder="comment.."></div>
<div class="comment"><button class="btn">Comment</button></div>
</div>
<div class="comments-all">
<div class="letter-pic">T</div>
<div class="name-comment">
<div class="name"><strong>Name Here</strong></div>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in
a piece of a treatise on the theory of ethics, very popular during
the Renaissance.</p>
<div class="button-group">
<i class="fa-solid fa-thumbs-up" style="cursor: pointer;"></i>
<i class="fa-solid fa-thumbs-down" style="cursor: pointer;"></i>
<span class="btn-element"><strong>Reply</strong></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- adding space modal starts -->
<div class="modal fade " id="addSpaceModal" tabindex="-1" aria-labelledby="addSpaceModal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="signupModalLabel">Add Space</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="name">Add Space</label>
<input type="text" class="form-control">
</div>
<div class="mb-3">
<label for="formFile" class="form-label">Choose an image for Space</label>
<input class="form-control" type="file" id="formFile">
</div>
</div>
<div class="modal-footer d-flex justify-content-center">
<span class="login-btn">Add</span>
</div>
</div>
</div>
</div>
<!-- adding space modal ends -->
</div>
<!-- main section ends -->
<script>
</script>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
-->
</body>
</html>