feat: Align pricing demos with home page (€390-€1390), add sitemap.xml and robots.txt
This commit is contained in:
+39
-25
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
import { useState, useEffect, useMemo } from "react";
|
||||
import Image from "next/image";
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
@@ -52,9 +52,9 @@ const verticals = {
|
||||
{ title: "Multidioma", desc: "Responde en español, inglés, francés, alemán" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Esencial", price: "€299", features: ["1 agente IA", "Web básica", "WhatsApp incluido"] },
|
||||
{ name: "Profesional", price: "€549", popular: true, features: ["2 agentes IA", "Web completa", "CRM integrado", "Analytics"] },
|
||||
{ name: "Premium", price: "€949", features: ["Agentes ilimitados", "Web a medida", "API integrations", "Soporte 24/7"] },
|
||||
{ name: "Esencial", price: "€390", features: ["1 agente IA especializado", "Web básica profesional", "WhatsApp Business incluido", "Soporte email"] },
|
||||
{ name: "Profesional", price: "€790", popular: true, features: ["2 agentes IA especializados", "Web completa a medida", "CRM inmobiliario", "Analytics avanzado", "Integraciones MLS"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Agentes ilimitados", "Web a medida premium", "API integrations", "Soporte 24/7 prioritario", "Gestión multi-oficina"] },
|
||||
],
|
||||
},
|
||||
en: {
|
||||
@@ -67,9 +67,9 @@ const verticals = {
|
||||
{ title: "Multilingual", desc: "Responds in Spanish, English, French, German" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Essential", price: "€299", features: ["1 AI agent", "Basic website", "WhatsApp included"] },
|
||||
{ name: "Professional", price: "€549", popular: true, features: ["2 AI agents", "Full website", "CRM integrated", "Analytics"] },
|
||||
{ name: "Premium", price: "€949", features: ["Unlimited AI agents", "Custom website", "API integrations", "24/7 Support"] },
|
||||
{ name: "Essential", price: "€390", features: ["1 specialized AI agent", "Professional basic website", "WhatsApp Business included", "Email support"] },
|
||||
{ name: "Professional", price: "€790", popular: true, features: ["2 specialized AI agents", "Custom full website", "Real estate CRM", "Advanced analytics", "MLS integrations"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Unlimited AI agents", "Premium custom website", "API integrations", "Priority 24/7 support", "Multi-office management"] },
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -84,9 +84,9 @@ const verticals = {
|
||||
{ title: "Promociones automáticas", desc: "La IA propone ofertas en momentos bajos" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Inicio", price: "€199", features: ["1 agente IA", "Web básica", "Reservas"] },
|
||||
{ name: "Negocio", price: "€399", popular: true, features: ["2 agentes IA", "Web completa", "Pedidos", "CRM"] },
|
||||
{ name: "Cadena", price: "€749", features: ["Agentes ilimitados", "Multi-sucursal", "API integrations", "Soporte 24/7"] },
|
||||
{ name: "Esencial", price: "€390", features: ["1 agente IA restorantero", "Web básica con menú digital", "WhatsApp Business incluido", "Soporte email"] },
|
||||
{ name: "Profesional", price: "€790", popular: true, features: ["2 agentes IA especializados", "Web completa con pedidos", "CRM de restaurante", "Gestión de mesas", "Integraciones delivery"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Agentes ilimitados", "Web a medida premium", "API integrations", "Soporte 24/7 prioritario", "Multi-sucursal"] },
|
||||
],
|
||||
},
|
||||
en: {
|
||||
@@ -99,9 +99,9 @@ const verticals = {
|
||||
{ title: "Auto promotions", desc: "AI offers deals during slow periods" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Starter", price: "€199", features: ["1 AI agent", "Basic website", "Reservations"] },
|
||||
{ name: "Business", price: "€399", popular: true, features: ["2 AI agents", "Full website", "Orders", "CRM"] },
|
||||
{ name: "Chain", price: "€749", features: ["Unlimited agents", "Multi-branch", "API integrations", "24/7 Support"] },
|
||||
{ name: "Essential", price: "€390", features: ["1 restaurant AI agent", "Basic website with digital menu", "WhatsApp Business included", "Email support"] },
|
||||
{ name: "Professional", price: "€790", popular: true, features: ["2 specialized AI agents", "Full website with orders", "Restaurant CRM", "Table management", "Delivery integrations"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Unlimited AI agents", "Premium custom website", "API integrations", "Priority 24/7 support", "Multi-branch"] },
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -116,9 +116,9 @@ const verticals = {
|
||||
{ title: "Cualificación", desc: "Filtra pacientes adecuados para cada tratamiento" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Básico", price: "€249", features: ["1 agente IA", "Web básica", "Citas"] },
|
||||
{ name: "Clínica", price: "€499", popular: true, features: ["2 agentes IA", "Web completa", "CRM médico", "Recordatorios"] },
|
||||
{ name: "Grupo", price: "€899", features: ["Agentes ilimitados", "Multi-sede", "API integrations", "Soporte 24/7"] },
|
||||
{ name: "Esencial", price: "€390", features: ["1 agente IA médico", "Web básica con servicios", "WhatsApp Business incluido", "Soporte email"] },
|
||||
{ name: "Profesional", price: "€790", popular: true, features: ["2 agentes IA especializados", "Web completa con citas", "CRM médico", "Recordatorios SMS/WhatsApp", "Integraciones calendarios"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Agentes ilimitados", "Web a medida premium", "API integrations", "Soporte 24/7 prioritario", "Multi-sede"] },
|
||||
],
|
||||
},
|
||||
en: {
|
||||
@@ -131,9 +131,9 @@ const verticals = {
|
||||
{ title: "Qualification", desc: "Filters suitable patients for each treatment" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Basic", price: "€249", features: ["1 AI agent", "Basic website", "Appointments"] },
|
||||
{ name: "Clinic", price: "€499", popular: true, features: ["2 AI agents", "Full website", "Medical CRM", "Reminders"] },
|
||||
{ name: "Group", price: "€899", features: ["Unlimited agents", "Multi-location", "API integrations", "24/7 Support"] },
|
||||
{ name: "Essential", price: "€390", features: ["1 medical AI agent", "Basic website with services", "WhatsApp Business included", "Email support"] },
|
||||
{ name: "Professional", price: "€790", popular: true, features: ["2 specialized AI agents", "Full website with bookings", "Medical CRM", "SMS/WhatsApp reminders", "Calendar integrations"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Unlimited AI agents", "Premium custom website", "API integrations", "Priority 24/7 support", "Multi-location"] },
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -148,9 +148,9 @@ const verticals = {
|
||||
{ title: "Seguimiento", desc: "Recordatorios y seguimiento automático" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Profesional", price: "€249", features: ["1 agente IA", "Web básica", "Presupuestos"] },
|
||||
{ name: "Empresa", price: "€449", popular: true, features: ["2 agentes IA", "Web completa", "CRM servicios", "Fotos/proyectos"] },
|
||||
{ name: "Corporativo", price: "€849", features: ["Agentes ilimitados", "Flota/varios equipos", "API integrations", "Soporte 24/7"] },
|
||||
{ name: "Esencial", price: "€390", features: ["1 agente IA de servicios", "Web básica con servicios", "WhatsApp Business incluido", "Soporte email"] },
|
||||
{ name: "Profesional", price: "€790", popular: true, features: ["2 agentes IA especializados", "Web completa con presupuestos", "CRM de servicios", "Gestión de técnicos", "Fotos y proyectos"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Agentes ilimitados", "Web a medida premium", "API integrations", "Soporte 24/7 prioritario", "Gestión de flota"] },
|
||||
],
|
||||
},
|
||||
en: {
|
||||
@@ -163,9 +163,9 @@ const verticals = {
|
||||
{ title: "Follow-up", desc: "Automatic reminders and follow-up" },
|
||||
],
|
||||
pricing: [
|
||||
{ name: "Professional", price: "€249", features: ["1 AI agent", "Basic website", "Quotes"] },
|
||||
{ name: "Company", price: "€449", popular: true, features: ["2 AI agents", "Full website", "Service CRM", "Photos/projects"] },
|
||||
{ name: "Corporate", price: "€849", features: ["Unlimited agents", "Fleet/multi-team", "API integrations", "24/7 Support"] },
|
||||
{ name: "Essential", price: "€390", features: ["1 service AI agent", "Basic website with services", "WhatsApp Business included", "Email support"] },
|
||||
{ name: "Professional", price: "€790", popular: true, features: ["2 specialized AI agents", "Full website with quotes", "Service CRM", "Technician management", "Photos and projects"] },
|
||||
{ name: "Premium", price: "€1390", features: ["Unlimited AI agents", "Premium custom website", "API integrations", "Priority 24/7 support", "Fleet management"] },
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -194,11 +194,21 @@ export default function DemosPage() {
|
||||
|
||||
useEffect(() => {
|
||||
if (typeof window === "undefined") return;
|
||||
// Check URL param first
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const urlLang = params.get("lang");
|
||||
if (urlLang === "es" || urlLang === "en") {
|
||||
setLang(urlLang);
|
||||
localStorage.setItem("sitemente:lang", urlLang);
|
||||
return;
|
||||
}
|
||||
// Then check localStorage
|
||||
const saved = localStorage.getItem("sitemente:lang");
|
||||
if (saved === "es" || saved === "en") {
|
||||
setLang(saved);
|
||||
return;
|
||||
}
|
||||
// Finally check browser language
|
||||
const browserLang = navigator.language.toLowerCase();
|
||||
setLang(browserLang.startsWith("en") ? "en" : "es");
|
||||
}, []);
|
||||
@@ -206,6 +216,10 @@ export default function DemosPage() {
|
||||
useEffect(() => {
|
||||
if (typeof window === "undefined") return;
|
||||
localStorage.setItem("sitemente:lang", lang);
|
||||
// Update URL without reload
|
||||
const url = new URL(window.location.href);
|
||||
url.searchParams.set("lang", lang);
|
||||
window.history.replaceState({}, "", url.toString());
|
||||
}, [lang]);
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: ["/mission-control", "/morning-brief", "/api"],
|
||||
},
|
||||
sitemap: "https://sitemente.com/sitemap.xml",
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
{
|
||||
url: "https://sitemente.com",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 1,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/demos",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.9,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/demos?vertical=real-estate",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/demos?vertical=restaurant",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/demos?vertical=clinic",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/demos?vertical=home-services",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "weekly",
|
||||
priority: 0.8,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/mission-control",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "monthly",
|
||||
priority: 0.3,
|
||||
},
|
||||
{
|
||||
url: "https://sitemente.com/morning-brief",
|
||||
lastModified: new Date(),
|
||||
changeFrequency: "monthly",
|
||||
priority: 0.3,
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user