File tree Expand file tree Collapse file tree 1 file changed +34
-26
lines changed
Expand file tree Collapse file tree 1 file changed +34
-26
lines changed Original file line number Diff line number Diff line change 66 <p
77 class =" text-primary-dark dark:text-primary-light text-3xl font-bold mb-10 sm:mb-14 text-left"
88 >
9- Related Projects
9+ {{ relatedProjectsHeading }}
1010 </p >
1111
1212 <div class =" grid grid-cols-1 sm:grid-cols-4 gap-10" >
13- <div >
13+ <div
14+ v-for =" relatedProject in relatedProjects"
15+ :key =" relatedProject"
16+ >
1417 <img
15- src =" @/assets/images/mobile-project-1.jpg "
18+ : src =" relatedProject.img "
1619 class =" rounded-2xl cursor-pointer"
17- alt =" Related Project"
18- />
19- </div >
20- <div >
21- <img
22- src =" @/assets/images/web-project-1.jpg"
23- class =" rounded-2xl cursor-pointer"
24- alt =" Related Project"
25- />
26- </div >
27- <div >
28- <img
29- src =" @/assets/images/ui-project-2.jpg"
30- class =" rounded-2xl cursor-pointer"
31- alt =" Related Project"
32- />
33- </div >
34- <div >
35- <img
36- src =" @/assets/images/mobile-project-1.jpg"
37- class =" rounded-2xl cursor-pointer"
38- alt =" Related Project"
20+ :alt =" relatedProject.title"
3921 />
4022 </div >
4123 </div >
4527
4628<script >
4729export default {
48- setup () {},
30+ data : () => {
31+ return {
32+ relatedProjectsHeading: ' Related Projects' ,
33+ relatedProjects: [
34+ {
35+ id: 1 ,
36+ title: ' Mobile UI' ,
37+ img: require (' @/assets/images/mobile-project-1.jpg' ),
38+ },
39+ {
40+ id: 2 ,
41+ title: ' Web Application' ,
42+ img: require (' @/assets/images/web-project-1.jpg' ),
43+ },
44+ {
45+ id: 3 ,
46+ title: ' UI Design' ,
47+ img: require (' @/assets/images/ui-project-2.jpg' ),
48+ },
49+ {
50+ id: 4 ,
51+ title: ' Kabul Mobile App UI' ,
52+ img: require (' @/assets/images/mobile-project-2.jpg' ),
53+ },
54+ ],
55+ };
56+ },
4957};
5058 </script >
You can’t perform that action at this time.
0 commit comments