-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
417 lines (381 loc) · 23.3 KB
/
index.html
File metadata and controls
417 lines (381 loc) · 23.3 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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-Office | Digital Administration</title>
<script src="https://cdn.tailwindcss.com"></script>
<link
href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
heading: ['Outfit', 'sans-serif'],
},
colors: {
charcoal: '#1F2933',
softgray: '#F5F7FA',
emerald: {
50: '#ECFDF5',
100: '#D1FAE5',
400: '#34D399',
500: '#10B981',
600: '#059669',
},
amber: {
50: '#FFFBEB',
500: '#F59E0B',
600: '#D97706',
}
},
animation: {
'fade-in-up': 'fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards',
},
keyframes: {
fadeInUp: {
'0%': { opacity: 0, transform: 'translateY(20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
}
}
}
}
}
</script>
<style>
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #E5E7EB;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #D1D5DB;
}
.delay-100 {
animation-delay: 100ms;
}
.delay-200 {
animation-delay: 200ms;
}
.delay-300 {
animation-delay: 300ms;
}
.glass-card {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.5);
}
</style>
</head>
<body class="bg-softgray text-charcoal antialiased overflow-x-hidden">
<!-- Header -->
<header
class="fixed w-full top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-100/60 transition-all duration-300 shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-20 flex items-center justify-between pointer-events-auto">
<div class="flex items-center gap-3 group cursor-pointer" onclick="window.scrollTo(0,0)">
<div
class="w-10 h-10 rounded-xl bg-charcoal flex items-center justify-center shadow-lg group-hover:rotate-6 transition-transform duration-300">
<i class="fas fa-layer-group text-white text-lg"></i>
</div>
<span class="font-heading font-bold text-2xl text-charcoal tracking-wide">E-Office</span>
</div>
<button onclick="openSidebar()"
class="group flex items-center gap-2 bg-emerald-500 text-white px-6 py-2.5 rounded-full font-medium transition-all duration-300 shadow-[0_4px_14px_0_rgba(16,185,129,0.3)] hover:shadow-[0_6px_20px_rgba(16,185,129,0.4)] hover:-translate-y-0.5 pointer-events-auto">
<i class="fas fa-lock text-sm group-hover:scale-110 transition-transform"></i> Login
</button>
</div>
</header>
<!-- Main Content -->
<main class="min-h-screen pt-20">
<!-- Hero Section -->
<section class="relative w-full h-[65vh] flex items-center justify-center overflow-hidden">
<!-- Background Image -->
<div class="absolute inset-0 z-0">
<img src="https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80"
alt="Office Background" class="w-full h-full object-cover">
<!-- Overlay Gradients -->
<div class="absolute inset-0 bg-charcoal/70 mix-blend-multiply"></div>
<div class="absolute inset-0 bg-gradient-to-t from-softgray via-transparent to-transparent"></div>
</div>
<!-- Hero Content -->
<div class="relative z-10 text-center px-4 max-w-4xl mx-auto">
<div
class="inline-block px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-md border border-white/20 text-white/90 text-sm font-medium mb-6 animate-fade-in-up">
<i class="fas fa-star text-amber-400 mr-2 border-r border-white/20 pr-2"></i> Modern Digital
Administration
</div>
<h1
class="font-heading text-5xl md:text-7xl lg:text-8xl font-bold text-white mb-6 tracking-tight animate-fade-in-up delay-100 leading-tight">
Seamless <span class="text-emerald-400 relative inline-block">Workflow<svg
class="absolute w-full h-3 -bottom-1 left-0 text-emerald-400/30" viewBox="0 0 100 20"
preserveAspectRatio="none">
<path d="M0,10 Q50,20 100,10" stroke="currentColor" stroke-width="8" fill="none" />
</svg></span>
</h1>
<p
class="text-gray-200 text-lg md:text-xl max-w-2xl mx-auto font-light leading-relaxed animate-fade-in-up delay-200">
A centralized hub to track requests, access resources, and enhance organizational transparency with
style and efficiency.
</p>
<div class="mt-10 animate-fade-in-up delay-300">
<button onclick="openSidebar()"
class="bg-white text-charcoal px-8 py-3.5 rounded-full font-semibold hover:bg-gray-50 transition-all duration-300 shadow-xl hover:-translate-y-1 hover:shadow-2xl flex items-center justify-center gap-2 mx-auto">
Explore Portals <i class="fas fa-arrow-right text-emerald-500"></i>
</button>
</div>
</div>
</section>
<!-- About Section -->
<section class="relative z-20 max-w-5xl mx-auto px-4 -mt-16 mb-24 pb-12">
<div
class="glass-card rounded-3xl shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)] p-8 md:p-12 animate-fade-in-up delay-300">
<div class="grid md:grid-cols-12 gap-12 items-center">
<!-- Left: Header & Badges -->
<div class="md:col-span-4">
<div
class="w-14 h-14 rounded-2xl bg-charcoal flex items-center justify-center text-white mb-6 shadow-xl shadow-gray-900/20">
<i class="fas fa-info-circle text-2xl"></i>
</div>
<h2
class="font-heading text-3xl md:text-4xl font-bold text-charcoal leading-tight mb-4 tracking-tight">
About <br><span class="text-emerald-500">E-Office</span>
</h2>
<div class="flex flex-col gap-3 mt-6">
<div
class="flex items-center gap-3 text-sm font-medium text-gray-600 bg-white shadow-sm px-4 py-3 rounded-xl border border-gray-100 hover:-translate-y-0.5 transition-transform duration-200 cursor-default">
<i class="fas fa-check-circle text-emerald-500"></i> Document Handling
</div>
<div
class="flex items-center gap-3 text-sm font-medium text-gray-600 bg-white shadow-sm px-4 py-3 rounded-xl border border-gray-100 hover:-translate-y-0.5 transition-transform duration-200 cursor-default">
<i class="fas fa-check-circle text-amber-500"></i> Workflow Management
</div>
<div
class="flex items-center gap-3 text-sm font-medium text-gray-600 bg-white shadow-sm px-4 py-3 rounded-xl border border-gray-100 hover:-translate-y-0.5 transition-transform duration-200 cursor-default">
<i class="fas fa-check-circle text-charcoal"></i> Enhanced Transparency
</div>
</div>
</div>
<!-- Right: Content -->
<div class="md:col-span-8">
<div class="space-y-6 text-gray-600 text-[1.05rem] leading-relaxed font-light">
<p
class="first-letter:text-5xl first-letter:font-heading first-letter:font-bold first-letter:text-charcoal first-letter:mr-2 first-letter:float-left first-letter:shadow-sm">
The E-Office platform represents a modern approach to digital administration and
workflow management. It simplifies document handling, improves transparency, and enables
efficient coordination across departments and users.
</p>
<p>
Through an integrated digital system, the platform provides easy access to important
services such as document processing, administrative requests, and information
management.
</p>
<p>
The portal acts as a centralized hub where users can access services, track requests,
and interact with various administrative modules in a streamlined and user-friendly
environment.
</p>
<div class="pt-6 mt-2 border-t border-gray-100">
<p
class="font-medium text-charcoal italic border-l-4 border-amber-400 pl-4 py-1.5 bg-amber-50/50 rounded-r-lg">
Select a portal from the menu to access the available services and resources.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Sidebar Overlay -->
<div id="sidebarOverlay"
class="fixed inset-0 bg-charcoal/30 backdrop-blur-sm z-40 opacity-0 pointer-events-none transition-opacity duration-400 ease-in-out">
</div>
<!-- Sidebar Drawer -->
<aside id="sidebar"
class="fixed top-0 right-0 h-full w-full max-w-md bg-softgray shadow-[-20px_0_40px_rgba(0,0,0,0.1)] z-50 transform translate-x-full transition-transform duration-500 cubic-bezier(0.16, 1, 0.3, 1) flex flex-col">
<!-- Sidebar Header -->
<div
class="px-6 py-8 bg-white border-b border-gray-100 flex items-center justify-between relative z-10 shrink-0">
<div>
<h3 class="font-heading text-3xl font-bold text-charcoal tracking-tight">Login Portals</h3>
<p class="text-sm text-gray-500 mt-1 font-medium">Select a module to continue</p>
</div>
<button onclick="closeSidebar()"
class="w-10 h-10 flex items-center justify-center rounded-full bg-gray-50 text-gray-400 hover:text-charcoal hover:bg-gray-100 border border-gray-200 transition-all duration-200 active:scale-95">
<i class="fas fa-times text-lg"></i>
</button>
</div>
<!-- Sidebar Content -->
<div class="flex-1 overflow-y-auto p-6 space-y-4 custom-scrollbar relative">
<!-- Student Portal -->
<a href="public/index.php?action=login" onclick="setRole('student')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-amber-400 hover:shadow-[0_8px_20px_-6px_rgba(245,158,11,0.15)] transition-all duration-300 relative overflow-hidden">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-amber-50 flex items-center justify-center text-amber-500 group-hover:bg-amber-500 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-graduation-cap text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4 class="font-heading font-bold text-charcoal text-lg">Student Portal</h4>
<p class="text-sm text-gray-500">Access academic records</p>
</div>
<i
class="fas fa-chevron-right text-gray-300 group-hover:text-amber-500 group-hover:translate-x-1 transition-all z-10"></i>
</a>
<!-- Faculty Portal -->
<a href="public/index.php?action=login" onclick="setRole('teacher')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-charcoal hover:shadow-[0_8px_20px_-6px_rgba(31,41,51,0.15)] transition-all duration-300 relative overflow-hidden">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-gray-100 flex items-center justify-center text-charcoal group-hover:bg-charcoal group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-chalkboard-user text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4 class="font-heading font-bold text-charcoal text-lg">Faculty Portal</h4>
<p class="text-sm text-gray-500">Faculty workflow system</p>
</div>
<i
class="fas fa-chevron-right text-gray-300 group-hover:text-charcoal group-hover:translate-x-1 transition-all z-10"></i>
</a>
<!-- HOD Portal -->
<a href="public/index.php?action=login" onclick="setRole('hod')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-emerald-500 hover:shadow-[0_8px_20px_-6px_rgba(16,185,129,0.15)] transition-all duration-300 relative overflow-hidden">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-emerald-50 flex items-center justify-center text-emerald-500 group-hover:bg-emerald-500 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-sitemap text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4 class="font-heading font-bold text-charcoal text-lg">HOD Portal</h4>
<p class="text-sm text-gray-500">Department approvals & management</p>
</div>
<i
class="fas fa-chevron-right text-gray-300 group-hover:text-emerald-500 group-hover:translate-x-1 transition-all z-10"></i>
</a>
<!-- Principal Portal -->
<a href="public/index.php?action=login" onclick="setRole('principal')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-purple-500 hover:shadow-[0_8px_20px_-6px_rgba(168,85,247,0.15)] transition-all duration-300 relative overflow-hidden">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-purple-50 flex items-center justify-center text-purple-600 group-hover:bg-purple-600 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-user-tie text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4 class="font-heading font-bold text-charcoal text-lg">Principal Portal</h4>
<p class="text-sm text-gray-500">Leadership & final approvals</p>
</div>
<i
class="fas fa-chevron-right text-gray-300 group-hover:text-purple-600 group-hover:translate-x-1 transition-all z-10"></i>
</a>
<!-- Admin Portal -->
<a href="public/index.php?action=login" onclick="setRole('admin')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-emerald-500 hover:shadow-[0_8px_20px_-6px_rgba(16,185,129,0.15)] transition-all duration-300 relative overflow-hidden">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-emerald-50 flex items-center justify-center text-emerald-500 group-hover:bg-emerald-500 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-users-cog text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4 class="font-heading font-bold text-charcoal text-lg">Admin Portal</h4>
<p class="text-sm text-gray-500">Administrative tools</p>
</div>
<i
class="fas fa-chevron-right text-gray-300 group-hover:text-emerald-500 group-hover:translate-x-1 transition-all z-10"></i>
</a>
<!-- Parent Portal -->
<a href="public/index.php?action=login" onclick="setRole('parent')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-charcoal hover:shadow-[0_8px_20px_-6px_rgba(31,41,51,0.15)] transition-all duration-300 relative overflow-hidden border-dashed">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-charcoal group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-user-friends text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4
class="font-heading font-bold text-gray-700 text-lg group-hover:text-charcoal transition-colors">
Parent Portal</h4>
<p class="text-sm text-gray-500">Track student progress</p>
</div>
<span
class="text-[10px] font-bold uppercase tracking-wider bg-gray-100 text-gray-500 px-2 py-1 rounded">Soon</span>
</a>
<!-- Alumni Portal -->
<a href="public/index.php?action=login" onclick="setRole('alumni')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-amber-400 hover:shadow-[0_8px_20px_-6px_rgba(245,158,11,0.15)] transition-all duration-300 relative overflow-hidden border-dashed">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-amber-500 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-network-wired text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4
class="font-heading font-bold text-gray-700 text-lg group-hover:text-charcoal transition-colors">
Alumni Portal</h4>
<p class="text-sm text-gray-500">Connect & inspire</p>
</div>
<span
class="text-[10px] font-bold uppercase tracking-wider bg-gray-100 text-gray-500 px-2 py-1 rounded">Soon</span>
</a>
<!-- Research Portal -->
<a href="public/index.php?action=login" onclick="setRole('research')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-emerald-500 hover:shadow-[0_8px_20px_-6px_rgba(16,185,129,0.15)] transition-all duration-300 relative overflow-hidden border-dashed">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-emerald-500 group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-flask text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4
class="font-heading font-bold text-gray-700 text-lg group-hover:text-charcoal transition-colors">
Research Portal</h4>
<p class="text-sm text-gray-500">Research & publications</p>
</div>
<span
class="text-[10px] font-bold uppercase tracking-wider bg-gray-100 text-gray-500 px-2 py-1 rounded">Soon</span>
</a>
<!-- Private Cloud -->
<a href="public/index.php?action=login" onclick="setRole('cloud')"
class="group flex items-center p-4 bg-white border border-gray-100 rounded-2xl hover:border-charcoal hover:shadow-[0_8px_20px_-6px_rgba(31,41,51,0.15)] transition-all duration-300 relative overflow-hidden border-dashed mb-8">
<div
class="flex-shrink-0 w-12 h-12 rounded-xl bg-gray-50 flex items-center justify-center text-gray-400 group-hover:bg-charcoal group-hover:text-white transition-all duration-300 z-10">
<i class="fas fa-cloud text-xl"></i>
</div>
<div class="ml-4 flex-1 z-10">
<h4
class="font-heading font-bold text-gray-700 text-lg group-hover:text-charcoal transition-colors">
Private Cloud</h4>
<p class="text-sm text-gray-500">Access secure resources</p>
</div>
<span
class="text-[10px] font-bold uppercase tracking-wider bg-gray-100 text-gray-500 px-2 py-1 rounded">Soon</span>
</a>
</div>
</aside>
<script>
const sidebar = document.getElementById('sidebar');
const overlay = document.getElementById('sidebarOverlay');
function openSidebar() {
sidebar.classList.remove('translate-x-full');
overlay.classList.remove('opacity-0', 'pointer-events-none');
overlay.classList.add('opacity-100', 'pointer-events-auto');
document.body.style.overflow = 'hidden';
}
function closeSidebar() {
sidebar.classList.add('translate-x-full');
overlay.classList.remove('opacity-100', 'pointer-events-auto');
overlay.classList.add('opacity-0', 'pointer-events-none');
document.body.style.overflow = '';
}
overlay.addEventListener('click', closeSidebar);
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') closeSidebar();
});
// Save selected role to pre-fill login page
function setRole(role) {
localStorage.setItem('selectedRole', role);
}
</script>
</body>
</html>