Blame view

src/components/NoScreenshotSingleAuthor.vue 20.2 KB
de0f96bc5   Gurvinder Singh   new files
1
2
  <template>
    <main class="landing-page">
de0f96bc5   Gurvinder Singh   new files
3
      <div class="container-fluid episode-intro">
c65b51996   Digvijay Singh   new ui changes
4
5
6
7
8
9
10
11
12
13
14
15
16
        <nav class="navbar navbar-expand-sm spotLight-nav">
          <a class="navbar-brand" href="#"
            ><img src="../assets/images/logo.png"
          /></a>
          <button
            class="navbar-toggler"
            type="button"
            data-toggle="collapse"
            data-target="#navbarsExample03"
            aria-controls="navbarsExample03"
            aria-expanded="false"
            aria-label="Toggle navigation"
          >
de0f96bc5   Gurvinder Singh   new files
17
18
19
20
21
            <span class="navbar-toggler-icon"></span>
            <span class="navbar-toggler-icon"></span>
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="user-profile-photo insights-profile">
c65b51996   Digvijay Singh   new ui changes
22
            <a href="#"><img src="../assets/images/lock.svg" /></a>
de0f96bc5   Gurvinder Singh   new files
23
24
25
          </div>
        </nav>
        <!-- menu wrapper -->
c65b51996   Digvijay Singh   new ui changes
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
        <div class="intro-startup">
  
          <!-- chat box -->
          <div class="bounce-board-wrp" id="cht_box_close">
            <div class="inner-wrp-bc">
              <div class="bc-top-head">
                <span class="bc-head">
                  <img src="../assets/images/bounce-icon.svg" /> Bounce Board
                </span>
                <div class="action-sort">
                  <span class="sort-by">SORT BY</span>
                  <div class="btn-group">
                    <button
                      type="button"
                      class="bc-sort-list dropdown-toggle"
                   
                      data-toggle="dropdown"
                      aria-haspopup="true"
                      aria-expanded="false"
                    >
                      BEST
                    </button>
                    <div class="dropdown-menu short_by">
                      <a class="dropdown-item" href="#">BEST 1</a>
                      <a class="dropdown-item" href="#">BEST 2</a>
                      <a class="dropdown-item" href="#">BEST 3</a>
                    </div>
                  </div>
                  <a
                    href="javasript:void(0);"
                    @click="chtbox_close"
                    class="close_chat_bx"
                    ><img src="../assets/images/close.png" alt="close" /></a
                  ><!-- close -->
                </div>
                <!-- action sort -->
              </div>
              <!-- top head -->
              <div class="bounce-board-body">
                <!-- <ul class="bounced-user-comments">
                  <li class="bc_border">
                    <div class="lbord"></div>
                    <div class="parent-full-width parent_bg">
                      <div class="full-width">
                        <div class="b-user-head">
                          <img src="../assets/images/b-user1.png" />
                          <span class="head-content">wanderingirl </span>
                          <ul>
                            <li>
                              <span></span
                              ><img src="../assets/images/u-info-icon.png" />6pts
                            </li>
                            <li><span></span>3days ago</li>
                            <li><span class="au">Author</span></li>
                          </ul>
                        </div>
                        <p>
                          I wonder what the difference between “Dunzo Assistant”
                          and “Pickup and Drop” are. If they are the same, there
                          are two “call to actions” for the same workflow...
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
                            <li><a href="#"> 4</a></li>
                            <li class="comment-spc">
                              <img src="../assets/images/purple-comment.png" />
                            </li>
                            <li><a href="#"> 6</a></li>
                          </ul>
                          <div class="add_rply">
                            <input type="text" placeholder="Add your reply" />
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="child-full-width">
                      <div class="full-width">
                        <div class="b-user-head">
                          <img src="../assets/images/b-user1.png" />
                          <span class="head-content">Onenoisyboi </span>
                          <ul>
                            <li>
                              <span></span
                              ><img src="../assets/images/u-info-icon.png" />6pts
                            </li>
                            <li><span></span>3days ago</li>
                            <li><span class="red">Mod</span></li>
                          </ul>
                        </div>
                        <p>
                          I really liked the palette of the icons dunzo has they
                          dont match with my jeans
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
                            <li><a href="#"> 4</a></li>
                            <li class="comment-spc">
                              <img src="../assets/images/purple-comment.png" />
                            </li>
                            <li><a href="#"> 6</a></li>
                          </ul>
                          <div class="add_rply">
                            <input type="text" placeholder="Add your reply" />
                          </div>
                        </div>
                      </div>
                    </div>
                  </li>
                </ul> -->
                <!-- all user comments -->
                <ul class="bounced-user-comments">
                  <li class="bc_border" v-for="(cmnt, j) in currentSlideData.payload.comments" :key="j">
                    <div class="bc_brd_l"></div>
                    <!-- border -->
                    <div class="parent-full-width">
                      <div class="full-width">
                        <div class="b-user-head">
                          <img src="../assets/images/b-user1.png" />
                          <span class="head-content">wanderingirl </span>
                          <ul>
                            <li>
                              <span></span
                              ><img src="../assets/images/u-info-icon.png" />6pts
                            </li>
                            <li><span></span>3days ago</li>
                          </ul>
                        </div>
                        <!-- header -->
                        <p>
                          {{cmnt.comment}}
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
                            <li><a href="#"> 0</a></li>
                            <li class="comment-spc">
                              <img src="../assets/images/purple-comment.png" />
                            </li>
                            <li><a href="#"> 0</a></li>
                          </ul>
                          <div class="add_rply">
                            <input type="text" @click="eachRply" class="add_Rply_C" placeholder="Add your reply" />
                          </div>
                          <!-- rly form -->
                   
                        </div>
                        <!-- joined wrapper -->
                      </div>
                      <!-- full width -->
                    </div>
                    <!-- parent -->
                    <!-- <div class="child-full-width">
                      <div class="full-width">
                        <div class="b-user-head">
                          <img src="../assets/images/b-user1.png" />
                          <span class="head-content">Onenoisyboi </span>
                          <ul>
                            <li>
                              <span></span
                              ><img src="../assets/images/u-info-icon.png" />6pts
                            </li>
                            <li><span></span>3days ago</li>
                          </ul>
                        </div>
                        <p>
                          I really liked the palette of the icons dunzo has they
                          dont match with my jeans
                        </p>
                        <div class="joined_wrapper">
                          <ul class="joined-info info_bc_spc">
                            <li>
                              <img src="../assets/images/purple-heart.png" />
                            </li>
                            <li><a href="#"> 4</a></li>
                            <li class="comment-spc">
                              <img src="../assets/images/purple-comment.png" />
                            </li>
                            <li><a href="#"> 6</a></li>
                          </ul>
                          <div class="add_rply">
                            <input type="text" placeholder="Add your reply" />
                          </div>
                        </div>
                      </div>
                    </div> -->
                                 <div class="comments-footer each-ft">
                <textarea></textarea>
                <div class="comments-footer-wrp">
                    <a href="#" class="add_comments_chat reply-Wdth">Reply</a>
                  <a href="#" class="discard_bt"><img src="../assets/images/discard.svg" /></a>
                </div>
              </div>
              <!-- comments footer -->
                  </li>
                </ul>
              </div>
              <!-- bounce board body -->
              <div class="comments-footer">
                <textarea></textarea>
                <div class="comments-footer-wrp">
                  <a href="#" class="add_comments_chat"
                    ><img src="../assets/images/add-comment.svg" /> Comment</a
                  >
                </div>
              </div>
              <!-- comments footer -->
            </div>
          </div>
          <!-- bounceboard wrp -->
          <!-- chat box -->
  
  
          <div class="single-author-comments">
            <!-- <img class="s-user-comments" src="../assets/images/u-info.png" /> -->
            <div class="ct-l-400">
                   <div class="single-author-li-comments">
                <div class="a-intro-comments right-corner">
                  <p>
                    {{currentSlideData.payload.comments[0].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
            </div>
            <img
              class="s-user-comments m-0"
              :src="currentSlideData.payload.metaData.authorImage"
            />
            <div class="comments-a-wrp ct-width">           
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[0].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <!-- single author comments -->
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[1].comment}}
                  </p>
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="javascript:void(0);">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <div class="single-author-li-comments">
                <div class="a-intro-comments">
                  <p>
                    {{currentSlideData.payload.comments[2].comment}}
                  </p>
                  <!-- <p>
                    Before I dive in to showcase my observations and userflows
                    that stood out to me in the app, I want to call out that the
                    situation or time-frame in which I was using the app is
                    extremely important for what I am about to show as well.
                  </p> -->
                  <ul class="rly-comment-set">
                    <li>
                      <img src="../assets/images/color-heart.svg" />
                      <a href="#">0</a>
                    </li>
                    <li>
                      <img src="../assets/images/rply.svg" />
                      <a href="javascript:void(0);" @click="open_ct_box">Reply</a>
                    </li>
                  </ul>
                </div>
                <!-- comments box -->
              </div>
              <!-- single author comments -->
              <!-- <div class="a-intro-comments custom-selected-author-style">
de0f96bc5   Gurvinder Singh   new files
336
337
338
339
340
341
342
343
                <img src="../assets/images/org-rect.svg" class="rect" />
                <div class="top-wrp">
               Product Insight <a href="#"><img src="../assets/images/org-link.svg" /></a>
                </div>
                <div class="top-head">Automate your customer support for better engagement</div>
                 <p>Only 9% of consumers believe it’s acceptable to wait up to one minute to speak with an agent. Automated service is a critical step in giving customers a platform to become self-sufficient. </p>
  
              
c65b51996   Digvijay Singh   new ui changes
344
345
                  </div> -->
              <!-- comments box -->
de0f96bc5   Gurvinder Singh   new files
346
            </div>
c65b51996   Digvijay Singh   new ui changes
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
          </div>
          <!-- single author comments -->
          <div class="footer-nav">
            <div class="footer-top white-bg">
              <div class="row">
                <div class="col-6 col-sm-6 col-md-6 col-lg-6 c_hide">
                  <div class="row h-100p">
                   
                    <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 bord-r ">
                      <div class="ft-comments-group testi-photos-ct">
                        <div class="c-with-photos">
                          <span class="count-comments">{{currentSlideData.payload.comments.length - 1}}+ Comments</span
                          ><!-- count commets -->
                          <ul class="comments-photos">
                            <li><img src="../assets/images/c-photo-1.png" /></li>
                            <li><img src="../assets/images/c-photo-2.png" /></li>
                            <li><img src="../assets/images/c-photo-3.png" /></li>
                          </ul>
                          <!-- comment photos -->
                        </div>
                        <div class="comments-detail all-c-space">
                          <span>Saudrika commented <a href="javascript:void(0);" @click="open_ct_box">View All</a></span>
                          <p>
                            <!-- I wonder what the difference between “Dunzo Assistant”
                            and “Pickup and Drop... -->
                            {{currentSlideData.payload.comments[2].comment}}
                          </p>
                        </div>
                        <!-- comments detail -->
                      </div>
                      <!-- comments Group -->
de0f96bc5   Gurvinder Singh   new files
378
                    </div>
c65b51996   Digvijay Singh   new ui changes
379
                  </div>
de0f96bc5   Gurvinder Singh   new files
380
                </div>
c65b51996   Digvijay Singh   new ui changes
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
                <div class="col-4 col-sm-4 col-md-4 col-lg-4 c_hide">
                  <div class="comment-frm no-c-frm ">
                    <div class="row">
                      <div class="col-8 col-sm-8 col-md-8 col-lg-10 col-xl-10">
                        <div class="form-group frm-wdth addfrm-spc">
                          
                          <input
                            type="text"
                            class="form-control"
                             placeholder="Kathy, Something on your mind?" id="open_ct_box" @click="open_ct_box"
                          />
                        </div>
                      </div>
                      <div class="col-2 col-sm-4 col-md-4 col-lg-4 col-xl-2">
                        <a href="javascript:void(0);" @click="open_ct_box" class="add-comment"
                          ><img src="../assets/images/add-comment.svg" />
                          Comment</a
                        >
                      </div>
                    </div>
                    <!-- comment from -->
                  </div>
                </div>
                 <div class="col-2 col-sm-2 col-md-2 col-lg-2 col-xl-2">
                      <ul class="top-intro-bt">
                        <li>
                          <a href="javascript:void(0);" @click="goBack"
                            ><img src="../assets/images/skip-prev.svg" /> Prev</a
                          >
                        </li>
                        <li>
                          <a href="javascript:void(0);" @click="goNext"
                            ><img src="../assets/images/skip-next.svg" /> Skip to
                            next slide</a
                          >
                        </li>
                      </ul>
                    </div><!-- buttons list -->
              </div>
            </div>
            <!-- footer top -->
            <div class="footer-bottom">
              <ul>
                <li class="active"></li>
                <li></li>
              </ul>
            </div>
            <!-- footer top -->
          </div>
          <!-- footer -->
        </div>
de0f96bc5   Gurvinder Singh   new files
432
433
434
435
436
437
438
439
440
441
442
443
444
445
        <!-- body wrapper -->
      </div>
      <!-- main wrapper -->
    </main>
  </template>
  
  <script>
  import Vue from "vue";
  import router from "../router";
  
  export default {
    name: "NoScreenshotSingleAuthor",
  
    data() {
c65b51996   Digvijay Singh   new ui changes
446
447
448
449
450
451
452
453
454
455
456
457
458
459
      return {
        allSlide: [],
        currentSlideIndex: null,
        currentSlideData: null,
      };
    },
    mounted() {
      var allSlideData = localStorage.getItem(
        "spotlight_slide" + this.$route.params.caseStudyId
      );
      if (allSlideData) {
        this.allSlide = JSON.parse(allSlideData);
        this.getCurrentSlideData();
      }
de0f96bc5   Gurvinder Singh   new files
460
    },
de0f96bc5   Gurvinder Singh   new files
461
    methods: {
c65b51996   Digvijay Singh   new ui changes
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
      getCurrentSlideData() {
        var i = this.allSlide.findIndex(
          (slide_) => slide_.slideId == this.$route.params.slideId
        );
        this.currentSlideIndex = i;
        this.currentSlideData = this.allSlide[i];
        console.log("currentSlideData", this.currentSlideData);
      },
      goNext() {
        this.currentSlideIndex++;
        this.$router.push({
          name: this.allSlide[this.currentSlideIndex].ur,
          params: {
            caseStudyId: this.allSlide[this.currentSlideIndex].caseStudyId,
            slideId: this.allSlide[this.currentSlideIndex].slideId,
          },
        });
      },
      goBack() {
        this.currentSlideIndex--;
        this.$router.push({
          name: this.allSlide[this.currentSlideIndex].ur,
          params: {
            caseStudyId: this.allSlide[this.currentSlideIndex].caseStudyId,
            slideId: this.allSlide[this.currentSlideIndex].slideId,
          },
        });
      },
de0f96bc5   Gurvinder Singh   new files
490
491
492
493
494
495
      goToLogin() {
        this.$router.push("/");
      },
      goToSignUp() {
        this.$router.push("/signup");
      },
c65b51996   Digvijay Singh   new ui changes
496
497
498
499
500
501
502
503
504
505
506
507
508
      chtbox_close(){
  $("#cht_box_close").removeClass("cht_close");
  $("#open_ct_box, .c_hide").show();
  $(".footer-top").addClass("white-bg");
      }, 
      open_ct_box(){
  $("#cht_box_close").addClass("cht_close");
  $("#open_ct_box, .c_hide").hide();
  $(".footer-top").removeClass("white-bg");
      },
  eachRply(){
    var t = $(this).parent(".add_rply").hide();
  }
de0f96bc5   Gurvinder Singh   new files
509
510
    },
  };
c65b51996   Digvijay Singh   new ui changes
511
  //
de0f96bc5   Gurvinder Singh   new files
512
  </script>