diff --git a/frontend/app/(home)/components/HomeHeader/hooks/useHomeHeader.tsx b/frontend/app/(home)/components/HomeHeader/hooks/useHomeHeader.tsx index b86823d5a148..6924d2f0b5b4 100644 --- a/frontend/app/(home)/components/HomeHeader/hooks/useHomeHeader.tsx +++ b/frontend/app/(home)/components/HomeHeader/hooks/useHomeHeader.tsx @@ -19,21 +19,15 @@ export const useHomeHeader = ({ color }: UseHomeHeaderProps) => { const { onLinkClick } = useHomepageTracking(); const navItems: NavbarItem[] = [ - { - href: "https://theodo.co.uk", - label: `${t("sponsored_by")} Theodo`, - rightIcon: null, - newTab: true, - className: "underline", - }, { href: "https://github.com/StanGirard/quivr", label: t("star_us"), leftIcon: , rightIcon: null, }, - { href: "/blog", label: t("blog"), rightIcon: null, newTab: true }, + { href: "/pricing", label: t("pricing"), rightIcon: null }, { href: "https://docs.quivr.app", label: t("docs"), rightIcon: null, newTab: true }, + { href: "/blog", label: t("blog"), rightIcon: null, newTab: true }, { href: "/login", label: t("sign_in") }, ]; diff --git a/frontend/app/pricing/page.tsx b/frontend/app/pricing/page.tsx new file mode 100644 index 000000000000..c55d252f7548 --- /dev/null +++ b/frontend/app/pricing/page.tsx @@ -0,0 +1,39 @@ +"use client"; +import { useTranslation } from "react-i18next"; + +import { StripePricingTable } from "@/lib/components/Stripe/PricingModal/components/PricingTable/PricingTable"; +import Card from "@/lib/components/ui/Card"; + +import { + FooterSection, + HomeHeader, + HomeSection, + TestimonialsSection, +} from "../(home)/components"; + +const ContactSalesPage = (): JSX.Element => { + const { t } = useTranslation("contact"); + + return ( +
+ + +
+

+ {t("pricing")} +

+ + + + + + + + + +
+
+ ); +}; + +export default ContactSalesPage; diff --git a/frontend/public/locales/en/contact.json b/frontend/public/locales/en/contact.json index f53a4f571f40..cb2a49b57d83 100644 --- a/frontend/public/locales/en/contact.json +++ b/frontend/public/locales/en/contact.json @@ -1 +1,14 @@ -{"speak_to":"Speak to our","sales_team":"Sales team","form":{"email":"Work Email","question":"Question","submit":"Contact","placeholder_question":"How can we help you?","thank_you":"Thank you!","thank_you_text":"We will get back to you as soon as possible.","sending_mail_error":"There was an error sending your message. Please try again later."}} +{ + "speak_to": "Speak to our", + "sales_team": "Sales team", + "pricing": "Pricing", + "form": { + "email": "Work Email", + "question": "Question", + "submit": "Contact", + "placeholder_question": "How can we help you?", + "thank_you": "Thank you!", + "thank_you_text": "We will get back to you as soon as possible.", + "sending_mail_error": "There was an error sending your message. Please try again later." + } +} \ No newline at end of file diff --git a/frontend/public/locales/en/home.json b/frontend/public/locales/en/home.json index f1c583e307f8..31d1b408bdb1 100644 --- a/frontend/public/locales/en/home.json +++ b/frontend/public/locales/en/home.json @@ -1,6 +1,7 @@ { "sign_in": "Sign in", "docs": "Docs", + "pricing": "Pricing", "sign_up": "Sign up", "star_us": "Star us on Github", "blog": "Blog", diff --git a/frontend/public/locales/es/contact.json b/frontend/public/locales/es/contact.json index b49b59031f36..baa8dcf67d93 100644 --- a/frontend/public/locales/es/contact.json +++ b/frontend/public/locales/es/contact.json @@ -1 +1,14 @@ -{"speak_to":"Hable con nuestro","sales_team":"equipo de ventas","form":{"email":"Correo electrónico de trabajo","question":"Pregunta","submit":"Contactar","placeholder_question":"¿Cómo podemos ayudarte?","thank_you":"¡Gracias!","thank_you_text":"Nos pondremos en contacto contigo lo antes posible.","sending_mail_error":"Se produjo un error al enviar tu mensaje. Por favor, inténtalo de nuevo más tarde."}} +{ + "speak_to": "Hable con nuestro", + "sales_team": "equipo de ventas", + "pricing": "Precios", + "form": { + "email": "Correo electrónico de trabajo", + "question": "Pregunta", + "submit": "Contactar", + "placeholder_question": "¿Cómo podemos ayudarte?", + "thank_you": "¡Gracias!", + "thank_you_text": "Nos pondremos en contacto contigo lo antes posible.", + "sending_mail_error": "Se produjo un error al enviar tu mensaje. Por favor, inténtalo de nuevo más tarde." + } +} \ No newline at end of file diff --git a/frontend/public/locales/es/home.json b/frontend/public/locales/es/home.json index cf1b348a17af..6d0c8cb406e1 100644 --- a/frontend/public/locales/es/home.json +++ b/frontend/public/locales/es/home.json @@ -1,6 +1,7 @@ { "sign_in": "Iniciar sesión", "docs": "Docs", + "pricing": "Precios", "sign_up": "Registrarse", "star_us": "Danos una estrella en Github", "blog": "Blog", diff --git a/frontend/public/locales/fr/contact.json b/frontend/public/locales/fr/contact.json index 35fc45109b5e..12121bea71e5 100644 --- a/frontend/public/locales/fr/contact.json +++ b/frontend/public/locales/fr/contact.json @@ -1 +1,14 @@ -{"speak_to":"Parlez à notre","sales_team":"équipe de vente","form":{"email":"Courriel professionnel","question":"Question","submit":"Contacter","placeholder_question":"Comment pouvons-nous vous aider ?","thank_you":"Merci !","thank_you_text":"Nous vous répondrons dès que possible.","sending_mail_error":"Une erreur s'est produite lors de l'envoi de votre message. Veuillez réessayer plus tard."}} +{ + "speak_to": "Parlez à notre", + "sales_team": "équipe de vente", + "pricing": "Tarif", + "form": { + "email": "Courriel professionnel", + "question": "Question", + "submit": "Contacter", + "placeholder_question": "Comment pouvons-nous vous aider ?", + "thank_you": "Merci !", + "thank_you_text": "Nous vous répondrons dès que possible.", + "sending_mail_error": "Une erreur s'est produite lors de l'envoi de votre message. Veuillez réessayer plus tard." + } +} \ No newline at end of file diff --git a/frontend/public/locales/fr/home.json b/frontend/public/locales/fr/home.json index fba8c8acdc22..e558905cdf7b 100644 --- a/frontend/public/locales/fr/home.json +++ b/frontend/public/locales/fr/home.json @@ -1,6 +1,7 @@ { "sign_in": "Se connecter", "docs": "Docs", + "pricing": "Tarif", "sign_up": "S'inscrire", "star_us": "Étoilez-nous sur Github", "blog": "Blog", diff --git a/frontend/public/locales/pt-br/contact.json b/frontend/public/locales/pt-br/contact.json index 8297ab1dd258..cf2d77ef0593 100644 --- a/frontend/public/locales/pt-br/contact.json +++ b/frontend/public/locales/pt-br/contact.json @@ -1 +1,14 @@ -{"speak_to":"Fale com o nosso","sales_team":"time de vendas","form":{"email":"E-mail de trabalho","question":"Pergunta","submit":"Contato","placeholder_question":"Como podemos ajudar?","thank_you":"Obrigado!","thank_you_text":"Entraremos em contato o mais rápido possível.","sending_mail_error":"Ocorreu um erro ao enviar sua mensagem. Por favor, tente novamente mais tarde."}} +{ + "speak_to": "Fale com o nosso", + "sales_team": "time de vendas", + "pricing": "Preços", + "form": { + "email": "E-mail de trabalho", + "question": "Pergunta", + "submit": "Contato", + "placeholder_question": "Como podemos ajudar?", + "thank_you": "Obrigado!", + "thank_you_text": "Entraremos em contato o mais rápido possível.", + "sending_mail_error": "Ocorreu um erro ao enviar sua mensagem. Por favor, tente novamente mais tarde." + } +} \ No newline at end of file diff --git a/frontend/public/locales/pt-br/home.json b/frontend/public/locales/pt-br/home.json index 38f0f6f499f3..2bb8664ba63f 100644 --- a/frontend/public/locales/pt-br/home.json +++ b/frontend/public/locales/pt-br/home.json @@ -1,6 +1,7 @@ { "sign_in": "Entrar", "docs": "Documentação", + "pricing": "Preços", "sign_up": "Cadastrar", "star_us": "Nos avalie no Github", "blog": "Blog", diff --git a/frontend/public/locales/ru/contact.json b/frontend/public/locales/ru/contact.json index 639cd2994a50..4a1a43b8fade 100644 --- a/frontend/public/locales/ru/contact.json +++ b/frontend/public/locales/ru/contact.json @@ -1 +1,14 @@ -{"speak_to":"Говорите с нашим","sales_team":"коммерческим отделом","form":{"email":"Рабочий электронный адрес","question":"Вопрос","submit":"Контакт","placeholder_question":"Как мы можем вам помочь?","thank_you":"Спасибо!","thank_you_text":"Мы свяжемся с вами как можно скорее.","sending_mail_error":"При отправке вашего сообщения произошла ошибка. Пожалуйста, попробуйте еще раз позже."}} +{ + "speak_to": "Говорите с нашим", + "sales_team": "коммерческим отделом", + "pricing": "Цены", + "form": { + "email": "Рабочий электронный адрес", + "question": "Вопрос", + "submit": "Контакт", + "placeholder_question": "Как мы можем вам помочь?", + "thank_you": "Спасибо!", + "thank_you_text": "Мы свяжемся с вами как можно скорее.", + "sending_mail_error": "При отправке вашего сообщения произошла ошибка. Пожалуйста, попробуйте еще раз позже." + } +} \ No newline at end of file diff --git a/frontend/public/locales/ru/home.json b/frontend/public/locales/ru/home.json index 2104d581723d..2444f602f44f 100644 --- a/frontend/public/locales/ru/home.json +++ b/frontend/public/locales/ru/home.json @@ -2,6 +2,7 @@ "sign_in": "Войти", "sign_up": "Зарегистрироваться", "docs": "Документация", + "pricing": "Цены", "star_us": "Поставьте звезду на Github", "blog": "Блог", "sponsored_by": "Спонсируется", diff --git a/frontend/public/locales/zh-cn/contact.json b/frontend/public/locales/zh-cn/contact.json index c4b2cde89882..46fb4de89c0f 100644 --- a/frontend/public/locales/zh-cn/contact.json +++ b/frontend/public/locales/zh-cn/contact.json @@ -1 +1,14 @@ -{"speak_to":"联系我们的","sales_team":"销售团队","form":{"email":"工作电子邮件","question":"问题","submit":"联系我们","placeholder_question":"我们如何帮助您?","thank_you":"谢谢!","thank_you_text":"我们会尽快回复您。","sending_mail_error":"发送消息时出错。请稍后再试。"}} +{ + "speak_to": "联系我们的", + "sales_team": "销售团队", + "pricing": "定价", + "form": { + "email": "工作电子邮件", + "question": "问题", + "submit": "联系我们", + "placeholder_question": "我们如何帮助您?", + "thank_you": "谢谢!", + "thank_you_text": "我们会尽快回复您。", + "sending_mail_error": "发送消息时出错。请稍后再试。" + } +} \ No newline at end of file diff --git a/frontend/public/locales/zh-cn/home.json b/frontend/public/locales/zh-cn/home.json index 6501d51b09f3..c8c3d91c4735 100644 --- a/frontend/public/locales/zh-cn/home.json +++ b/frontend/public/locales/zh-cn/home.json @@ -1,6 +1,7 @@ { "sign_in": "登录", "docs": "文档", + "pricing": "定价", "sign_up": "注册", "star_us": "Github 星标我们", "blog": "博客",