File size: 6,473 Bytes
e33d85f 1c2cd7e | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Puter - Setting up your account</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
overflow: hidden;
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.loading-bar {
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.2);
border-radius: 2px;
overflow: hidden;
}
.loading-progress {
height: 100%;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
border-radius: 2px;
animation: loading 2s ease-in-out infinite;
}
@keyframes loading {
0% { transform: translateX(-100%); }
50% { transform: translateX(0%); }
100% { transform: translateX(100%); }
}
.floating-icon {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
</style>
</head>
<body class="bg-gradient-to-br from-blue-900 via-purple-900 to-indigo-900 min-h-screen flex items-center justify-center">
<div id="vanta-background" class="absolute inset-0 z-0"></div>
<div class="relative z-10 flex flex-col items-center justify-center w-full max-w-md mx-4">
<!-- Logo/Brand -->
<div class="glass-effect rounded-2xl p-8 mb-8 text-center w-full">
<div class="floating-icon mb-6">
<i data-feather="cloud" class="w-16 h-16 text-white mx-auto"></i>
</div>
<h1 class="text-4xl font-bold text-white mb-2">Puter</h1>
<p class="text-blue-200 text-lg">Your Cloud Desktop</p>
</div>
<!-- Setup Card -->
<div class="glass-effect rounded-2xl p-8 w-full text-center">
<h2 class="text-2xl font-semibold text-white mb-6">Welcome to Puter!</h2>
<div class="mb-8">
<h3 class="text-lg text-blue-200 mb-4">Setting up your account...</h3>
<!-- Loading Animation -->
<div class="loading-bar mb-4">
<div class="loading-progress"></div>
</div>
<!-- Progress Steps -->
<div class="space-y-3 text-left">
<div class="flex items-center text-green-300">
<i data-feather="check" class="w-4 h-4 mr-2"></i>
<span class="text-sm">Initializing cloud environment</span>
</div>
<div class="flex items-center text-green-300">
<i data-feather="check" class="w-4 h-4 mr-2"></i>
<span class="text-sm">Creating user profile</span>
</div>
<div class="flex items-center text-blue-300">
<i data-feather="loader" class="w-4 h-4 mr-2 animate-spin"></i>
<span class="text-sm">Configuring desktop settings</span>
</div>
<div class="flex items-center text-gray-400">
<i data-feather="clock" class="w-4 h-4 mr-2"></i>
<span class="text-sm">Loading applications</span>
</div>
</div>
</div>
<!-- Status Message -->
<div class="bg-blue-500/20 border border-blue-400/30 rounded-lg p-4 mb-6">
<div class="flex items-center justify-center">
<i data-feather="info" class="w-4 h-4 text-blue-300 mr-2"></i>
<span class="text-blue-200 text-sm">Almost ready! Your cloud desktop is being prepared.</span>
</div>
</div>
<!-- Estimated Time -->
<div class="text-center">
<p class="text-purple-300 text-sm">Estimated completion: <span class="font-semibold">30 seconds</span></p>
</div>
</div>
<!-- Footer -->
<div class="mt-8 text-center">
<p class="text-blue-300 text-sm">© 2024 Puter. All rights reserved.</p>
<p class="text-blue-400 text-xs mt-1">Secure cloud computing platform</p>
</div>
</div>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-background",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0x111827,
points: 12.00,
maxDistance: 22.00,
spacing: 18.00
});
// Simulate setup progress
let progress = 0;
const progressInterval = setInterval(() => {
progress += Math.random() * 10;
if (progress >= 100) {
clearInterval(progressInterval);
// Redirect or show completion after setup
setTimeout(() => {
document.querySelector('h3').textContent = 'Setup Complete!';
document.querySelector('.loading-progress').style.width = '100%';
}, 500);
} else {
document.querySelector('.loading-progress').style.width = progress + '%';
}
}, 800);
// Initialize Feather Icons
feather.replace();
</script>
</body>
</html>
|