Rebrand the product to Montact and point local UI at production API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { brand } from '@mento/shared';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
lang?: 'fa' | 'en' | 'full';
|
||||
}>(),
|
||||
{ lang: 'fa' },
|
||||
);
|
||||
|
||||
const text = computed(() => {
|
||||
if (props.lang === 'en') return brand.name;
|
||||
if (props.lang === 'full') return brand.fullName;
|
||||
return brand.nameFa;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span class="brand-name">{{ text }}</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user