-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
85 lines (83 loc) · 3.04 KB
/
index.html
File metadata and controls
85 lines (83 loc) · 3.04 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, height=device-height, initial-scale=1"
/>
<meta
name="description"
content="Calendar application of the future generation. Organize, evolve & increase productivity in your life, connect and accomplish"
/>
<meta
name="keywords"
content="calendar, organize, productivity, utility, kanban, boards, reminders, lists, tasks, projects, friends, sticky notes, group events, sticky, notes, group, events, google, appointments, schedule, plan, connect, collaborate"
/>
<meta name="author" content="Ryan Hudson Large" />
<meta name="robots" content="index, follow" />
<meta property="og:title" content="CNG" />
<meta
property="og:description"
content="Next generation calendar application - for the organized"
/>
<meta
property="og:image"
content="https://calng.app/screenshots/calng-desktop.png"
/>
<meta property="og:url" content="https://www.calng.app" />
<meta name="twitter:title" content="CNG" />
<meta
name="twitter:description"
content="Next generation calendar application - for the organized"
/>
<meta
name="twitter:image"
content="https://calng.app/screenshots/calng-desktop.png"
/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="language" content="en" />
<meta name="al:ios:url" content="https://www.calng.app" />
<meta name="al:android:url" content="https://calng.app" />
<link rel="canonical" href="https://www.calng.app/" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="ios/180.png" sizes="180x180" />
<link
rel="mask-icon"
href="/android/android-launchericon-512-512.png"
color="#FFFFFF"
/>
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#ffffff" id="theme-color-meta" />
<title>Calendar Next Gen - next generation calendar application</title>
</head>
<script>
const updateThemeColor = () => {
const meta = document.getElementById("theme-color-meta");
if (!meta) {
console.log("Error: no meta tag element present for theme");
return;
}
const preferences = localStorage.getItem("preferences");
if (preferences) {
try {
const parsedPrefs = JSON.parse(preferences);
const darkMode = parsedPrefs.darkMode;
meta.setAttribute("content", darkMode ? "#222222" : "#FFFFFF");
} catch (err) {
console.log(`Could not parse storage. Error: ${err}`);
}
}
};
document.addEventListener("DOMContentLoaded", updateThemeColor);
</script>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script
async
defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDiuGgH0ZJmVHBCrTqdMKv5Qon5WJ4eKVk&libraries=places&loading=async"
></script>
</body>
</html>