forked from EduHaven/EduHaven
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
225 lines (199 loc) · 8.17 KB
/
index.html
File metadata and controls
225 lines (199 loc) · 8.17 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/Logo.svg" />
<link rel="stylesheet" href="https://unpkg.com/@excalidraw/excalidraw/dist/excalidraw.min.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Primary Meta Tags -->
<title>EduHaven - Premium Study Platform | Study Rooms, Focus Tools & Learning Games</title>
<meta name="title" content="EduHaven - Premium Study Platform | Study Rooms, Focus Tools & Learning Games" />
<meta name="description" content="Transform your learning experience with EduHaven. Join study rooms, use focus timers, play educational games, and collaborate with students worldwide. Boost productivity and achieve your academic goals." />
<meta name="keywords" content="study platform, online study rooms, focus timer, productivity tools, educational games, student collaboration, learning management, study groups, academic success, online education" />
<meta name="author" content="EduHaven Team" />
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
<meta name="language" content="English" />
<meta name="revisit-after" content="7 days" />
<!-- Canonical URL -->
<link rel="canonical" href="https://eduhaven.online" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://eduhaven.online" />
<meta property="og:title" content="EduHaven - Premium Study Platform | Study Rooms, Focus Tools & Learning Games" />
<meta property="og:description" content="Transform your learning experience with EduHaven. Join study rooms, use focus timers, play educational games, and collaborate with students worldwide." />
<meta property="og:image" content="https://eduhaven.online/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:site_name" content="EduHaven" />
<meta property="og:locale" content="en_US" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://eduhaven.online" />
<meta property="twitter:title" content="EduHaven - Premium Study Platform | Study Rooms, Focus Tools & Learning Games" />
<meta property="twitter:description" content="Transform your learning experience with EduHaven. Join study rooms, use focus timers, play educational games, and collaborate with students worldwide." />
<meta property="twitter:image" content="https://eduhaven.online/og-image.jpg" />
<!-- Additional SEO Meta Tags -->
<meta name="theme-color" content="#7f23ca" />
<meta name="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="EduHaven" />
<meta name="application-name" content="EduHaven" />
<meta name="msapplication-TileColor" content="#7f23ca" />
<meta name="msapplication-config" content="/browserconfig.xml" />
<!-- Favicon variations -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<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="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<link rel="mask-icon" href="/Logo.svg" color="#7f23ca" />
<!-- Additional branding for search engines -->
<meta name="application-name" content="EduHaven" />
<meta name="msapplication-TileImage" content="/Logo.svg" />
<meta name="msapplication-TileColor" content="#7f23ca" />
<meta name="theme-color" content="#7f23ca" />
<!-- Preconnect to external domains for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://unpkg.com">
<!-- Preload critical fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Inter:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<!-- Structured Data for Education Platform -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "EducationalApplication",
"name": "EduHaven",
"description": "A comprehensive study platform offering study rooms, focus tools, educational games, and collaborative learning features for students worldwide.",
"url": "https://eduhaven.online",
"applicationCategory": "EducationalApplication",
"operatingSystem": "Web Browser",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"provider": {
"@type": "Organization",
"name": "EduHaven",
"url": "https://eduhaven.online"
},
"featureList": [
"Study Rooms",
"Focus Timer",
"Educational Games",
"Goal Setting",
"Progress Tracking",
"Student Collaboration",
"Study Statistics"
],
"audience": {
"@type": "Audience",
"audienceType": "Students"
}
}
</script>
<!-- Organization Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "EduHaven",
"url": "https://eduhaven.online",
"logo": "https://eduhaven.online/Logo.svg",
"description": "Premium educational platform designed to enhance student productivity and learning outcomes.",
"sameAs": [
"https://twitter.com/eduhaven",
"https://linkedin.com/company/eduhaven",
"https://discord.gg/eduhaven"
]
}
</script>
<script>
(function () {
const storedTheme = localStorage.getItem('theme');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
// Include "light" theme in the list
const validThemes = [
'light',
'dark',
'theme-forest',
'theme-cyberpunk',
'theme-coffee',
'theme-neon-sunset',
'theme-ocean-breeze',
'theme-volcanic',
'theme-mint-dream',
'theme-rose-gold',
'theme-matrix',
'theme-lavender-fields',
'theme-midnight-blue',
'theme-peachy-keen',
'theme-creamsicle',
'theme-obsidian',
'theme-cotton-candy',
'theme-neon-jungle',
'theme-space-black',
'theme-golden-hour',
'theme-sapphire-dream',
'theme-coral-reef',
'theme-deep-purple',
'theme-arctic-mint'
];
const fallbackTheme = prefersDark ? 'dark' : 'light';
const theme = storedTheme && validThemes.includes(storedTheme)
? storedTheme
: fallbackTheme;
if (theme !== 'light') {
document.documentElement.classList.add(theme);
}
// Add smooth theme transition
document.documentElement.style.setProperty('--theme-transition', 'background-color 0.3s ease, color 0.3s ease');
})();
</script>
<style>
/* Prevent flash of unstyled content */
html {
--theme-transition: background-color 0.3s ease, color 0.3s ease; /* default to avoid flicker */
background-color: var(--bg-primary, #dfddec);
color: var(--txt, #1f2937);
transition: var(--theme-transition);
}
/* Loading state */
#root:empty::before {
content: '';
position: fixed;
top: 50%;
left: 50%;
width: 32px;
height: 32px;
margin: -16px 0 0 -16px;
border: 3px solid var(--btn, #7f23ca);
border-top-color: transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Enhanced focus styles for accessibility */
*:focus-visible {
outline: 2px solid var(--btn, #7f23ca);
outline-offset: 2px;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>