2026-09-01 16:05:29 +03:30
|
|
|
<script setup lang="ts">
|
|
|
|
|
withDefaults(
|
|
|
|
|
defineProps<{
|
|
|
|
|
size?: number;
|
|
|
|
|
showText?: boolean;
|
|
|
|
|
variant?: 'full' | 'mark';
|
|
|
|
|
}>(),
|
|
|
|
|
{
|
|
|
|
|
size: 40,
|
|
|
|
|
showText: true,
|
|
|
|
|
variant: 'full',
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="mento-logo" :class="variant">
|
2026-09-02 16:06:17 +03:30
|
|
|
<span
|
|
|
|
|
class="mark"
|
|
|
|
|
:style="{ width: `${size}px`, height: `${size}px`, borderRadius: `${Math.round(size * 0.3)}px` }"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
>
|
2026-09-01 16:28:45 +03:30
|
|
|
<svg viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2026-09-02 16:06:17 +03:30
|
|
|
<rect x="14" y="16" width="8" height="32" rx="4" fill="#fff" />
|
2026-09-01 16:28:45 +03:30
|
|
|
<path
|
2026-09-02 16:06:17 +03:30
|
|
|
d="M17 17.5c1-1.6 3.5-1.8 4.8-.5L36 30l4.3-4c1.4-1.3 3.6-1.2 4.7.4L44 27.5 33 37.5c-1.1 1-2.8 1-3.9 0L16.5 24.5 17 17.5Z"
|
|
|
|
|
fill="#134e4a"
|
2026-09-01 16:28:45 +03:30
|
|
|
/>
|
|
|
|
|
<path
|
2026-09-02 16:06:17 +03:30
|
|
|
d="M27.5 32 38 21.5c1.3-1.3 3.4-1.2 4.6.2L50 29.5l-2.6 2.6L40 25.5 31 34c-1 1-2.8 1-3.8-.1l-.7-.9Z"
|
|
|
|
|
fill="#ecfdf5"
|
2026-09-01 16:28:45 +03:30
|
|
|
/>
|
2026-09-02 16:06:17 +03:30
|
|
|
<rect x="42" y="16" width="8" height="32" rx="4" fill="#134e4a" />
|
2026-09-01 16:28:45 +03:30
|
|
|
<path
|
2026-09-02 16:06:17 +03:30
|
|
|
d="M41 17.5c1.3-1.4 3.5-1.3 4.7.2l1.6 1.8-7 6.6-2.1-2c-1.2-1.1-.9-3.2 2.8-6.6Z"
|
|
|
|
|
fill="#ecfdf5"
|
2026-09-01 16:28:45 +03:30
|
|
|
/>
|
|
|
|
|
</svg>
|
|
|
|
|
</span>
|
2026-09-01 16:05:29 +03:30
|
|
|
<div v-if="showText && variant === 'full'" class="text">
|
|
|
|
|
<strong>Mento</strong>
|
|
|
|
|
<small>by Mentech</small>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
.mento-logo {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.7rem;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mark {
|
2026-09-01 16:28:45 +03:30
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
2026-09-01 16:05:29 +03:30
|
|
|
flex-shrink: 0;
|
2026-09-02 16:06:17 +03:30
|
|
|
background: linear-gradient(145deg, #5eead4, #14b8a6);
|
|
|
|
|
box-shadow: 0 8px 18px rgba(20, 184, 166, 0.28);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
box-sizing: border-box;
|
2026-09-01 16:28:45 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mark svg {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
2026-09-01 16:05:29 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 0.05rem;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text strong {
|
2026-09-01 16:28:45 +03:30
|
|
|
font-size: 1.08rem;
|
2026-09-01 16:05:29 +03:30
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
color: #0f172a;
|
|
|
|
|
line-height: 1.1;
|
2026-09-01 16:28:45 +03:30
|
|
|
font-weight: 800;
|
2026-09-01 16:05:29 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text small {
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
font-size: 0.72rem;
|
|
|
|
|
}
|
|
|
|
|
</style>
|