|
1 | 1 | <template> |
2 | 2 | <!-- eslint-disable --> |
3 | | - <div class="profileContainer md:overflow-scroll"> |
4 | | - <div class="text-center text-wrap p-8 md:pt-0 border-b"> |
| 3 | + <div class="profileContainer"> |
| 4 | + <div class="text-center text-wrap p-8 border-b"> |
5 | 5 | <h1 class="text-gray-matcha text-3xl font-semibold mb-6">{{user.first_name}}, {{user.age}}</h1> |
6 | 6 | <div v-if="!user.is_online" class="flex items-center mt-2 text-left"> |
7 | 7 | <img class="w-3 h-3 mr-2" src="../../../assets/recommendations/offline.png"> |
8 | | - <h1 class="text-gray-matcha">Last seen {{formattedLastSeenDate}}</h1> |
| 8 | + <h1 class="text-gray-600">Last seen {{formattedLastSeenDate}}</h1> |
9 | 9 | </div> |
10 | 10 | <div v-else class="flex items-center mt-2 text-left"> |
11 | 11 | <img class="w-3 h-3 mr-2" src="../../../assets/recommendations/online.png"> |
12 | | - <h1 class="text-gray-matcha">online</h1> |
| 12 | + <h1 class="text-gray-600">online</h1> |
13 | 13 | </div> |
14 | 14 | <div class="flex items-center mt-2 text-left"> |
15 | 15 | <img src="../../../assets/location.png" class="w-4 h-4 mr-2"> |
16 | | - <h1 class="text-gray-matcha">{{Math.floor(user.distance)}} km away</h1> |
| 16 | + <h1 class="text-gray-600">{{Math.floor(user.distance)}} km away</h1> |
17 | 17 | </div> |
18 | 18 | <div class="flex items-center mt-2 text-left"> |
19 | 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> |
| 20 | + <h1 class="text-gray-600"><span class="capitalize">{{user.gender}}</span> looking for {{preferences()}}</h1> |
21 | 21 | </div> |
22 | 22 | </div> |
23 | 23 | <div class="text-center text-wrap p-8 border-b"> |
24 | 24 | <h1>{{user.bio}}</h1> |
25 | 25 | <div class="flex flex-wrap justify-center mx-auto mt-6"> |
26 | 26 | <h1 v-for="(interest, index) in userInterests" :key="index" |
27 | | - class="px-4 py-1 border rounded-xl mr-2 mt-2 text-gray-600">{{interest}}</h1> |
| 27 | + class="px-4 py-1 border rounded-xl mr-2 mt-2 text-gray-600 text-sm">{{interest}}</h1> |
28 | 28 | </div> |
29 | 29 | </div> |
30 | 30 | <div class="text-center flex mx-auto p-8 border-b"> |
31 | | - <div class="w-8/12 border border-purple-matcha py-2 rounded-lg cursor-pointer"> |
| 31 | + <div class="w-full border border-purple-matcha py-2 rounded-lg cursor-pointer"> |
32 | 32 | <img src="../../../assets/heart.png" class="mx-auto w-8 h-8"> |
33 | 33 | </div> |
34 | | - <div class="w-4/12 border border-purple-matcha py-2 rounded-lg ml-4"> |
35 | | - <h1 class="mx-auto text-xl">{{user.heat_score}}</h1> |
36 | | - </div> |
37 | 34 | </div> |
38 | 35 | <div class="text-center p-8 border-b cursor-pointer"> |
39 | 36 | <h1 class="uppercase mx-auto">Block user</h1> |
@@ -95,7 +92,7 @@ export default { |
95 | 92 | <style scoped> |
96 | 93 | @screen md { |
97 | 94 | .profileContainer { |
98 | | - height: 30rem; |
| 95 | + height: 75vh; |
99 | 96 | } |
100 | 97 | } |
101 | 98 | </style> |
0 commit comments