Spaces:
Sleeping
Sleeping
<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> |