File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
frontend/src/components/app/users Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11<template >
22 <!-- eslint-disable max-len -->
3- <div class =" profileContainer" >
3+ <div class =" profileContainer relative " >
44 <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" >score < span class = " font-bold " > {{user.heat_score}}</ span > </h1 >
5+ <div @mouseover = " showScoreExplanation = true " @click = " showScoreExplanation = true " id =" sliderScore" class =" cursor-default 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" >{{user.heat_score}}</h1 >
77 </div >
88 </div >
9+ <div v-if =" showScoreExplanation" @mouseleave =" showScoreExplanation = false" @click =" showScoreExplanation = false" class =" absolute w-full top-0 h-16 flex text-center items-center justify-center sm:rounded-b-md md:rounded-b-none bg-purple-matcha z-20" >
10+ <h1 class =" text-white-matcha cursor-default p-2" >Score based on likes, matches, messages count</h1 >
11+ </div >
912 <div class =" text-center text-wrap p-8 mt-4 border-b" >
1013 <h1 class =" text-gray-matcha text-4xl font-bold mb-6" >{{user.first_name}}, {{user.age}}</h1 >
1114 <div v-if =" !user.is_online" class =" flex items-center mt-2 text-left" >
@@ -92,6 +95,7 @@ export default {
9295 },
9396 data : () => ({
9497 userInterests: [],
98+ showScoreExplanation: false ,
9599 likeImage,
96100 likeImageHover,
97101 likeImageClicked,
You can’t perform that action at this time.
0 commit comments