-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
228 lines (217 loc) · 7.27 KB
/
index.html
File metadata and controls
228 lines (217 loc) · 7.27 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=5.0"
/>
<!-- Favicon y configuración de iconos -->
<link rel="icon" type="image/svg+xml" href="/icons/favicon.svg" />
<link rel="mask-icon" href="/icons/favicon.svg" color="#3b82f6" />
<link rel="shortcut icon" href="/icons/favicon.svg" />
<link rel="apple-touch-icon" href="/icons/favicon.svg" />
<!-- PWA soporte -->
<link rel="manifest" href="/site.webmanifest" />
<meta
name="theme-color"
content="#ffffff"
media="(prefers-color-scheme: light)"
/>
<meta
name="theme-color"
content="#1a1a1a"
media="(prefers-color-scheme: dark)"
/>
<meta name="application-name" content="Clean Notes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="Clean Notes" />
<meta name="format-detection" content="telephone=no" />
<meta name="mobile-web-app-capable" content="yes" />
<!-- Precargar recursos críticos -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
/>
<noscript
><link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
/></noscript>
<!-- Título y descripción principal -->
<title>Clean Notes - Organiza tus ideas con Markdown</title>
<meta
name="description"
content="Toma notas con formato Markdown, organiza en libros, sincroniza entre dispositivos y mejora tu productividad con Clean Notes, la app minimalista para tus ideas."
/>
<!-- Metadatos para SEO mejorados -->
<meta
name="keywords"
content="notas, markdown, organización, productividad, libros de notas, editor de texto, sincronización, minimalista"
/>
<meta name="author" content="Omar Flores Salazar" />
<link rel="canonical" href="https://cleanotes.netlify.app/" />
<meta name="robots" content="index, follow" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://cleanotes.netlify.app/" />
<meta
property="og:title"
content="Clean Notes - Organiza tus ideas con Markdown"
/>
<meta
property="og:description"
content="Toma notas con formato Markdown, organiza en libros y mejora tu productividad con esta app minimalista para tus ideas."
/>
<meta
property="og:image"
content="https://cleanotes.netlify.app/icons/favicon.svg"
/>
<meta property="og:image:alt" content="Logo de Clean Notes" />
<meta property="og:locale" content="es_ES" />
<meta property="og:locale:alternate" content="en_US" />
<meta property="og:site_name" content="Clean Notes" />
<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:url" content="https://cleanotes.netlify.app/" />
<meta
name="twitter:title"
content="Clean Notes - Organiza tus ideas con Markdown"
/>
<meta
name="twitter:description"
content="Toma notas con formato Markdown, organiza en libros y mejora tu productividad con esta app minimalista para tus ideas."
/>
<meta
name="twitter:image"
content="https://cleanotes.netlify.app/icons/favicon.svg"
/>
<meta name="twitter:creator" content="@tuusuario" />
<!-- Schema.org para Google -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Clean Notes",
"url": "https://cleanotes.netlify.app/",
"description": "Toma notas con formato Markdown, organiza en libros y mejora tu productividad",
"applicationCategory": "Productivity",
"operatingSystem": "Cross-platform",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "EUR"
},
"author": {
"@type": "Person",
"name": "Omar Flores Salazar"
}
}
</script>
<!-- Estilos críticos inline para mejorar LCP y CLS -->
<style>
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, sans-serif;
transition: background-color 0.3s ease;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.app-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
background-color: #f9fafb;
transition: background-color 0.3s ease;
}
.app-loading svg {
margin-bottom: 16px;
}
.app-loading p {
font-size: 16px;
font-weight: 500;
color: #4b5563;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1a1a1a;
color: #f5f5f5;
}
.app-loading {
background-color: #1a1a1a;
}
.app-loading p {
color: #e5e7eb;
}
}
</style>
<!-- Service Worker para PWA -->
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker.register("/sw.js").then(
function (registration) {
console.log(
"ServiceWorker registrado exitosamente con alcance: ",
registration.scope
);
},
function (err) {
console.log("El registro de ServiceWorker falló: ", err);
}
);
});
}
</script>
<script type="module" src="/src/main.tsx" defer></script>
</head>
<body>
<div id="root">
<!-- Contenido de carga inicial mejorado para buen FCP -->
<div class="app-loading">
<svg
width="64"
height="64"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 4V2M12 22v-2M4 12H2M22 12h-2M6.34 6.34L4.93 4.93M19.07 19.07l-1.41-1.41M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"
stroke="#3b82f6"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<animateTransform
attributeName="transform"
type="rotate"
from="0 12 12"
to="360 12 12"
dur="1s"
repeatCount="indefinite"
/>
</path>
</svg>
<p>Cargando Clean Notes...</p>
<noscript>
<p>
Clean Notes requiere JavaScript para funcionar. Por favor, habilita
JavaScript en tu navegador.
</p>
</noscript>
</div>
</div>
</body>
</html>