nanomation / index.html
airabbitX's picture
Update index.html
79cd210 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nanomation - AI Animation Generator</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.header {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding: 20px 0;
text-align: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.header h1 {
font-size: 2.5rem;
font-weight: 700;
background: linear-gradient(135deg, #667eea, #764ba2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 8px;
}
.header p {
color: #666;
font-size: 1.1rem;
font-weight: 400;
}
.container {
width: 100%;
height: calc(100vh - 140px);
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.iframe-wrapper {
width: 100%;
max-width: 1400px;
height: 100%;
background: white;
border-radius: 16px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
overflow: hidden;
position: relative;
}
iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 16px;
}
.loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #667eea;
font-size: 18px;
font-weight: 500;
display: flex;
align-items: center;
gap: 12px;
}
.spinner {
width: 24px;
height: 24px;
border: 3px solid #f3f3f3;
border-top: 3px solid #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.header h1 {
font-size: 2rem;
}
.header p {
font-size: 1rem;
}
.container {
padding: 15px;
height: calc(100vh - 120px);
}
.iframe-wrapper {
border-radius: 12px;
}
}
</style>
</head>
<body>
<div class="header">
<h1>Nanomation</h1>
<p>Create consistent AI animations with frame-by-frame generation</p>
</div>
<div class="container">
<div class="iframe-wrapper">
<div class="loading" id="loading">
<div class="spinner"></div>
Loading application...
</div>
<iframe
src="https://nanomation.vercel.app/"
title="Nanomation AI Animation Generator"
onload="document.getElementById('loading').style.display='none';">
</iframe>
</div>
</div>
</body>
</html>