diff --git a/en/index.html b/en/index.html
index 823d046..02bccdd 100644
--- a/en/index.html
+++ b/en/index.html
@@ -744,7 +744,7 @@
LinkedIn
-
+
E-mail
@@ -785,7 +785,7 @@
-
+
@@ -798,6 +798,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -875,16 +934,30 @@
emailB.href = 'mailto:' + email;
}
- function openEmail() {
- const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
- const email = parts.join('');
- const subject = 'Interest in RAG/AI Consulting';
- const body = 'Hello,\n\nI am interested in learning more about your RAG and AI consulting services.\n\nI look forward to hearing from you.';
-
- const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
- window.location.href = mailto;
- }
-
+ function openEmail() {
+ const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
+ const email = parts.join('');
+ const subject = 'Interesse em Consultoria RAG/IA';
+ const body = 'Olá,\n\nTenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.\n\nAguardo seu contato.';
+
+ const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
+
+ // Tenta abrir o cliente de email
+ const link = document.createElement('a');
+ link.href = mailto;
+ document.body.appendChild(link);
+ link.click();
+ document.body.removeChild(link);
+
+ const showText = document.getElementById('showEmail');
+ showText.setAttribute('value',email);
+
+ // Mostra o modal após 1.5 segundos
+ setTimeout(() => {
+ const modal = new bootstrap.Modal(document.getElementById('emailModal'));
+ modal.show();
+ }, 1500);
+ }
//revealEmail();
diff --git a/index.html b/index.html
index 87c4609..6e919ed 100644
--- a/index.html
+++ b/index.html
@@ -744,7 +744,7 @@
LinkedIn
-
+
E-mail
@@ -762,7 +762,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -875,20 +933,45 @@
emailB.href = 'mailto:' + email;
}
- function openEmail() {
+ function openEmailOld() {
const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
const email = parts.join('');
const subject = 'Interesse em Consultoria RAG/IA';
const body = 'Olá,\n\nTenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.\n\nAguardo seu contato.';
const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
- window.location.href = mailto;
+ //window.location.href = mailto;
+ console.log(mailto);
+
+ window.location = mailto;
}
-
-
+ function openEmail() {
+ const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
+ const email = parts.join('');
+ const subject = 'Interesse em Consultoria RAG/IA';
+ const body = 'Olá,\n\nTenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.\n\nAguardo seu contato.';
+
+ const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
+
+ // Tenta abrir o cliente de email
+ const link = document.createElement('a');
+ link.href = mailto;
+ document.body.appendChild(link);
+ link.click();
+ document.body.removeChild(link);
- function openWhatsApp() {
+ const showText = document.getElementById('showEmail');
+ showText.setAttribute('value',email);
+
+ // Mostra o modal após 1.5 segundos
+ setTimeout(() => {
+ const modal = new bootstrap.Modal(document.getElementById('emailModal'));
+ modal.show();
+ }, 1500);
+ }
+
+ function openWhatsApp() {
const parts = ['5511', '9', '7079', '2602'];
const number = parts.join('');
const message = encodeURIComponent('Olá! Vi seu site e gostaria de agendar uma consultoria RAG/IA. Quando podemos conversar?');