-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
237 lines (218 loc) · 18.5 KB
/
index.html
File metadata and controls
237 lines (218 loc) · 18.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bruno Anderson - Desenvolvedor</title>
<script src="/_sdk/element_sdk.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body {
box-sizing: border-box;
}
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.social-icon {
transition: all 0.3s ease;
}
.social-icon:hover {
transform: scale(1.1);
}
</style>
<style>@view-transition { navigation: auto; }</style>
<script src="/_sdk/data_sdk.js" type="text/javascript"></script>
</head>
<body class="min-h-full bg-gray-50">
<main class="min-h-full"><!-- Hero Section -->
<section class="gradient-bg text-white py-20 px-6">
<div class="max-w-4xl mx-auto text-center">
<div class="mb-8">
<div class="w-32 h-32 mx-auto mb-6 bg-white rounded-full flex items-center justify-center shadow-lg">
<svg class="w-16 h-16 text-indigo-600" fill="currentColor" viewbox="0 0 24 24"><path d="M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2ZM21 9V7L15 1H5C3.89 1 3 1.89 3 3V21C3 22.11 3.89 23 5 23H19C20.11 23 21 22.11 21 21V9M19 21H5V3H13V9H19Z" />
</svg>
</div>
<h1 id="main-title" class="text-5xl font-bold mb-4">Bruno Anderson</h1>
<p id="subtitle" class="text-2xl font-light mb-6">Desenvolvedor de Apps e Sites</p>
<p id="description" class="text-lg opacity-90 max-w-2xl mx-auto">Desenvolvimento de aplicativos e sites para empresas do Brasil com tecnologia moderna e design profissional</p>
</div>
<div class="flex flex-wrap justify-center gap-4 mt-8"><button id="whatsapp-btn" class="bg-green-500 hover:bg-green-600 text-white px-8 py-3 rounded-full font-semibold flex items-center gap-2 transition-all duration-300 card-hover">
<svg class="w-5 h-5" fill="currentColor" viewbox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.890-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.516" />
</svg> WhatsApp </button> <button id="email-btn" class="bg-blue-500 hover:bg-blue-600 text-white px-8 py-3 rounded-full font-semibold flex items-center gap-2 transition-all duration-300 card-hover">
<svg class="w-5 h-5" fill="currentColor" viewbox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z" />
</svg> Email </button>
</div>
</div>
</section><!-- Services Section -->
<section class="py-16 px-6 bg-white">
<div class="max-w-6xl mx-auto">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-12">Meus Serviços</h2>
<div class="grid md:grid-cols-2 gap-8">
<div class="bg-gradient-to-br from-blue-50 to-indigo-100 p-8 rounded-2xl card-hover">
<div class="w-16 h-16 bg-blue-500 rounded-lg flex items-center justify-center mb-6">
<svg class="w-8 h-8 text-white" fill="currentColor" viewbox="0 0 24 24"><path d="M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zM7 4V3h10v1H7zm0 14V6h10v12H7z" />
</svg>
</div>
<h3 class="text-2xl font-bold text-gray-800 mb-4">Desenvolvimento de Apps</h3>
<p class="text-gray-600">Aplicativos móveis modernos e funcionais para iOS e Android, desenvolvidos com as melhores tecnologias do mercado.</p>
</div>
<div class="bg-gradient-to-br from-purple-50 to-pink-100 p-8 rounded-2xl card-hover">
<div class="w-16 h-16 bg-purple-500 rounded-lg flex items-center justify-center mb-6">
<svg class="w-8 h-8 text-white" fill="currentColor" viewbox="0 0 24 24"><path d="M20 3H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4l-1 3v1h1l.75-3h4.5l.75 3h1v-1l-1-3h4c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2zm0 13H4V5h16v11z" />
</svg>
</div>
<h3 class="text-2xl font-bold text-gray-800 mb-4">Desenvolvimento de Sites</h3>
<p class="text-gray-600">Sites responsivos e otimizados para empresas, com design moderno e foco na experiência do usuário.</p>
</div>
</div>
</div>
</section><!-- Contact Section -->
<section class="py-16 px-6 bg-gray-100">
<div class="max-w-4xl mx-auto text-center">
<h2 class="text-4xl font-bold text-gray-800 mb-8">Entre em Contato</h2>
<p class="text-xl text-gray-600 mb-12">Pronto para transformar sua ideia em realidade? Vamos conversar!</p>
<div class="grid md:grid-cols-2 gap-8 mb-12">
<div class="bg-white p-8 rounded-2xl shadow-lg card-hover">
<div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-white" fill="currentColor" viewbox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.890-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.516" />
</svg>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">WhatsApp</h3>
<p id="whatsapp-display" class="text-gray-600 mb-4">91991572654</p><button id="whatsapp-message-btn" class="bg-green-500 hover:bg-green-600 text-white px-6 py-2 rounded-full font-semibold transition-all duration-300"> Enviar Mensagem </button>
</div>
<div class="bg-white p-8 rounded-2xl shadow-lg card-hover">
<div class="w-16 h-16 bg-blue-500 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-white" fill="currentColor" viewbox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z" />
</svg>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Email</h3>
<p id="email-display" class="text-gray-600 mb-4">brtecnologia7.0@gmail.com</p><button id="email-message-btn" class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-full font-semibold transition-all duration-300"> Enviar Email </button>
</div>
</div>
</div>
</section><!-- Social Media Section -->
<section class="py-16 px-6 bg-white">
<div class="max-w-4xl mx-auto text-center">
<h2 class="text-4xl font-bold text-gray-800 mb-8">Redes Sociais</h2>
<p class="text-xl text-gray-600 mb-12">Acompanhe meu trabalho e novidades</p>
<div class="flex flex-wrap justify-center gap-6"><a href="#" target="_blank" rel="noopener noreferrer" class="social-icon bg-red-500 hover:bg-red-600 text-white p-4 rounded-full transition-all duration-300 flex items-center gap-3">
<svg class="w-6 h-6" fill="currentColor" viewbox="0 0 24 24"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
</svg><span class="font-semibold">YouTube</span> </a> <a href="#" target="_blank" rel="noopener noreferrer" class="social-icon bg-blue-600 hover:bg-blue-700 text-white p-4 rounded-full transition-all duration-300 flex items-center gap-3">
<svg class="w-6 h-6" fill="currentColor" viewbox="0 0 24 24"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" />
</svg><span class="font-semibold">Facebook</span> </a> <a href="#" target="_blank" rel="noopener noreferrer" class="social-icon bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white p-4 rounded-full transition-all duration-300 flex items-center gap-3">
<svg class="w-6 h-6" fill="currentColor" viewbox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" />
</svg><span class="font-semibold">Instagram</span> </a> <a href="#" target="_blank" rel="noopener noreferrer" class="social-icon bg-black hover:bg-gray-800 text-white p-4 rounded-full transition-all duration-300 flex items-center gap-3">
<svg class="w-6 h-6" fill="currentColor" viewbox="0 0 24 24"><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z" />
</svg><span class="font-semibold">TikTok</span> </a>
</div>
</div>
</section>
</main><!-- Footer -->
<footer class="bg-gray-800 text-white py-8 px-6">
<div class="max-w-4xl mx-auto text-center">
<p id="footer-text" class="text-gray-300">© 2024 Bruno Anderson - Todos os direitos reservados</p>
</div>
</footer>
<script>
const defaultConfig = {
main_title: "Bruno Anderson",
subtitle: "Desenvolvedor de Apps e Sites",
description: "Desenvolvimento de aplicativos e sites para empresas do Brasil com tecnologia moderna e design profissional",
whatsapp_number: "91991572654",
email_address: "brtecnologia7.0@gmail.com",
footer_text: "© 2024 Bruno Anderson - Todos os direitos reservados"
};
async function render(config) {
document.getElementById('main-title').textContent = config.main_title || defaultConfig.main_title;
document.getElementById('subtitle').textContent = config.subtitle || defaultConfig.subtitle;
document.getElementById('description').textContent = config.description || defaultConfig.description;
document.getElementById('whatsapp-display').textContent = config.whatsapp_number || defaultConfig.whatsapp_number;
document.getElementById('email-display').textContent = config.email_address || defaultConfig.email_address;
document.getElementById('footer-text').textContent = config.footer_text || defaultConfig.footer_text;
}
function mapToCapabilities(config) {
return {
recolorables: [],
borderables: [],
fontEditable: undefined,
fontSizeable: undefined
};
}
function mapToEditPanelValues(config) {
return new Map([
["main_title", config.main_title || defaultConfig.main_title],
["subtitle", config.subtitle || defaultConfig.subtitle],
["description", config.description || defaultConfig.description],
["whatsapp_number", config.whatsapp_number || defaultConfig.whatsapp_number],
["email_address", config.email_address || defaultConfig.email_address],
["footer_text", config.footer_text || defaultConfig.footer_text]
]);
}
// Contact functionality
function setupContactButtons() {
const whatsappBtn = document.getElementById('whatsapp-btn');
const emailBtn = document.getElementById('email-btn');
const whatsappMessageBtn = document.getElementById('whatsapp-message-btn');
const emailMessageBtn = document.getElementById('email-message-btn');
function getWhatsAppNumber() {
return window.elementSdk ?
(window.elementSdk.config.whatsapp_number || defaultConfig.whatsapp_number) :
defaultConfig.whatsapp_number;
}
function getEmailAddress() {
return window.elementSdk ?
(window.elementSdk.config.email_address || defaultConfig.email_address) :
defaultConfig.email_address;
}
whatsappBtn.addEventListener('click', () => {
const number = getWhatsAppNumber();
const message = encodeURIComponent('Olá Bruno! Gostaria de saber mais sobre seus serviços de desenvolvimento.');
window.open(`https://wa.me/55${number}?text=${message}`, '_blank', 'noopener,noreferrer');
});
emailBtn.addEventListener('click', () => {
const email = getEmailAddress();
const subject = encodeURIComponent('Interesse em Serviços de Desenvolvimento');
const body = encodeURIComponent('Olá Bruno,\n\nGostaria de saber mais sobre seus serviços de desenvolvimento de aplicativos e sites.\n\nAguardo seu contato.\n\nObrigado!');
window.open(`mailto:${email}?subject=${subject}&body=${body}`, '_blank', 'noopener,noreferrer');
});
whatsappMessageBtn.addEventListener('click', () => {
const number = getWhatsAppNumber();
const message = encodeURIComponent('Olá Bruno! Tenho interesse em contratar seus serviços. Podemos conversar?');
window.open(`https://wa.me/55${number}?text=${message}`, '_blank', 'noopener,noreferrer');
});
emailMessageBtn.addEventListener('click', () => {
const email = getEmailAddress();
const subject = encodeURIComponent('Solicitação de Orçamento - Desenvolvimento');
const body = encodeURIComponent('Olá Bruno,\n\nTenho interesse em seus serviços de desenvolvimento. Gostaria de solicitar um orçamento para meu projeto.\n\nPodemos agendar uma conversa?\n\nObrigado!');
window.open(`mailto:${email}?subject=${subject}&body=${body}`, '_blank', 'noopener,noreferrer');
});
}
// Initialize
document.addEventListener('DOMContentLoaded', () => {
setupContactButtons();
if (window.elementSdk) {
window.elementSdk.init({
defaultConfig,
render,
mapToCapabilities,
mapToEditPanelValues
});
}
});
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9922c86c772ec02a',t:'MTc2MTA3MDk3My4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>