Fix transparent AI avatar cutout and woven Mento logo mark.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-01 16:28:45 +03:30
co-authored by Cursor
parent 57fa6c8d12
commit 2b0c985d19
10 changed files with 172 additions and 71 deletions
+14 -34
View File
@@ -6,7 +6,7 @@ withDefaults(
showBubble?: boolean;
}>(),
{
size: 140,
size: 148,
bubble: 'من دستیار فروش هوشمند سیستم هستم',
showBubble: true,
},
@@ -16,16 +16,13 @@ withDefaults(
<template>
<div class="ai-avatar" :style="{ width: `${size}px` }">
<div v-if="showBubble" class="bubble">{{ bubble }}</div>
<div class="figure">
<img
class="img"
src="/brand/mento-ai-avatar.png"
alt="دستیار هوشمند منتو"
:width="size"
:height="size"
/>
<span class="glow" aria-hidden="true" />
</div>
<img
class="img"
src="/brand/mento-ai-avatar.png"
alt="دستیار هوشمند منتو"
:width="size"
:height="size"
/>
</div>
</template>
@@ -33,7 +30,7 @@ withDefaults(
.ai-avatar {
display: grid;
justify-items: center;
gap: 0.45rem;
gap: 0.4rem;
}
.bubble {
@@ -49,30 +46,13 @@ withDefaults(
border: 1px solid rgba(255, 255, 255, 0.18);
}
.figure {
position: relative;
width: 100%;
aspect-ratio: 1;
display: grid;
place-items: center;
}
.img {
width: 100%;
height: 100%;
height: auto;
display: block;
object-fit: contain;
position: relative;
z-index: 1;
filter: drop-shadow(0 12px 28px rgba(14, 165, 233, 0.35));
}
.glow {
position: absolute;
bottom: 8%;
width: 55%;
height: 14%;
border-radius: 999px;
background: radial-gradient(circle, rgba(56, 189, 248, 0.75), transparent 70%);
filter: blur(4px);
background: transparent;
/* soft presence without rectangular plate */
filter: drop-shadow(0 10px 18px rgba(14, 165, 233, 0.28));
}
</style>