Rebrand the product to Montact and point local UI at production API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 11:49:54 +03:30
co-authored by Cursor
parent 8357676e6c
commit 48d3469eea
56 changed files with 309 additions and 216 deletions
+5 -4
View File
@@ -4,6 +4,7 @@ import { RouterLink, useRoute, useRouter } from 'vue-router';
import { useAuthStore } from '@/stores/auth';
import { api } from '@/lib/api';
import type { AskMentoResponse } from '@mento/shared';
import { brand, brandSuggestionFa } from '@mento/shared';
import { formatCompactMoney } from '@/lib/money';
import {
calendarDaysBetween,
@@ -145,9 +146,9 @@ const smartText = computed(() => {
const smartCta = computed(() => {
if (daysSinceContact.value != null && daysSinceContact.value <= 1) {
return 'پیشنهاد منتو: پیگیری بعدی را ثبت کن';
return brandSuggestionFa('پیگیری بعدی را ثبت کن');
}
return 'پیشنهاد منتو: امروز با مشتری تماس بگیر';
return brandSuggestionFa('امروز با مشتری تماس بگیر');
});
const kpis = computed(() => [
@@ -377,12 +378,12 @@ watch(() => auth.user?.id, () => void load(), { immediate: true });
<div>
<h2>
<UiIcon name="sparkle" :size="14" />
خلاصه هوشمند منتو
خلاصه هوشمند {{ brand.nameFa }}
</h2>
<p>{{ smartText }}</p>
</div>
</header>
<AskMentoPanel placeholder="از منتو درباره کار امروز بپرس..." />
<AskMentoPanel :placeholder="`${brand.askLabelFa} درباره کار امروز...`" />
<button class="smart-cta" type="button" @click="onSmartCta">
<span>{{ smartCta }}</span>
<UiIcon name="chevron" :size="16" />