|
2 | 2 | <!-- eslint-disable --> |
3 | 3 | <div class="profileContainer md:overflow-scroll"> |
4 | 4 | <div class="text-center text-wrap p-8 md:pt-0 border-b"> |
5 | | - <h1 class="text-gray-matcha text-3xl font-semibold">{{user.first_name}}, {{user.age}}</h1> |
6 | | - <div class="flex items-center text-left33"> |
7 | | - <img src="../../../assets/gender.png" class="w-4 h-4 mr-2"> |
8 | | - <h1 class="text-gray-matcha mt-4"><span class="capitalize">{{user.gender}}</span> looking for {{preferences()}}</h1> |
| 5 | + <h1 class="text-gray-matcha text-3xl font-semibold mb-6">{{user.first_name}}, {{user.age}}</h1> |
| 6 | + <div v-if="!user.is_online" class="flex items-center mt-2 text-left"> |
| 7 | + <img class="w-3 h-3 mr-2" src="../../../assets/recommendations/offline.png"> |
| 8 | + <h1 class="text-gray-matcha">Last seen {{formattedLastSeenDate}}</h1> |
| 9 | + </div> |
| 10 | + <div v-else class="flex items-center mt-2 text-left"> |
| 11 | + <img class="w-3 h-3 mr-2" src="../../../assets/recommendations/online.png"> |
| 12 | + <h1 class="text-gray-matcha">online</h1> |
9 | 13 | </div> |
10 | 14 | <div class="flex items-center mt-2 text-left"> |
11 | 15 | <img src="../../../assets/location.png" class="w-4 h-4 mr-2"> |
12 | | - <h1 class="text-gray-matcha">42 km away</h1> |
| 16 | + <h1 class="text-gray-matcha">{{Math.floor(user.distance)}} km away</h1> |
| 17 | + </div> |
| 18 | + <div class="flex items-center mt-2 text-left"> |
| 19 | + <img src="../../../assets/gender.png" class="w-4 h-4 mr-2"> |
| 20 | + <h1 class="text-gray-matcha"><span class="capitalize">{{user.gender}}</span> looking for {{preferences()}}</h1> |
13 | 21 | </div> |
14 | 22 | </div> |
15 | 23 | <div class="text-center text-wrap p-8 border-b"> |
|
19 | 27 | class="px-4 py-1 border rounded-xl mr-2 mt-2 text-gray-600">{{interest}}</h1> |
20 | 28 | </div> |
21 | 29 | </div> |
22 | | - <div class="text-center text-wrap p-8 border-b"> |
23 | | - <h1>Last seen</h1> |
24 | | - <h1>{{formattedLastSeenDate}}</h1> |
25 | | - </div> |
26 | 30 | <div class="text-center flex mx-auto p-8 border-b"> |
27 | 31 | <div class="w-8/12 border border-purple-matcha py-2 rounded-lg cursor-pointer"> |
28 | 32 | <img src="../../../assets/heart.png" class="mx-auto w-8 h-8"> |
|
0 commit comments