fix(brand): Memento (not Momento) — fix typo + add link to memento-note.com
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m25s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m25s
The product name is 'Memento' (not 'Momento'). The 'Momento' typo was present in 12 i18n locale files (en, fr, es, de, it, pt, nl, ja, ko, zh, ru, ar, fa) and in code comments. Also added a 'memento.url' i18n key with the canonical link https://memento-note.com/ and wrapped the Memento promo cards in both DashboardSidebar.tsx and translate/page.tsx with an <a> tag pointing to that URL. Previously the cards were a non-clickable <div>, so users had no way to reach the Memento product page. Note: 'momento' is a legitimate word in Italian, Spanish and Portuguese meaning 'moment' (e.g. 'a qualsiasi momento'). Those occurrences in pricing.json and services.json were NOT changed — they are correct translations of UI strings about 'at any moment'.
This commit is contained in:
@@ -742,9 +742,14 @@ export default function TranslatePage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* ── MOMENTO PROMO BANNER ──────────────────────────────── */}
|
||||
{/* ── MEMENTO PROMO BANNER ──────────────────────────────── */}
|
||||
{(showUpload || showConfiguring || showFailed) && (
|
||||
<div className="mt-12 editorial-card p-10 bg-white dark:bg-[#141414] border-none shadow-editorial flex flex-col md:flex-row items-center gap-8 group overflow-hidden relative">
|
||||
<a
|
||||
href={t('memento.url', { defaultValue: 'https://memento-note.com/' })}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="block mt-12 editorial-card p-10 bg-white dark:bg-[#141414] border-none shadow-editorial flex flex-col md:flex-row items-center gap-8 group overflow-hidden relative cursor-pointer"
|
||||
>
|
||||
<div className="absolute -right-20 -top-20 w-64 h-64 bg-brand-accent/5 rounded-full blur-3xl group-hover:bg-brand-accent/10 transition-colors pointer-events-none" />
|
||||
|
||||
<div className="w-16 h-16 bg-brand-dark dark:bg-brand-accent rounded-[24px] flex items-center justify-center text-white dark:text-brand-dark text-3xl font-black shadow-2xl shrink-0 group-hover:rotate-6 transition-transform duration-500">
|
||||
@@ -762,14 +767,14 @@ export default function TranslatePage() {
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col sm:flex-row gap-3 shrink-0 w-full md:w-auto">
|
||||
<button className="premium-button px-8 py-3.5 text-[9px] uppercase tracking-widest !rounded-xl text-center">
|
||||
<span className="premium-button px-8 py-3.5 text-[9px] uppercase tracking-widest !rounded-xl text-center">
|
||||
{t('memento.ctaFree')}
|
||||
</button>
|
||||
<button className="px-8 py-3.5 border border-black/5 bg-brand-muted text-brand-dark/40 rounded-xl text-[9px] font-bold uppercase tracking-widest hover:text-brand-dark dark:border-white/5 dark:bg-white/5 dark:text-white/40 dark:hover:text-white hover:bg-brand-muted/70 transition-all text-center">
|
||||
</span>
|
||||
<span className="px-8 py-3.5 border border-black/5 bg-brand-muted text-brand-dark/40 rounded-xl text-[9px] font-bold uppercase tracking-widest hover:text-brand-dark dark:border-white/5 dark:bg-white/5 dark:text-white/40 dark:hover:text-white hover:bg-brand-muted/70 transition-all text-center">
|
||||
{t('memento.ctaMore')}
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
)}
|
||||
|
||||
{/* Mobile Sticky Action Bar (visible on mobile, hidden on lg) */}
|
||||
|
||||
Reference in New Issue
Block a user