blob: 0fecec0bde2f5bcec146567b8c784eeade6f7004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<template>
<div class="who-to-follow-panel">
<div class="panel panel-default base01-background">
<div class="panel-heading timeline-heading base02-background base04">
<div class="title">
{{ $t('who_to_follow.who_to_follow') }}
</div>
</div>
<div class="who-to-follow">
<p
v-for="user in usersToFollow"
:key="user.id"
class="who-to-follow-items"
>
<img :src="user.img">
<router-link :to="userProfileLink(user.id, user.name)">
{{ user.name }}
</router-link><br>
</p>
<p class="who-to-follow-more">
<router-link :to="{ name: 'who-to-follow' }">
{{ $t('who_to_follow.more') }}
</router-link>
</p>
</div>
</div>
</div>
</template>
<script src="./who_to_follow_panel.js"></script>
<style lang="scss">
.who-to-follow * {
vertical-align: middle;
}
.who-to-follow img {
width: 32px;
height: 32px;
}
.who-to-follow {
padding: 0 1em;
margin: 0;
}
.who-to-follow-items {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0;
margin: 1em 0;
}
.who-to-follow-more {
padding: 0;
margin: 1em 0;
text-align: center;
}
</style>
|