14
14
15
15
<div class =" grid grid-cols-1 sm:grid-cols-3 mt-16 sm:gap-10" >
16
16
<router-link
17
+ v-for =" project in projects"
18
+ :key =" project.id"
17
19
to =" /projects/single-project"
18
20
class =" rounded-3xl shadow-lg hover:shadow-xl cursor-pointer mb-10 sm:mb-0 bg-secondary-light dark:bg-ternary-dark"
19
21
>
20
22
<div >
21
23
<img
22
- src =" ../../assets/images/web- project-2.jpg "
23
- alt =" "
24
+ : src =" project.img "
25
+ : alt =" project.title "
24
26
class =" rounded-t-3xl border-none"
25
27
/>
26
28
</div >
27
29
<div class =" text-center px-4 py-6" >
28
30
<p
29
31
class =" text-2xl text-ternary-dark dark:text-ternary-light font-semibold mb-2"
30
32
>
31
- Google Health Platform
33
+ {{ project.title }}
32
34
</p >
33
35
<span
34
36
class =" text-lg text-ternary-dark dark:text-ternary-light"
35
- >Wen Application </span
37
+ >{{ project.category }} </span
36
38
>
37
39
</div >
38
40
</router-link >
39
- <router-link
41
+ <!-- < router-link
40
42
to="/projects/single-project"
41
43
class="rounded-3xl shadow-lg hover:shadow-xl cursor-pointer mb-10 sm:mb-0 bg-secondary-light dark:bg-ternary-dark"
42
44
>
150
152
>Web Application</span
151
153
>
152
154
</div>
153
- </router-link >
155
+ </router-link> -->
154
156
</div >
155
157
<div class =" mt-10 sm:mt-20 flex justify-center" >
156
158
<button
@@ -169,6 +171,49 @@ import feather from 'feather-icons';
169
171
170
172
export default {
171
173
name: ' Projects' ,
174
+ data () {
175
+ return {
176
+ projects: [
177
+ {
178
+ id: 1 ,
179
+ title: ' Google Health Platform' ,
180
+ category: ' Wen Application' ,
181
+ img: require (' ../../assets/images/web-project-2.jpg' ),
182
+ },
183
+ {
184
+ id: 2 ,
185
+ title: ' Pheonix Digital Agenncy' ,
186
+ category: ' Mobile Application' ,
187
+ img: require (' ../../assets/images/mobile-project-2.jpg' ),
188
+ },
189
+ {
190
+ id: 3 ,
191
+ title: ' Project Management UI' ,
192
+ category: ' UI / Frontend' ,
193
+ img: require (' ../../assets/images/ui-project-1.jpg' ),
194
+ },
195
+ {
196
+ id: 4 ,
197
+ title: ' Cloud Storage Platform' ,
198
+ category: ' UI / Frontend' ,
199
+ img: require (' ../../assets/images/ui-project-2.jpg' ),
200
+ },
201
+ {
202
+ id: 5 ,
203
+ title: ' Kabul Social App' ,
204
+ category: ' Mobile Application' ,
205
+ img: require (' ../../assets/images/mobile-project-1.jpg' ),
206
+ },
207
+ {
208
+ id: 6 ,
209
+ title: ' Apple Design System' ,
210
+ category: ' Web Application' ,
211
+ img: require (' ../../assets/images/web-project-1.jpg' ),
212
+ },
213
+ ],
214
+ // publicPath: process.env.BASE_URL,
215
+ };
216
+ },
172
217
mounted () {
173
218
feather .replace ();
174
219
},
0 commit comments