From 5b217f768a265935e8c08258269137ab25c33f74 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 22:30:47 +0000 Subject: [PATCH] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/routes/index.tsx | 19 +++++++++++-------- src/routes/login.tsx | 39 +++++++++++++++++++++------------------ src/routes/signup.tsx | 41 ++++++++++++++++++++++------------------- 3 files changed, 54 insertions(+), 45 deletions(-) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index ec6fa46..4983e98 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -7,18 +7,21 @@ import { PlansSection } from "@/components/mika/PlansSection"; import { FaqSection, faqs } from "@/components/mika/FaqSection"; import { LandingFooter } from "@/components/mika/LandingFooter"; +const HOME_TITLE = "Mika — Assistente Pessoal IA no Telegram"; +const HOME_DESCRIPTION = + "Agentes de IA personalizados que aprendem com você e atendem direto no Telegram. Planos a partir de R$ 69,90/mês."; +const HOME_URL = "https://mika.domco.ai/"; + export const Route = createFileRoute("/")({ head: () => ({ meta: [ - { property: "og:title", content: "Mika — Assistente Pessoal IA no Telegram" }, - { - property: "og:description", - content: - "Agentes de IA personalizados que aprendem com você e atendem direto no Telegram. Planos a partir de R$ 69,90/mês.", - }, - { property: "og:url", content: "https://mika.domco.ai/" }, + { property: "og:title", content: HOME_TITLE }, + { property: "og:description", content: HOME_DESCRIPTION }, + { property: "og:url", content: HOME_URL }, + { name: "twitter:title", content: HOME_TITLE }, + { name: "twitter:description", content: HOME_DESCRIPTION }, ], - links: [{ rel: "canonical", href: "https://mika.domco.ai/" }], + links: [{ rel: "canonical", href: HOME_URL }], scripts: [ { type: "application/ld+json", diff --git a/src/routes/login.tsx b/src/routes/login.tsx index 2afd297..895ea89 100644 --- a/src/routes/login.tsx +++ b/src/routes/login.tsx @@ -27,24 +27,27 @@ export const Route = createFileRoute("/login")({ validateSearch: (search: Record): LoginSearch => ({ redirect: typeof search.redirect === "string" ? search.redirect : undefined, }), - head: () => ({ - meta: [ - { title: "Entrar na Mika — Acesse seu agente de IA" }, - { - name: "description", - content: - "Faça login na sua conta Mika para acessar seu agente de IA pessoal, integrações e configurações no painel.", - }, - { property: "og:title", content: "Entrar na Mika" }, - { - property: "og:description", - content: "Acesse seu agente de IA pessoal no painel da Mika.", - }, - { property: "og:url", content: "https://mika.domco.ai/login" }, - { name: "robots", content: "noindex,follow" }, - ], - links: [{ rel: "canonical", href: "https://mika.domco.ai/login" }], - }), + head: () => { + const title = "Entrar na Mika — Acesse seu agente de IA"; + const ogTitle = "Entrar na Mika"; + const description = + "Faça login na sua conta Mika para acessar seu agente de IA pessoal, integrações e configurações no painel."; + const ogDescription = "Acesse seu agente de IA pessoal no painel da Mika."; + const url = "https://mika.domco.ai/login"; + return { + meta: [ + { title }, + { name: "description", content: description }, + { property: "og:title", content: ogTitle }, + { property: "og:description", content: ogDescription }, + { property: "og:url", content: url }, + { name: "twitter:title", content: ogTitle }, + { name: "twitter:description", content: ogDescription }, + { name: "robots", content: "noindex,follow" }, + ], + links: [{ rel: "canonical", href: url }], + }; + }, component: LoginPage, }); diff --git a/src/routes/signup.tsx b/src/routes/signup.tsx index 0ad19aa..0901953 100644 --- a/src/routes/signup.tsx +++ b/src/routes/signup.tsx @@ -40,25 +40,28 @@ export const Route = createFileRoute("/signup")({ plan: typeof search.plan === "string" ? search.plan : undefined, cycle: search.cycle === "yearly" || search.cycle === "monthly" ? search.cycle : undefined, }), - head: () => ({ - meta: [ - { title: "Criar conta na Mika — Comece seu agente de IA" }, - { - name: "description", - content: - "Crie sua conta Mika em minutos e tenha um agente de IA pessoal no Telegram. Garantia de 30 dias para reembolso integral.", - }, - { property: "og:title", content: "Criar conta na Mika" }, - { - property: "og:description", - content: - "Comece em minutos. Agente de IA pessoal no Telegram com garantia de 30 dias.", - }, - { property: "og:url", content: "https://mika.domco.ai/signup" }, - { name: "robots", content: "noindex,follow" }, - ], - links: [{ rel: "canonical", href: "https://mika.domco.ai/signup" }], - }), + head: () => { + const title = "Criar conta na Mika — Comece seu agente de IA"; + const ogTitle = "Criar conta na Mika"; + const description = + "Crie sua conta Mika em minutos e tenha um agente de IA pessoal no Telegram. Garantia de 30 dias para reembolso integral."; + const ogDescription = + "Comece em minutos. Agente de IA pessoal no Telegram com garantia de 30 dias."; + const url = "https://mika.domco.ai/signup"; + return { + meta: [ + { title }, + { name: "description", content: description }, + { property: "og:title", content: ogTitle }, + { property: "og:description", content: ogDescription }, + { property: "og:url", content: url }, + { name: "twitter:title", content: ogTitle }, + { name: "twitter:description", content: ogDescription }, + { name: "robots", content: "noindex,follow" }, + ], + links: [{ rel: "canonical", href: url }], + }; + }, component: SignupPage, });