-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
259 lines (232 loc) · 13.5 KB
/
index.html
File metadata and controls
259 lines (232 loc) · 13.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DASH LAB - Home</title>
<!-- External Libraries -->
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.12.2/lottie.min.js"></script>
<!-- Critical Helper: Defined in Head for immediate availability -->
<script>
window.getImg = function(path) {
if (!path) return '';
let cleanPath = path.startsWith('/') ? path.substring(1) : path;
if (!cleanPath.startsWith('http') && !cleanPath.startsWith('./') && !cleanPath.startsWith('data:')) {
cleanPath = './' + cleanPath;
}
return cleanPath;
};
</script>
<!-- Custom Shared Resources -->
<link rel="stylesheet" href="css/style.css">
<script src="js/common.js"></script>
<!-- Data Scripts (Load before logic) -->
<script src="js/newsdata.js"></script>
<script src="js/imagedata.js"></script>
<!-- Logic Script -->
<script src="js/news.js" defer></script>
</head>
<body class="bg-gray-50 flex flex-col min-h-screen">
<!-- JOIN US POPUP -->
<div id="join-modal" class="home-popup">
<div class="modal-content">
<span class="close-modal" id="close-home-modal" onclick="document.getElementById('join-modal').style.display='none'">×</span>
<div class="mb-6 flex justify-center">
<img src="img/dash_logo/Dashlab_logo.jpg"
onerror="this.src='https://via.placeholder.com/150?text=DASH+LAB'; this.onerror=null;"
class="w-32 h-32 object-contain" alt="Logo">
</div>
<h2 class="text-2xl font-bold text-blue-800 mb-4">Join Our Lab</h2>
<p class="text-gray-600 mb-6">For those interested in joining our lab, please fill out the <strong>Application Form</strong>.</p>
<a href="https://docs.google.com/forms/d/e/1FAIpQLScUGAM_k4n7rT736ThnAe5jn2owVe2KFO7cib3fHsiL6I099g/viewform?usp=send_form"
target="_blank" rel="noopener noreferrer"
class="inline-block bg-blue-600 hover:bg-blue-700 text-white font-bold py-3.5 px-10 rounded-full shadow-lg transform transition hover:-translate-y-1">
Apply Now 🚀
</a>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="container mx-auto px-4 pt-8 max-w-6xl flex-grow">
<!-- HERO SECTION -->
<div id="hero-section" class="mb-10">
<div id="hero-overlay"></div>
<div id="hero-content" class="flex flex-col items-center">
<h1 class="text-5xl md:text-6xl font-extrabold mb-4 tracking-tight">DASH Lab</h1>
<p class="text-base md:text-xl font-light max-w-3xl mx-auto px-4 text-center">
Our Research | Computer Vision | Anomaly Detection | AI Security | DeepFakes | Machine Learning | Data Science Applications
</p>
</div>
<div id="hero-news-banner" class="flex justify-center items-center relative">
<div id="news-text" class="text-center w-full max-w-4xl px-4">
<!-- Injected by news.js -->
</div>
</div>
</div>
<!-- FEATURE BOXES -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-16">
<!-- Data Driven -->
<div class="feature-box" id="dataDrivenFeatureBox">
<div class="satellite-graph-wrap feature-img">
<img src="img/dash_logo/satellite_v3.svg" alt="Satellite Icon" class="satellite-static-figure">
<div class="satellite-lottie-container" id="satelliteLottieContainer"></div>
</div>
<h3 class="feature-title">Data Science</h3>
<p class="feature-desc">
Innovating at the intersection of <strong>Applied Data Science</strong>, Data Engineering, and <strong>Satellite Systems</strong>.
</p>
</div>
<!-- A.I -->
<div class="feature-box" id="aiFeatureBox">
<div class="face-graph-wrap feature-img">
<img src="img/dash_logo/face_icon_3.svg" alt="Face Scan Icon" class="face-static-figure">
<div class="face-lottie-container" id="faceLottieContainer"></div>
</div>
<h3 class="feature-title">Artificial Intelligence</h3>
<p class="feature-desc">
Advancing the frontiers of <strong>DeepFake detection</strong> and high-performance <strong>Anomaly modeling</strong>.
</p>
</div>
<!-- Security & Privacy -->
<div class="feature-box" id="securityFeatureBox">
<div class="security-graph-wrap feature-img">
<img src="img/dash_logo/security_graph.svg" alt="Security Icon" class="security-static-figure">
<div class="security-lottie-container" id="securityLottieContainer"></div>
</div>
<h3 class="feature-title">Security & Privacy</h3>
<p class="feature-desc">
Protecting digital frontiers through <strong>Privacy Preservation</strong> and <strong>Secure Machine Learning</strong> architectures.
</p>
</div>
</div>
<!-- CAROUSEL -->
<div id="home-carousel" class="carousel">
<!-- Images injected by news.js -->
</div>
</div>
<!-- IMPROVED CALLOUT SECTION -->
<div class="container mx-auto px-4 max-w-6xl mb-16">
<div class="bg-gradient-to-br from-blue-50 to-white border border-blue-100 rounded-3xl p-8 md:p-12 shadow-xl shadow-blue-900/5 relative overflow-hidden">
<!-- Background Decorative Element -->
<div class="absolute -top-24 -right-24 w-64 h-64 bg-blue-100/50 rounded-full blur-3xl"></div>
<div class="flex flex-col md:flex-row items-center gap-10 relative z-10">
<!-- Image Column -->
<div class="w-full md:w-1/3 flex justify-center">
<div class="relative group">
<div class="absolute inset-0 bg-blue-200 rounded-2xl blur-xl opacity-0 group-hover:opacity-40 transition-opacity duration-500"></div>
<img loading="lazy"
src="img/dash_logo/Join_our_lab_new.png"
onerror="this.src=getImg('img/dash_logo/Join_our_lab_new.png')"
alt="Join Our Lab"
class="relative max-w-[180px] md:max-w-full h-auto drop-shadow-2xl transition-transform duration-500 group-hover:scale-105"
/>
</div>
</div>
<!-- Text Column -->
<div class="w-full md:w-2/3 text-center md:text-left">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-blue-100 text-blue-700 text-xs font-black uppercase tracking-widest mb-4">
<span class="relative flex h-2 w-2">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"></span>
<span class="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
</span>
Now Recruiting
</div>
<h3 class="text-3xl md:text-4xl font-black text-gray-900 mb-4 leading-tight">
Shape the Future of <span class="text-blue-600">AI & Security</span> with us.
</h3>
<p class="text-lg text-gray-600 mb-8 leading-relaxed max-w-2xl">
We are looking for dedicated individuals whose research interests align with Computer Vision, Anomaly Detection, and Applied Data Science.
<strong>Coding proficiency and passion for research are highly valued.</strong>
</p>
<div class="flex flex-col sm:flex-row items-center gap-4 justify-center md:justify-start">
<a href="https://forms.gle/RYCUasAUbsFhJtyb6"
target="_blank"
rel="noopener noreferrer"
class="group flex items-center gap-3 bg-blue-600 hover:bg-blue-700 text-white font-bold py-4 px-8 rounded-2xl shadow-lg shadow-blue-200 transition-all active:scale-95">
<span>Open Application Form</span>
<i class="fas fa-arrow-right transition-transform group-hover:translate-x-1"></i>
</a>
<p class="text-sm text-gray-400 font-medium italic">
* Recommended for dedicated researchers
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Footer is injected here by common.js -->
<!-- Page Specific Script -->
<script>
document.addEventListener('DOMContentLoaded', () => {
// Set the Hero Background Image
const heroSection = document.getElementById('hero-section');
if(heroSection) {
// Using getImg helper
heroSection.style.backgroundImage = `url(${getImg('img/dash_gallery/coverPage.jpg')})`;
}
// Modal logic
if (!localStorage.getItem('dash_visited')) {
const modal = document.getElementById('join-modal');
if(modal) {
modal.style.display = 'flex';
// Trigger CSS transition if home-popup.active is defined in style.css
setTimeout(() => modal.classList.add('active'), 50);
localStorage.setItem('dash_visited', 'true');
}
}
// A.I face: Lottie animation - Plays continuously
const aiBox = document.getElementById('aiFeatureBox');
const faceLottie = document.getElementById('faceLottieContainer');
if (aiBox && faceLottie && typeof lottie !== 'undefined') {
fetch(getImg('img/dash_logo/face_anim.json'))
.then(r => r.ok ? r.json() : Promise.reject(new Error(r.status)))
.then(animationData => {
lottie.loadAnimation({
container: faceLottie,
renderer: 'svg',
loop: true,
autoplay: true, // Auto-play regardless of hover
animationData: animationData
});
aiBox.classList.add('playing'); // Immediately switch from static to animation
})
.catch(err => console.error('Face animation load failed:', err));
}
// Security graph: Lottie animation - Plays continuously
const securityBox = document.getElementById('securityFeatureBox');
const securityLottie = document.getElementById('securityLottieContainer');
if (securityBox && securityLottie && typeof lottie !== 'undefined') {
lottie.loadAnimation({
container: securityLottie,
renderer: 'svg',
loop: true,
autoplay: true, // Auto-play regardless of hover
path: getImg('img/dash_logo/security_graph_anim.json')
});
securityBox.classList.add('playing'); // Immediately switch from static to animation
}
// Data Driven satellite: Lottie animation - Plays continuously
const dataDrivenBox = document.getElementById('dataDrivenFeatureBox');
const satelliteLottie = document.getElementById('satelliteLottieContainer');
if (dataDrivenBox && satelliteLottie && typeof lottie !== 'undefined') {
fetch(getImg('img/dash_logo/satellite_anim.json'))
.then(r => r.ok ? r.json() : Promise.reject(new Error(r.status)))
.then(animationData => {
lottie.loadAnimation({
container: satelliteLottie,
renderer: 'svg',
loop: true,
autoplay: true, // Auto-play regardless of hover
animationData: animationData
});
dataDrivenBox.classList.add('playing'); // Immediately switch from static to animation
})
.catch(err => console.error('Satellite animation load failed:', err));
}
});
</script>
</body>
</html>