-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
268 lines (238 loc) · 9.83 KB
/
Copy pathindex.html
File metadata and controls
268 lines (238 loc) · 9.83 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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bernardo Gomes — Frontend, automação e Linux</title>
<meta name="description"
content="Engenheiro de frontend, criador de automações e estudante de Medicina construindo produtos refinados para web, Linux e fluxos de trabalho em saúde." />
<meta name="keywords"
content="frontend engineer, automação, react, typescript, linux, python, fastapi, portfolio, healthcare workflows, open source" />
<meta name="author" content="Bernardo Gomes" />
<meta name="robots" content="index, follow" />
<meta name="publisher" content="Bernardo Gomes" />
<!-- Google Search Console Verification -->
<meta name="google-site-verification" content="j_g4wXgqn7ADhS1F_fHzZyaUGaLu8AZv_OpSgZaGlUc" />
<!-- Canonical URL -->
<link rel="canonical" href="https://bebitterbebetter.com.br/" />
<!-- Hreflang for internationalization -->
<link rel="alternate" hreflang="pt-br" href="https://bebitterbebetter.com.br/" />
<link rel="alternate" hreflang="en" href="https://bebitterbebetter.com.br/?lang=en" />
<link rel="alternate" hreflang="x-default" href="https://bebitterbebetter.com.br/" />
<!-- Favicon and App Icons -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="/images/icons/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/images/icons/favicon-32x32.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/icons/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<!-- Feed RSS do blog -->
<link rel="alternate" type="application/rss+xml" title="Blog — Bernardo Gomes" href="https://bebitterbebetter.com.br/feed.xml" />
<!-- Performance Optimizations -->
<!-- Preconnect to critical origins -->
<link rel="preconnect" href="https://avatars.githubusercontent.com" crossorigin />
<!-- DNS prefetch for analytics (non-blocking) -->
<link rel="dns-prefetch" href="//www.googletagmanager.com" />
<!-- Critical CSS - Inlined for immediate rendering -->
<style>
/* Critical CSS for above-the-fold content */
*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb
}
::before,
::after {
--tw-content: ''
}
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
tab-size: 4;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal
}
body {
margin: 0;
line-height: inherit
}
#root {
min-height: 100vh
}
/* CSS Variables for theming */
:root {
--background: 240 33% 99%;
--foreground: 224 47% 9%;
--primary: 262 83% 58%;
--primary-foreground: 0 0% 100%;
--radius: 0.85rem;
}
.dark {
--background: 226 42% 6%;
--foreground: 220 30% 96%;
}
/* Prevent layout shift */
body {
background-color: hsl(var(--background));
color: hsl(var(--foreground));
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Loading state */
#root:empty::before {
content: '';
position: fixed;
top: 50%;
left: 50%;
width: 48px;
height: 48px;
margin: -24px 0 0 -24px;
border: 4px solid hsl(var(--primary)/0.2);
border-top-color: hsl(var(--primary));
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg)
}
}
</style>
<!-- Let Vite handle injecting modulepreload links at build time to avoid stale hashes -->
<!-- Optional: the router will code-split; avoid manual prefetch to keep initial network quiet -->
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="Bernardo Gomes — Frontend, automação e Linux" />
<meta property="og:description"
content="Engenheiro de frontend, criador de automações e estudante de Medicina construindo produtos refinados para web, Linux e fluxos de trabalho em saúde." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://bebitterbebetter.com.br" />
<meta property="og:image" content="https://bebitterbebetter.com.br/images/og/home.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Bernardo Gomes — Frontend, automação e Linux" />
<meta property="og:site_name" content="BeBitter" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="article:author" content="Bernardo Gomes" />
<meta name="theme-color" content="#7c3aed" />
<meta name="color-scheme" content="dark light" />
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Bernardo Gomes — Frontend, automação e Linux" />
<meta name="twitter:description"
content="Engenheiro de frontend, criador de automações e estudante de Medicina construindo produtos refinados para web, Linux e fluxos de trabalho em saúde." />
<meta name="twitter:image" content="https://bebitterbebetter.com.br/images/og/home.png" />
<meta name="twitter:image:alt" content="Bernardo Gomes — Frontend, automação e Linux" />
<meta name="twitter:site" content="@cooldeflecha" />
<meta name="twitter:creator" content="@cooldeflecha" />
<!-- Structured Data (JSON-LD) Person -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Bernardo Gomes",
"jobTitle": "Frontend Engineer",
"description": "Engenheiro de frontend, criador de automações e estudante de Medicina construindo produtos refinados para web, Linux e fluxos de trabalho em saúde.",
"url": "https://bebitterbebetter.com.br",
"email": "bernardo.gomes@bebitterbebetter.com.br",
"telephone": "+55-31-98491-6431",
"sameAs": [
"https://github.com/bernardopg",
"https://www.linkedin.com/in/bernardopg/",
"https://instagram.com/be.pgomes",
"https://x.com/cooldeflecha",
"https://vm.tiktok.com/ZMjE479hG",
"https://bznkng9.wordpress.com"
],
"address": {
"@type": "PostalAddress",
"addressLocality": "Belo Horizonte",
"addressRegion": "MG",
"addressCountry": "BR"
},
"worksFor": {
"@type": "Organization",
"name": "BeBitter & BeBetter"
},
"alumniOf": {
"@type": "EducationalOrganization",
"name": "Ciências Medicas de Minas Gerais"
}
}
</script>
<!-- Structured Data (JSON-LD) WebSite -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "BeBitter",
"url": "<%= VITE_SITE_URL %>",
"potentialAction": {
"@type": "SearchAction",
"target": "<%= VITE_SITE_URL %>/?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- Service Worker Cleanup Script for Development -->
<script>
// This script runs only in development to prevent service worker conflicts.
// A lingering service worker can cause "module script" MIME type errors with Vite.
if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1' || window.location.port === '8080') {
if ('serviceWorker' in navigator) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
if (registrations.length > 0) {
console.log('🧹 Development mode: Clearing service workers...');
let unregistered = false;
for (let registration of registrations) {
registration.unregister();
unregistered = true;
}
if (unregistered) {
// Reload the page to ensure the service worker is no longer in control.
console.log('✅ Service workers cleared. Reloading page...');
window.location.reload();
}
}
}).catch(function (err) {
console.error('Service worker cleanup failed:', err);
});
}
}
</script>
<!-- Resource Hints para melhor performance -->
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Brand webfonts: Sora (display) + Inter (body). Carga assíncrona
(media=print até onload) para não bloquear o primeiro render;
display=swap garante texto visível com fonte de sistema enquanto isso. -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap"
media="print"
onload="this.media='all'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap"
/>
</noscript>
<!-- Google tag (gtag.js) via env -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= VITE_GA_TRACKING_ID %>"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
// Do not call gtag('config', ...) here; handled in Analytics.tsx
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>