1
1
<template >
2
2
<div >
3
3
<!-- Blog area start -->
4
- <section class =" blog__area-3 blog-v3 blog__animation" >
5
- <div class =" container line" >
6
- <div class =" line-3" ></div >
7
- <div class =" row " >
8
- <div class =" col-xxl-12" >
9
- <div class =" sec-title-wrapper text-anim pt-130" >
10
- <h2 class =" sec-sub-title" >Recent Blog</h2 >
11
- <h3 class =" sec-title title-anim" >Read Updated <br >Journal</h3 >
12
- <p >Read our blog and try to see everything from every perspective. Our passion lies in making
13
- everything
14
- accessible and aesthetic for everyone. </p >
4
+ <section class =" blog__area-6 blog__animation" >
5
+ <div class =" container g-0 line pt-110 pb-110" >
6
+ <span class =" line-3" ></span >
7
+ <div class =" row pb-130" >
8
+ <div class =" col-xxl-8 col-xl-7 col-lg-6 col-md-6" >
9
+ <div class =" sec-title-wrapper" >
10
+ <h2 class =" sec-title-2 animation__char_come" >BLOG</h2 >
11
+ </div >
12
+ </div >
13
+ <div class =" col-xxl-4 col-xl-5 col-lg-6 col-md-6" >
14
+ <div class =" blog__text" >
15
+ <p >Crafting new bright brands, unique visual systems and digital experience focused on a wide range of
16
+ original collabs. </p >
15
17
</div >
16
18
</div >
17
19
</div >
18
20
19
- <div class =" row" >
20
- <div class =" col-xxl-6 col-xl-6 col-lg-6 " >
21
- <article class =" blog__item-3 " >
22
- <div class =" blog__img-wrapper-3 " >
21
+ <div class =" row reset-grid " >
22
+ <div class =" col-xxl-4 col-xl-4 col-lg-4 col-md-4 " v-for = " commentIndex in commentsToShow " v-bind:key = " commentIndex.id " >
23
+ <article class =" blog__item" >
24
+ <div class =" blog__img-wrapper" >
23
25
<a href =" blog-details.html" >
24
26
<div class =" img-box" >
25
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/1 .jpg" alt =" Blog Thumbnail" >
26
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/1 .jpg" alt =" BLog Thumbnail" >
27
+ <img class =" image-box__item" src =" @/assets/imgs/blog/2 .jpg" alt =" Blog Thumbnail" >
28
+ <img class =" image-box__item" src =" @/assets/imgs/blog/2 .jpg" alt =" BLog Thumbnail" >
27
29
</div >
28
30
</a >
29
31
</div >
30
- <div class =" blog__info-3" >
31
- <h4 class =" blog__meta" ><a href =" category.html" >UI Design</a > . 02 May 2019</h4 >
32
- <h5 ><a href =" blog-details.html" class =" blog__title-3" >How to bring fold to your startup
33
- company with
34
- Axtra</a ></h5 >
35
- <a href =" blog-details.html" class =" blog__btn" >Read More <span ><i
36
- class =" fa-solid fa-arrow-right" ></i ></span ></a >
37
- </div >
32
+ <h4 class =" blog__meta" ><a href =" category.html" >UI Design</a >{{blogData[commentIndex].date}}</h4 >
33
+ <h5 ><a href =" blog-details.html" class =" blog__title" >{{blogData[commentIndex].title}}</a ></h5 >
34
+ <a href =" blog-details.html" class =" blog__btn" >Read More <span ><i
35
+ class =" fa-solid fa-arrow-right" ></i ></span ></a >
38
36
</article >
39
37
</div >
40
38
41
- <div class =" col-xxl-6 col-xl-6 col-lg-6" >
42
- <article class =" blog__item-3" >
43
- <div class =" blog__img-wrapper-3" >
44
- <a href =" blog-details.html" >
45
- <div class =" img-box" >
46
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/2.jpg" alt =" Blog Thumbnail" >
47
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/2.jpg" alt =" BLog Thumbnail" >
48
- </div >
49
- </a >
50
- </div >
51
- <div class =" blog__info-3" >
52
- <h4 class =" blog__meta" ><a href =" category.html" >UI Design</a > . 02 May 2019</h4 >
53
- <h5 ><a href =" blog-details.html" class =" blog__title-3" >How to manage a talented and
54
- successful design
55
- team</a ></h5 >
56
- <a href =" blog-details.html" class =" blog__btn" >Read More <span ><i
57
- class =" fa-solid fa-arrow-right" ></i ></span ></a >
58
- </div >
59
- </article >
60
- </div >
61
- <div class =" col-xxl-6 col-xl-6 col-lg-6" >
62
- <article class =" blog__item-3" >
63
- <div class =" blog__img-wrapper-3" >
64
- <a href =" blog-details.html" >
65
- <div class =" img-box" >
66
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/1.jpg" alt =" Blog Thumbnail" >
67
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/1.jpg" alt =" BLog Thumbnail" >
68
- </div >
69
- </a >
70
- </div >
71
- <div class =" blog__info-3" >
72
- <h4 class =" blog__meta" ><a href =" category.html" >UI Design</a > . 02 May 2019</h4 >
73
- <h5 ><a href =" blog-details.html" class =" blog__title-3" >How to bring fold to your startup
74
- company with
75
- Axtra</a ></h5 >
76
- <a href =" blog-details.html" class =" blog__btn" >Read More <span ><i
77
- class =" fa-solid fa-arrow-right" ></i ></span ></a >
78
- </div >
79
- </article >
80
- </div >
81
-
82
- <div class =" col-xxl-6 col-xl-6 col-lg-6" >
83
- <article class =" blog__item-3" >
84
- <div class =" blog__img-wrapper-3" >
85
- <a href =" blog-details.html" >
86
- <div class =" img-box" >
87
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/2.jpg" alt =" Blog Thumbnail" >
88
- <img class =" image-box__item" src =" @/assets/imgs/blog/3/2.jpg" alt =" BLog Thumbnail" >
89
- </div >
90
- </a >
91
- </div >
92
- <div class =" blog__info-3" >
93
- <h4 class =" blog__meta" ><a href =" category.html" >UI Design</a > . 02 May 2019</h4 >
94
- <h5 ><a href =" blog-details.html" class =" blog__title-3" >How to manage a talented and
95
- successful design
96
- team</a ></h5 >
97
- <a href =" blog-details.html" class =" blog__btn" >Read More <span ><i
98
- class =" fa-solid fa-arrow-right" ></i ></span ></a >
99
- </div >
100
- </article >
101
- </div >
102
39
</div >
40
+ <button @click =" commentsToShow += 3" >Show More</button >
41
+
103
42
</div >
43
+
104
44
</section >
105
45
<!-- Blog area end -->
46
+ <div class =" offcanvas__close" >
47
+ <router-link :to =" { path: '/' }" >
48
+ <button type =" button" id =" close_offcanvas" >
49
+ <i class =" fa-solid fa-xmark" ></i >
50
+ </button >
51
+ </router-link >
52
+ </div >
106
53
107
-
108
- <!-- CTA area start -->
109
- <section class =" cta__area" >
110
- <div class =" container line pb-110" >
111
- <div class =" line-3" ></div >
112
- <div class =" row" >
113
- <div class =" col-xxl-12" >
114
- <div class =" cta__content" >
115
- <p class =" cta__sub-title" >Work with us</p >
116
- <h2 class =" cta__title title-anim" >We would love to hear more about your project</h2 >
117
- <div id =" btn_wrapper" >
118
- <a href =" contact.html" class =" wc-btn-primary btn-item btn-hover" ><span ></span >Let’s talk us <i
119
- class =" fa-solid fa-arrow-right" ></i ></a >
120
- </div >
121
- </div >
122
- </div >
123
- </div >
124
- </div >
125
- <floating-whatsapp ></floating-whatsapp >
126
- </section >
127
- <!-- CTA area end -->
54
+
128
55
<div class =" float-icon" >
129
56
130
57
</div >
@@ -138,6 +65,110 @@ import FloatingWhatsapp from '../Home/FloatingWhatsapp.vue';
138
65
name : ' MainSection' ,
139
66
components : {
140
67
FloatingWhatsapp
141
- }
68
+ },
69
+ data (){
70
+ return {
71
+ blogData :
72
+ [
73
+ {
74
+ id: " 1" ,
75
+ date: " . 02 May 2019" ,
76
+ title: " How to bring fold to your startup company with Axtra" ,
77
+ },
78
+ {
79
+ id: " 2" ,
80
+ date: " . 02 May 2019" ,
81
+ title: " How to manage a talented and successful de sign team" ,
82
+ },
83
+ {
84
+ id: " 3" ,
85
+ date: " . 02 May 2019" ,
86
+ title: " How to bring fold to your startup company with Axtra" ,
87
+ },
88
+ {
89
+ id: " 4" ,
90
+ date: " . 02 May 2019" ,
91
+ title: " How to bring fold to your startup company with Axtra" ,
92
+ },
93
+ {
94
+ id: " 5" ,
95
+ date: " . 02 May 2019" ,
96
+ title: " How to bring fold to your startup company with Axtra" ,
97
+ },
98
+ {
99
+ id: " 6" ,
100
+ date: " . 02 May 2019" ,
101
+ title: " How to bring fold to your startup company with Axtra" ,
102
+ },
103
+ {
104
+ id: " 7" ,
105
+ date: " . 02 May 2019" ,
106
+ title: " How to bring fold to your startup company with Axtra" ,
107
+ },
108
+ {
109
+ id: " 8" ,
110
+ date: " . 02 May 2019" ,
111
+ title: " How to bring fold to your startup company with Axtra" ,
112
+ },
113
+ {
114
+ id: " 9" ,
115
+ date: " . 02 May 2019" ,
116
+ title: " How to bring fold to your startup company with Axtra" ,
117
+ },
118
+ {
119
+ id: " 10" ,
120
+ date: " . 02 May 2019" ,
121
+ title: " How to bring fold to your startup company with Axtra" ,
122
+ },
123
+
124
+ ],
125
+ commentsToShow: 3
126
+ }
127
+ },
128
+ methods: {
129
+ offcanvascontact (){
130
+ $ (" #open_offcanvas" ).click (function () {
131
+ $ (' .offcanvas__area' ).css (' opacity' , ' 1' );
132
+ $ (' .offcanvas__area' ).css (' visibility' , ' visible' );
133
+ });
134
+ $ (" #close_offcanvas" ).click (function () {
135
+ $ (' .offcanvas__area' ).css (' opacity' , ' 0' );
136
+ $ (' .offcanvas__area' ).css (' visibility' , ' hidden' );
137
+ });
138
+ },
139
+ }
140
+
142
141
}
143
142
</script >
143
+ <style scoped>
144
+ button {
145
+ /* display:block; */
146
+ color :rgb (255 , 255 , 255 );
147
+ margin :0 auto ;
148
+ line-height :50px ;
149
+ width :10% ;
150
+ border-radius :30px ;
151
+ text-decoration :none ;
152
+ border :3px #161616 solid ;
153
+ background :#000000 ;
154
+ opacity :0.7 ;
155
+ margin-bottom :50px ;
156
+ /* padding-left: 12px; */
157
+ }
158
+
159
+ button :hover {
160
+ opacity :1 ;
161
+ }
162
+ .line {
163
+ /* display: none!important; */
164
+ }
165
+ .offcanvas__close button {
166
+ font-size : 30px ;
167
+ width : 55px ;
168
+ }
169
+ @media screen and (max-width :375px ){
170
+ #close_offcanvas {
171
+ display :none ;
172
+ }
173
+ }
174
+ </style >
0 commit comments