File tree Expand file tree Collapse file tree 1 file changed +35
-16
lines changed Expand file tree Collapse file tree 1 file changed +35
-16
lines changed Original file line number Diff line number Diff line change 11
11
About Client
12
12
</p >
13
13
<ul class =" leading-loose" >
14
- <li class =" text-ternary-dark dark:text-ternary-light" >
15
- <span >Name: </span >
16
- Kabul Company Ltd
17
- </li >
18
- <li class =" text-ternary-dark dark:text-ternary-light" >
19
- <span >Services: </span >
20
- UI Design & Frontend Development
21
- </li >
22
- <li class =" text-ternary-dark dark:text-ternary-light" >
23
- <span >Website: </span >
24
- <a href =" #" class =" hover:underline"
25
- >https://company.com</a
14
+ <li
15
+ v-for =" info in companyInfos"
16
+ :key =" info"
17
+ class =" text-ternary-dark dark:text-ternary-light"
18
+ >
19
+ <span >{{ info.title }}: </span >
20
+ <span
21
+ :class ="
22
+ info.title == 'Website' || info.title == 'Phone'
23
+ ? 'hover:underline cursor-pointer'
24
+ : ''
25
+ "
26
+ >{{ info.details }}</span
26
27
>
27
28
</li >
28
- <li class =" text-ternary-dark dark:text-ternary-light" >
29
- <span >Phone: </span >
30
- 555 8888 888
31
- </li >
32
29
</ul >
33
30
</div >
34
31
<!-- Single project client details end -->
@@ -110,6 +107,28 @@ import feather from 'feather-icons';
110
107
export default {
111
108
data () {
112
109
return {
110
+ companyInfos: [
111
+ {
112
+ id: 1 ,
113
+ title: ' Name' ,
114
+ details: ' Company Ltd' ,
115
+ },
116
+ {
117
+ id: 2 ,
118
+ title: ' Services' ,
119
+ details: ' UI Design & Frontend Development' ,
120
+ },
121
+ {
122
+ id: 3 ,
123
+ title: ' Website' ,
124
+ details: ' https://company.com' ,
125
+ },
126
+ {
127
+ id: 4 ,
128
+ title: ' Phone' ,
129
+ details: ' 555 8888 888' ,
130
+ },
131
+ ],
113
132
technlogies: [
114
133
{
115
134
title: ' Tools & Technologies' ,
You can’t perform that action at this time.
0 commit comments