-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
133 lines (118 loc) · 5.07 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<!-- Charset and Viewport -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Title and Meta Description -->
<title>TrustyNotes: Secure, Open-Source Notes</title>
<meta
name="description"
content="TrustyNotes is a secure, open-source note-taking app featuring end-to-end encryption, Markdown editing, cloud synchronization, and cross-platform compatibility."
/>
<!-- Favicon and Web Manifest -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<meta name="theme-color" content="#1e1e1e" />
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="TrustyNotes: Secure Note-Taking App" />
<meta
property="og:description"
content="Take notes securely with TrustyNotes. End-to-end encrypted, Markdown editor, automatic cloud sync, and cross-platform accessibility."
/>
<meta property="og:url" content="https://trustynotes.app" />
<meta
property="og:image"
content="https://raw.githubusercontent.com/toolworks-dev/trusty-notes/main/trusty-notes.png"
/>
<meta property="og:type" content="website" />
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="TrustyNotes: Secure Note-Taking App" />
<meta
name="twitter:description"
content="TrustyNotes offers end-to-end encrypted note-taking with Markdown support, cloud sync, and cross-platform compatibility."
/>
<meta
name="twitter:image"
content="https://raw.githubusercontent.com/toolworks-dev/trusty-notes/main/trusty-notes.png"
/>
<!-- Canonical URL -->
<link rel="canonical" href="https://trustynotes.app" />
<!-- Privacy Policy Link -->
<link rel="privacy-policy" href="https://raw.githubusercontent.com/toolworks-dev/trusty-notes/refs/heads/main/PRIVACY.md" />
<!-- Structured Data (Schema Markup) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "TrustyNotes",
"operatingSystem": "Cross-Platform",
"applicationCategory": "Utility",
"description": "TrustyNotes is a secure, open-source note-taking app featuring end-to-end encryption, Markdown editing, cloud synchronization, and cross-platform compatibility.",
"url": "https://trustynotes.app",
"screenshot": "https://raw.githubusercontent.com/toolworks-dev/trusty-notes/main/trusty-notes.png",
"offers": {
"@type": "Offer",
"price": "0.00",
"priceCurrency": "USD"
},
"termsOfService": {
"@type": "DigitalDocument",
"name": "Privacy Policy",
"url": "https://raw.githubusercontent.com/toolworks-dev/trusty-notes/refs/heads/main/PRIVACY.md"
}
}
</script>
<!-- Analytics -->
<script>
// Only load analytics in web mode, not in electron
if (!window.electron) {
const script = document.createElement('script');
script.defer = true;
script.dataset.domain = "trustynotes.app";
script.src = "https://plausible.toolworks.dev/js/script.js";
document.head.appendChild(script);
}
</script>
<!-- Main App Script -->
<script defer type="module" src="/src/main.tsx"></script>
<!-- PWA Meta Tags -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="TrustyNotes">
<!-- PWA Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#1e1e1e">
<!-- Register Service Worker -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/service-worker.js')
.then(registration => {
console.log('ServiceWorker registration successful');
})
.catch(err => {
console.log('ServiceWorker registration failed: ', err);
});
});
}
</script>
</head>
<body>
<!-- Root Div for React App -->
<div id="root"></div>
<!-- No-JS Fallback -->
<noscript>
<p>
TrustyNotes requires JavaScript to run. Please enable JavaScript in your browser to use this
application. View our <a href="https://raw.githubusercontent.com/toolworks-dev/trusty-notes/refs/heads/main/PRIVACY.md">Privacy Policy</a>.
</p>
</noscript>
</body>
</html>