fix: email e video pt-br
This commit is contained in:
parent
19b9b5847b
commit
abfd144b0a
@ -744,7 +744,7 @@
|
|||||||
<a href="https://www.linkedin.com/in/ricardo-carneiro" target="_blank" class="btn btn-outline-light me-3">
|
<a href="https://www.linkedin.com/in/ricardo-carneiro" target="_blank" class="btn btn-outline-light me-3">
|
||||||
<i class="fab fa-linkedin-in me-2"></i>LinkedIn
|
<i class="fab fa-linkedin-in me-2"></i>LinkedIn
|
||||||
</a>
|
</a>
|
||||||
<a id="btnEmail2" click="openEmail()" target="_blank" class="btn btn-outline-light me-3">
|
<a id="btnEmail2" onclick="openEmail(); return false;" target="_blank" class="btn btn-outline-light me-3">
|
||||||
<i class="fas fa-envelope me-2"></i>E-mail
|
<i class="fas fa-envelope me-2"></i>E-mail
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.upwork.com/freelancers/~01aa5eed59c1535ac0?viewMode=1" target="_blank" class="btn btn-outline-light">
|
<a href="https://www.upwork.com/freelancers/~01aa5eed59c1535ac0?viewMode=1" target="_blank" class="btn btn-outline-light">
|
||||||
@ -785,7 +785,7 @@
|
|||||||
<a class="btn btn-dark btn-social mx-2" href="https://www.linkedin.com/in/ricardo-jobmaker" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" href="https://www.linkedin.com/in/ricardo-jobmaker" target="_blank">
|
||||||
<i class="fab fa-linkedin-in"></i>
|
<i class="fab fa-linkedin-in"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-dark btn-social mx-2" id="btnEmail1" click="openEmail()" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" id="btnEmail1" onclick="openEmail(); return false;" target="_blank">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-dark btn-social mx-2" href="https://www.upwork.com/freelancers/ricardo-jobmaker" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" href="https://www.upwork.com/freelancers/ricardo-jobmaker" target="_blank">
|
||||||
@ -798,6 +798,65 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<div class="modal fade" id="emailModal" tabindex="-1" aria-labelledby="emailModalLabel" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-dialog-centered">
|
||||||
|
<div class="modal-content bg-dark text-light">
|
||||||
|
<div class="modal-header border-secondary">
|
||||||
|
<h5 class="modal-title" id="emailModalLabel">
|
||||||
|
<i class="fas fa-envelope me-2 text-primary"></i>Informações de Contato
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="mb-6">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-at me-2"></i>Email:
|
||||||
|
</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" id="showEmail" class="form-control bg-secondary text-light border-secondary" id="emailAddress" readonly>
|
||||||
|
<button class="btn btn-outline-primary" type="button" onclick="copyEmail()">
|
||||||
|
<i class="fas fa-copy"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="mb-4">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-tag me-2"></i>Assunto:
|
||||||
|
</label>
|
||||||
|
<input type="text" class="form-control bg-secondary text-light border-secondary" value="Interesse em Consultoria RAG/IA" readonly>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-comment-dots me-2"></i>Mensagem sugerida:
|
||||||
|
</label>
|
||||||
|
<textarea class="form-control bg-secondary text-light border-secondary" id="emailBody" rows="5" readonly>Olá,
|
||||||
|
|
||||||
|
Tenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.
|
||||||
|
|
||||||
|
Aguardo seu contato.
|
||||||
|
</textarea>
|
||||||
|
<button class="btn btn-outline-primary btn-sm mt-2" onclick="copyMessage()">
|
||||||
|
<i class="fas fa-copy me-2"></i>Copiar Mensagem
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer border-secondary">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Fechar</button>
|
||||||
|
<small class="text-muted">
|
||||||
|
<i class="fas fa-info-circle me-1"></i>
|
||||||
|
Se o cliente de email não abriu automaticamente, use as informações acima para entrar em contato.
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="js/scripts.js"></script>
|
<script src="js/scripts.js"></script>
|
||||||
@ -878,13 +937,27 @@
|
|||||||
function openEmail() {
|
function openEmail() {
|
||||||
const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
|
const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
|
||||||
const email = parts.join('');
|
const email = parts.join('');
|
||||||
const subject = 'Interest in RAG/AI Consulting';
|
const subject = 'Interesse em Consultoria RAG/IA';
|
||||||
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 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)}`;
|
const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
|
||||||
window.location.href = mailto;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// 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();
|
//revealEmail();
|
||||||
|
|
||||||
|
|||||||
97
index.html
97
index.html
@ -744,7 +744,7 @@
|
|||||||
<a href="https://www.linkedin.com/in/ricardo-carneiro" target="_blank" class="btn btn-outline-light me-3">
|
<a href="https://www.linkedin.com/in/ricardo-carneiro" target="_blank" class="btn btn-outline-light me-3">
|
||||||
<i class="fab fa-linkedin-in me-2"></i>LinkedIn
|
<i class="fab fa-linkedin-in me-2"></i>LinkedIn
|
||||||
</a>
|
</a>
|
||||||
<a id="btnEmail2" click="openEmail()" target="_blank" class="btn btn-outline-light me-3">
|
<a id="btnEmail2" onclick="openEmail(); return false;" target="_blank" class="btn btn-outline-light me-3">
|
||||||
<i class="fas fa-envelope me-2"></i>E-mail
|
<i class="fas fa-envelope me-2"></i>E-mail
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.upwork.com/freelancers/~01aa5eed59c1535ac0?viewMode=1" target="_blank" class="btn btn-outline-light">
|
<a href="https://www.upwork.com/freelancers/~01aa5eed59c1535ac0?viewMode=1" target="_blank" class="btn btn-outline-light">
|
||||||
@ -762,7 +762,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-auto">
|
<div class="mt-auto">
|
||||||
<a href="https://youtu.be/u0Jai_OZByw" target="_blank" class="btn btn-primary btn-lg">
|
<a href="https://youtu.be/76MCfwDVXHE" target="_blank" class="btn btn-primary btn-lg">
|
||||||
<i class="fas fa-play me-2"></i>Assistir Demo RAG
|
<i class="fas fa-play me-2"></i>Assistir Demo RAG
|
||||||
</a>
|
</a>
|
||||||
<div class="mt-4">
|
<div class="mt-4">
|
||||||
@ -785,7 +785,7 @@
|
|||||||
<a class="btn btn-dark btn-social mx-2" href="https://www.linkedin.com/in/ricardo-jobmaker" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" href="https://www.linkedin.com/in/ricardo-jobmaker" target="_blank">
|
||||||
<i class="fab fa-linkedin-in"></i>
|
<i class="fab fa-linkedin-in"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-dark btn-social mx-2" id="btnEmail1" click="openEmail()" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" id="btnEmail1" onclick="openEmail(); return false;" target="_blank">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-dark btn-social mx-2" href="https://www.upwork.com/freelancers/ricardo-jobmaker" target="_blank">
|
<a class="btn btn-dark btn-social mx-2" href="https://www.upwork.com/freelancers/ricardo-jobmaker" target="_blank">
|
||||||
@ -798,6 +798,64 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<div class="modal fade" id="emailModal" tabindex="-1" aria-labelledby="emailModalLabel" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-dialog-centered">
|
||||||
|
<div class="modal-content bg-dark text-light">
|
||||||
|
<div class="modal-header border-secondary">
|
||||||
|
<h5 class="modal-title" id="emailModalLabel">
|
||||||
|
<i class="fas fa-envelope me-2 text-primary"></i>Informações de Contato
|
||||||
|
</h5>
|
||||||
|
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="mb-6">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-at me-2"></i>Email:
|
||||||
|
</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" id="showEmail" class="form-control bg-secondary text-light border-secondary" id="emailAddress" readonly>
|
||||||
|
<button class="btn btn-outline-primary" type="button" onclick="copyEmail()">
|
||||||
|
<i class="fas fa-copy"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="mb-4">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-tag me-2"></i>Assunto:
|
||||||
|
</label>
|
||||||
|
<input type="text" class="form-control bg-secondary text-light border-secondary" value="Interesse em Consultoria RAG/IA" readonly>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-3">
|
||||||
|
<label class="form-label fw-bold text-primary">
|
||||||
|
<i class="fas fa-comment-dots me-2"></i>Mensagem sugerida:
|
||||||
|
</label>
|
||||||
|
<textarea class="form-control bg-secondary text-light border-secondary" id="emailBody" rows="5" readonly>Olá,
|
||||||
|
|
||||||
|
Tenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.
|
||||||
|
|
||||||
|
Aguardo seu contato.
|
||||||
|
</textarea>
|
||||||
|
<button class="btn btn-outline-primary btn-sm mt-2" onclick="copyMessage()">
|
||||||
|
<i class="fas fa-copy me-2"></i>Copiar Mensagem
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer border-secondary">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Fechar</button>
|
||||||
|
<small class="text-muted">
|
||||||
|
<i class="fas fa-info-circle me-1"></i>
|
||||||
|
Se o cliente de email não abriu automaticamente, use as informações acima para entrar em contato.
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="js/scripts.js"></script>
|
<script src="js/scripts.js"></script>
|
||||||
@ -875,6 +933,19 @@
|
|||||||
emailB.href = 'mailto:' + email;
|
emailB.href = 'mailto:' + email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
console.log(mailto);
|
||||||
|
|
||||||
|
window.location = mailto;
|
||||||
|
}
|
||||||
|
|
||||||
function openEmail() {
|
function openEmail() {
|
||||||
const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
|
const parts = ['ricardo', '.carneiro', '@', 'jobmaker.com.br'];
|
||||||
const email = parts.join('');
|
const email = parts.join('');
|
||||||
@ -882,12 +953,24 @@
|
|||||||
const body = 'Olá,\n\nTenho interesse em saber mais sobre seus serviços de consultoria em RAG e IA.\n\nAguardo seu contato.';
|
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)}`;
|
const mailto = `mailto:${email}?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
|
||||||
window.location.href = mailto;
|
|
||||||
|
// 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function openWhatsApp() {
|
function openWhatsApp() {
|
||||||
const parts = ['5511', '9', '7079', '2602'];
|
const parts = ['5511', '9', '7079', '2602'];
|
||||||
const number = parts.join('');
|
const number = parts.join('');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user