2020-08-24 04:56:33 +02:00
|
|
|
<template>
|
|
|
|
<div
|
|
|
|
class="bubblePadding"
|
2023-08-14 17:07:57 +02:00
|
|
|
tabindex="0"
|
2023-11-25 18:23:27 +01:00
|
|
|
role="button"
|
2023-08-14 17:07:57 +02:00
|
|
|
:aria-labelledby="sanitizedId"
|
2024-04-19 03:00:19 +02:00
|
|
|
@click="click"
|
|
|
|
@keydown.space.enter.prevent="click"
|
2020-08-24 04:56:33 +02:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="bubble"
|
|
|
|
:style="{ background: backgroundColor, color: textColor }"
|
|
|
|
>
|
2021-06-15 04:08:57 +02:00
|
|
|
<div class="initial">
|
2020-08-24 04:56:33 +02:00
|
|
|
{{ profileInitial }}
|
2021-06-15 04:08:57 +02:00
|
|
|
</div>
|
2020-08-24 04:56:33 +02:00
|
|
|
</div>
|
2023-08-14 17:07:57 +02:00
|
|
|
<div
|
|
|
|
:id="sanitizedId"
|
|
|
|
class="profileName"
|
|
|
|
>
|
2023-11-25 18:23:27 +01:00
|
|
|
{{ translatedProfileName }}
|
2020-08-24 04:56:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./ft-profile-bubble.js" />
|
|
|
|
<style scoped src="./ft-profile-bubble.css" />
|