Skip to content

Commit c48c442

Browse files
committed
update internship names
1 parent da22ab9 commit c48c442

File tree

2 files changed

+40
-18
lines changed

2 files changed

+40
-18
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ npm run dev
55
66
npm run build
77
npm run preview
8+
9+
git push https://github.com/mrmdlab/mrmdlab.github.io.git main
810
```
911

1012
See [Configuration Reference](https://vitejs.dev/config/).

src/views/Team.vue

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
<p class="ubuntu mt-2 text-justify">{{ p.description }}</p>
1313
</v-col>
1414
</v-row>
15-
<v-row class="justify-center" v-for="p in interns" :key=p.name>
16-
<v-col>
17-
<p class="text-end">{{ p.name }}</p>
18-
</v-col>
19-
<v-col>
20-
<p class="text-center">{{ p.position }}</p>
15+
<h1 class="text-h3 text-center mb-5">Internship</h1>
16+
<v-row class="justify-center">
17+
<v-col cols="2"></v-col>
18+
<v-col cols="6">
19+
<v-table>
20+
<tbody>
21+
<tr v-for="(group, i) in intern_groups" :key="'g' + i">
22+
<td v-for="p in group" :key="p.name">
23+
{{ p.name }}
24+
</td>
25+
</tr>
26+
</tbody>
27+
</v-table>
2128
</v-col>
2229
</v-row>
2330
</template>
@@ -71,21 +78,30 @@ export default {
7178
},
7279
],
7380
interns: [
74-
{
75-
name: "Zheng Yao Kong",
76-
position: "Internship",
77-
},
78-
{
79-
name: "Huijun LIM",
80-
position: "Internship",
81-
},
82-
{
83-
name: "PHEOBE EDELINE LEE YU YING",
84-
position: "Internship",
85-
},
81+
{ name: "LIM Hui Jun" },
82+
{ name: "KONG Zheng Yao" },
83+
{ name: "Pheobe Edeline LEE Yu Ying" },
84+
{ name: "WONG Yu Qing" },
85+
{ name: "ZHU Chengan" },
86+
{ name: "Harry ZHONG" }
8687
]
8788
}
8889
},
90+
computed: {
91+
intern_groups() {
92+
const len = Math.floor(this.interns.length / 2) * 2
93+
const result = []
94+
let i = 0
95+
while (i < len) {
96+
result.push([this.interns[i], this.interns[i + 1]])
97+
i += 2
98+
}
99+
if (i < this.interns.length) {
100+
result.push([this.interns[i]])
101+
}
102+
return result
103+
}
104+
},
89105
created() {
90106
this.people.forEach(person => {
91107
person.imgUrl.then(module => {
@@ -101,4 +117,8 @@ a {
101117
text-decoration: none;
102118
color: #257CB7;
103119
}
120+
121+
.v-table td {
122+
border-bottom: none !important;
123+
}
104124
</style>

0 commit comments

Comments
 (0)