|
1 | 1 | <template> |
2 | 2 | <!-- eslint-disable --> |
3 | 3 | <div class="profileContainer"> |
4 | | - <div class="text-center text-wrap p-8 border-b"> |
5 | | - <h1 class="text-gray-matcha text-3xl font-semibold mb-6">{{user.first_name}}, {{user.age}}</h1> |
| 4 | + <div id="sliderScoreContainer" class="text-center w-full rounded-lt-md heatScore relative h-6"> |
| 5 | + <div id="sliderScore" class="bg-purple-matcha absolute top-0 flex flex-col items-center justify-center h-12 w-auto rounded-b-md"> |
| 6 | + <h1 class="text-white-matcha px-2"><span class="font-bold">{{user.heat_score}}</span> likes</h1> |
| 7 | + </div> |
| 8 | + </div> |
| 9 | + <div class="text-center text-wrap p-8 mt-4 border-b"> |
| 10 | + <h1 class="text-gray-matcha text-4xl font-bold mb-6">{{user.first_name}}, {{user.age}}</h1> |
6 | 11 | <div v-if="!user.is_online" class="flex items-center mt-2 text-left"> |
7 | 12 | <img class="w-3 h-3 mr-2" src="../../../assets/recommendations/offline.png"> |
8 | 13 | <h1 class="text-gray-600">Last seen {{user.last_seen}}</h1> |
|
20 | 25 | <h1 class="text-gray-600"><span class="capitalize">{{user.gender}}</span> looking for {{preferences()}}</h1> |
21 | 26 | </div> |
22 | 27 | </div> |
23 | | - <div class="text-center text-wrap p-8 border-b"> |
| 28 | + <div class="text-center text-wrap p-8 pt-16 border-b"> |
24 | 29 | <h1>{{user.bio}}</h1> |
25 | 30 | <div class="flex flex-wrap justify-center mx-auto mt-6"> |
26 | 31 | <h1 v-for="(interest, index) in userInterests" :key="index" |
27 | 32 | class="px-4 py-1 border rounded-xl mr-2 mt-2 text-gray-600 text-sm">{{interest}}</h1> |
28 | 33 | </div> |
29 | 34 | </div> |
30 | | - <div class="text-left px-4 pt-8 pb-1"> |
31 | | - <h1 class="text-purple-matcha text-sm">Popularity</h1> |
32 | | - </div> |
33 | | - <div id="sliderScoreContainer" class="text-center w-full heatScore relative h-6"> |
34 | | - <div id="sliderScore" class="absolute top-0 flex items-center justify-center h-12 w-auto rounded-b-lg"> |
35 | | - <h1 class="text-white-matcha px-2">{{user.heat_score}}</h1> |
| 35 | + <div class="text-center flex flex-col mx-auto p-8 border-b"> |
| 36 | + <div class="w-full flex justify-center items-center border border-purple-matcha py-2 rounded-lg cursor-pointer"> |
| 37 | + <img src="../../../assets/heart.png" class="h-8"> |
| 38 | + <h1 class="text-purple-matcha text-2xl ml-2 font-semibold">Like</h1> |
36 | 39 | </div> |
37 | | - </div> |
38 | | - <div class="text-center flex mx-auto p-8 mt-4 border-b"> |
39 | | - <div class="w-full border border-purple-matcha py-2 rounded-lg cursor-pointer"> |
40 | | - <img src="../../../assets/heart.png" class="mx-auto w-8 h-8"> |
| 40 | + <div class="w-full flex justify-center items-center border border-purple-matcha mt-8 py-2 rounded-lg cursor-pointer"> |
| 41 | + <img src="../../../assets/superLike.png" class="h-8"> |
| 42 | + <h1 class="text-purple-matcha text-2xl ml-2 font-semibold">Super Like</h1> |
41 | 43 | </div> |
| 44 | + <h1 class="text-purple-matcha text-sm mt-2">Worth 10 likes, and {{user.first_name}} sees your extra interest</h1> |
42 | 45 | </div> |
43 | 46 | <div class="text-center p-8 border-b cursor-pointer"> |
44 | 47 | <h1 class="uppercase mx-auto">Block user</h1> |
@@ -110,8 +113,4 @@ export default { |
110 | 113 | background-image: linear-gradient(to right, #efedfd, #6246EA); |
111 | 114 | } |
112 | 115 |
|
113 | | -#sliderScore { |
114 | | - background: #3b2a8c; |
115 | | -} |
116 | | -
|
117 | 116 | </style> |
0 commit comments