Skip to content

Commit 4c42f89

Browse files
author
Asina7
committed
some minor chnages
1 parent f3630ca commit 4c42f89

File tree

4 files changed

+47
-16
lines changed

4 files changed

+47
-16
lines changed

src/components/About/HeaderSection.vue

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,10 @@
263263
</button>
264264
</div>
265265
</div>
266+
<div v-if="isDesktop">
266267
<floating-whatsapp></floating-whatsapp>
267268
</div>
269+
</div>
268270
<!-- offcancas area ends -->
269271
</div>
270272
</template>
@@ -282,6 +284,16 @@ FloatingWhatsapp,
282284
mounted (){
283285
this.offcanvas()
284286
},
287+
computed: {
288+
isDesktop() {
289+
return window.innerWidth > 768;
290+
}
291+
},
292+
data() {
293+
return {
294+
activesub:""
295+
};
296+
},
285297
methods: {
286298
offcanvas: function(){
287299
$("#open_offcanvas").click(function () {
@@ -311,7 +323,15 @@ if (header_search) {
311323
});
312324
}
313325
},
314-
}
326+
handleClick:function(ac){
327+
if(this.activesub == ac){
328+
this.activesub="";
329+
}else{
330+
this.activesub = ac;
331+
}
332+
}
333+
},
334+
315335
}
316336
</script>
317337

@@ -417,12 +437,13 @@ if (header_search) {
417437
.to-wrapper{
418438
display: flex;
419439
justify-content: space-between;
420-
padding:5px 23px;
440+
/* padding:5px 23px; */
441+
height: 40px;
421442
422443
}
423444
.to-wrapper a{
424445
color: white;
425-
font-size: 28px;
446+
font-size: 19px;
426447
}
427448
.to-wrapper button{
428449
color: white;
@@ -433,12 +454,13 @@ if (header_search) {
433454
434455
}
435456
.cj li{
436-
margin: 5px 0px;
457+
/* margin: 5px 0px; */
458+
437459
438460
}
439461
.cj li a{
440-
color: #fff;
441-
font-size: 22px;
462+
color: #c9f31d;;
463+
font-size: 15px;
442464
transition: all .3s ease;
443465
}
444466
.cj li a:hover{

src/components/Home/MainHeader.vue

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,10 @@
284284
</button>
285285
</div>
286286
</div>
287+
<div v-if="isDesktop">
287288
<floating-whatsapp></floating-whatsapp>
288289
</div>
290+
</div>
289291
</div>
290292
</template>
291293

@@ -307,6 +309,11 @@ export default {
307309
activesub:""
308310
};
309311
},
312+
computed: {
313+
isDesktop() {
314+
return window.innerWidth > 768;
315+
}
316+
},
310317
mounted() {
311318
this.offcanvas();
312319
},
@@ -347,6 +354,7 @@ export default {
347354
348355
}
349356
},
357+
350358
};
351359
</script>
352360
<style scoped>
@@ -444,12 +452,14 @@ export default {
444452
.to-wrapper{
445453
display: flex;
446454
justify-content: space-between;
447-
padding:5px 23px;
455+
/* padding:5px 23px; */
456+
height: 40px;
448457
449458
}
450459
.to-wrapper a{
451460
color: white;
452-
font-size: 28px;
461+
font-size: 19px;
462+
453463
}
454464
.to-wrapper button{
455465
color: white;
@@ -460,12 +470,11 @@ export default {
460470
461471
}
462472
.cj li{
463-
margin: 5px 0px;
464-
473+
/* margin: 5px 0px; */
465474
}
466475
.cj li a{
467-
color: #fff;
468-
font-size: 22px;
476+
color: #c9f31d;;
477+
font-size: 15px;
469478
transition: all .3s ease;
470479
}
471480
.cj li a:hover{

src/components/Home/MainSection/FeedbackSection.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
</div>
3737
</div>
3838
<div class="hero-item-btn">
39-
<button class=" hero-btn1">See All Reviews</button>
40-
</div>
39+
<button class=" hero-btn1">See All Reviews</button>
40+
</div>
4141
</section>
4242
</div>
4343
</template>
@@ -120,6 +120,7 @@
120120
padding: 20px;
121121
margin: 10px;
122122
cursor: pointer;
123+
height:300px;
123124
}
124125
.profile-img{
125126
width: 50px;

src/components/Home/MainSection/ServiceSection.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@
144144
</ul>
145145
<div class="service-2btn">
146146
<div id="btn_wrapper">
147-
<a href="/conatct" class="wc-btn-secondary btn-item btn-hover"><span></span>Get
148-
free
147+
<a href="/conatct" class="wc-btn-secondary btn-item btn-hover"><span></span>Get free
149148
<br>qoutes <i class="fa-solid fa-arrow-right"></i></a>
150149
</div>
151150
<div id="btn_wrapper">

0 commit comments

Comments
 (0)