Spaces:
Running
Running
File size: 15,832 Bytes
e1e4c88 f82e214 e1e4c88 f82e214 e1e4c88 |
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 418 419 420 421 422 423 424 425 426 427 428 429 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elevatics Dashboard</title>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<style>
:root {
--bg-color: #0c2d4d;
--card-bg: #0d2b45;
--text-color: #ffffff;
--text-secondary: #c5d6e8;
--accent-color: #3498db;
--accent-hover: #2980b9;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body, html {
font-family: Arial, sans-serif;
height: 100%;
background-color: var(--bg-color);
color: var(--text-color);
overflow-x: hidden;
}
#app {
display: flex;
flex-direction: column;
min-height: 200vh;
}
.header {
background-color: var(--card-bg);
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.logo {
font-size: 24px;
font-weight: bold;
display: flex;
align-items: center;
}
.elevatics-icon {
height: 3rem;
width: auto;
margin-right: 10px;
}
.login-button {
background: none;
border: 2px solid var(--accent-color);
color: var(--accent-color);
display: flex;
align-items: center;
cursor: pointer;
font-size: 16px;
padding: 8px 16px;
border-radius: 20px;
transition: all 0.3s ease;
}
.login-button:hover {
background-color: var(--accent-color);
color: var(--text-color);
}
.login-button i {
margin-right: 5px;
font-size: 20px;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 40px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='%233498db' fill-opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='150' cy='100' r='3'/%3E%3Ccircle cx='250' cy='50' r='2'/%3E%3Ccircle cx='350' cy='150' r='3'/%3E%3Ccircle cx='300' cy='250' r='2'/%3E%3Ccircle cx='200' cy='300' r='3'/%3E%3Ccircle cx='100' cy='250' r='2'/%3E%3Cpath d='M50 50L150 100L250 50L350 150L300 250L200 300L100 250Z' stroke='%233498db' stroke-opacity='0.1' fill='none'/%3E%3C/g%3E%3C/svg%3E");
height: 100vh;
margin-top: 80px;
}
.main-title {
font-size: 6rem;
margin-bottom: 40px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.blue { color: var(--accent-color); }
.white { color: var(--text-color); }
.try-now-button {
background-color: var(--accent-color);
color: var(--text-color);
border: none;
padding: 16px 32px;
font-size: 2rem;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 40px;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: bold;
}
.try-now-button:hover {
background-color: var(--accent-hover);
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.dashboard {
background-color: var(--text-secondary);
padding: 80px 40px;
min-height: 100vh;
display: flex;
align-items: center;
}
.tiles-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1400px;
margin: 0 auto;
}
.tile {
background-color: var(--card-bg);
border-radius: 20px;
color: var(--text-color);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 40px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.tile:hover {
transform: translateY(-15px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.tile-icon {
width: 100px;
height: 100px;
margin-bottom: 30px;
fill: var(--accent-color);
transition: transform 0.3s ease;
}
.tile:hover .tile-icon {
transform: scale(1.1);
}
.tile-name {
margin: 0;
font-size: 2rem;
font-weight: bold;
}
.tile-description {
margin-top: 20px;
font-size: 1.1rem;
color: var(--text-secondary);
}
.app-details {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.app-details-content {
background-color: var(--card-bg);
border-radius: 30px;
padding: 60px;
max-width: 800px;
width: 90%;
position: relative;
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.app-details-header {
display: flex;
align-items: center;
margin-bottom: 30px;
}
.app-details-icon {
width: 80px;
height: 80px;
margin-right: 30px;
padding: 15px;
background-color: var(--accent-color);
border-radius: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.app-details-icon svg {
width: 100%;
height: 100%;
fill: var(--text-color);
}
.app-details h2 {
font-size: 3.5rem;
color: var(--accent-color);
margin: 0;
}
.app-details p {
font-size: 1.3rem;
line-height: 1.8;
margin-bottom: 40px;
color: var(--text-secondary);
}
.close-button {
position: absolute;
top: 30px;
right: 30px;
font-size: 3rem;
background: none;
border: none;
color: var(--text-secondary);
cursor: pointer;
transition: color 0.3s ease;
}
.close-button:hover {
color: var(--accent-color);
}
.try-button {
display: inline-block;
background-color: var(--accent-color);
color: var(--text-color);
padding: 16px 32px;
border-radius: 40px;
text-decoration: none;
transition: background-color 0.3s ease, transform 0.3s ease;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: bold;
font-size: 1.2rem;
}
.try-button:hover {
background-color: var(--accent-hover);
transform: translateY(-5px);
}
@media (max-width: 1200px) {
.main-title {
font-size: 5rem;
}
.try-now-button {
font-size: 1.8rem;
}
}
@media (max-width: 768px) {
.main-title {
font-size: 3.5rem;
}
.try-now-button {
font-size: 1.5rem;
padding: 14px 28px;
}
.app-details-content {
padding: 40px;
}
.app-details h2 {
font-size: 2.5rem;
}
.app-details-icon {
width: 60px;
height: 60px;
}
}
</style>
</head>
<body>
{% raw %}
<div id="app">
<header class="header">
<div class="logo">
<img src="/png/elevatics.png" alt="Elevatics Logo" class="elevatics-icon">
</div>
<button class="login-button" @click="login">
<i class="bi bi-person-circle"></i>
Login
</button>
</header>
<main class="main-content">
<h1 class="main-title">
<span class="blue">Single </span>
<span class="white">AI </span>
<span class="blue">Platform</span><br>
<span class="blue">Endless </span>
<span class="white">Possibilities</span>
</h1>
<button class="try-now-button" @click="tryNow">Try Now</button>
</main>
<section class="dashboard">
<div class="tiles-container">
<div class="tile" v-for="app in aiApps" :key="app.id" @click="selectApp(app)">
<div class="tile-icon" v-html="app.icon"></div>
<h2 class="tile-name">{{ app.name }}</h2>
<p class="tile-description">{{ app.shortDescription }}</p>
</div>
</div>
</section>
<transition name="fade">
<div v-if="selectedApp" class="app-details">
<div class="app-details-content">
<button class="close-button" @click="closeDetails">×</button>
<div class="app-details-header">
<div class="app-details-icon" v-html="selectedApp.icon"></div>
<h2>{{ selectedApp.name }}</h2>
</div>
<p>{{ selectedApp.longDescription }}</p>
<a :href="selectedApp.link" class="try-button">Try Now</a>
</div>
</div>
</transition>
</div>
{% endraw %}
<script>
const { createApp } = Vue;
createApp({
data() {
return {
selectedApp: null,
aiApps: [
{
id: 1,
name: 'iResearcher',
shortDescription: 'AI-powered research assistant',
longDescription: 'iResearcher is an advanced AI tool that helps you conduct comprehensive research across multiple domains. It can analyze vast amounts of data, generate insights, and even assist in writing research papers.',
iconFile: 'iresearcher.svg',
link: '/login'
},
{
id: 2,
name: 'News',
shortDescription: 'AI-curated news and analysis',
longDescription: 'Stay informed with our AI-powered news aggregator. It curates and summarizes news from trusted sources, providing personalized insights and trend analysis.',
iconFile: 'news.svg',
link: '/login'
},
{
id: 3,
name: 'Investment',
shortDescription: 'AI-driven investment insights',
longDescription: 'Make smarter investment decisions with our AI-powered financial analysis tool. It provides market insights, risk assessment, and personalized investment recommendations.',
iconFile: 'investment.svg',
link: '/login'
},
{
id: 4,
name: 'Career',
shortDescription: 'AI career coach and job matcher',
longDescription: 'Boost your career with our AI career coach. It analyzes your skills, suggests career paths, and even helps match you with suitable job opportunities.',
iconFile: 'career.svg',
link: '/login'
},
{
id: 5,
name: 'Code',
shortDescription: 'AI code assistant and analyzer',
longDescription: 'Enhance your coding skills with our AI code assistant. It helps you write better code, detects bugs, and even suggests optimizations for your projects.',
iconFile: 'code.svg',
link: '/login'
},
{
id: 6,
name: 'Analytics',
shortDescription: 'AI-powered data analytics',
longDescription: 'Unlock the power of your data with our AI analytics tool. It provides deep insights, predictive analysis, and interactive visualizations to help you make data-driven decisions.',
iconFile: 'analytics.svg',
link: '/login'
},
{
id: 7,
name: 'Speech',
shortDescription: 'AI speech recognition and synthesis',
longDescription: 'Harness the power of speech with our AI tool. It provides accurate speech-to-text transcription, text-to-speech synthesis, and even voice cloning capabilities.',
iconFile: 'speech.svg',
link: '/login'
}
]
}
},
mounted() {
this.loadSVGs();
},
methods: {
login() {
window.location.href = '/login';
},
tryNow() {
window.location.href = '/login';
},
selectApp(app) {
this.selectedApp = app;
},
closeDetails() {
this.selectedApp = null;
},
loadSVGs() {
this.aiApps.forEach(app => {
fetch(`/svg/${app.iconFile}`)
.then(response => response.text())
.then(svgContent => {
app.icon = svgContent;
})
.catch(error => console.error('Error loading SVG:', error));
});
}
}
}).mount('#app');
</script>
</body>
</html> |