File size: 6,366 Bytes
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chahuadev Framework — Loading</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body, html {
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: linear-gradient(135deg, #0a0e16 0%, #111827 100%);
            background-image:
                radial-gradient(1200px 600px at 70% 10%, rgba(14, 165, 233, 0.08), rgba(0, 0, 0, 0) 60%),
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 100% 100%, 40px 40px, 40px 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
        }

        .splash-container {
            text-align: center;
            z-index: 100;
        }

        .logo {
            width: 90px;
            height: 90px;
            margin: 0 auto 24px;
            background: rgba(14, 165, 233, 0.10);
            border: 2px solid rgba(14, 165, 233, 0.25);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse 2s ease-in-out infinite;
            box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
        }

        .logo svg {
            width: 44px;
            height: 44px;
            stroke: #38bdf8;
            fill: none;
            stroke-width: 1.8;
            filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.4));
        }

        .title {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 6px;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #38bdf8 0%, #7dd3fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            font-size: 13px;
            color: #9ca3af;
            margin-bottom: 28px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .progress-container {
            width: 240px;
            height: 3px;
            background: rgba(255, 255, 255, 0.07);
            border-radius: 2px;
            margin: 0 auto;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
            border-radius: 2px;
            transition: width 0.2s ease;
        }

        .loading-text {
            margin-top: 18px;
            font-size: 12px;
            color: #475569;
            letter-spacing: 1px;
        }

        .dot {
            display: inline-block;
            width: 4px;
            height: 4px;
            background: #0ea5e9;
            border-radius: 50%;
            margin: 0 3px;
            animation: dots 1.4s infinite;
        }
        .dot:nth-child(2) { animation-delay: 0.2s; }
        .dot:nth-child(3) { animation-delay: 0.4s; }

        .version {
            position: absolute;
            bottom: 20px;
            right: 20px;
            font-size: 11px;
            color: #4b5563;
            opacity: 0.7;
        }

        .badge {
            position: absolute;
            bottom: 20px;
            left: 20px;
            font-size: 11px;
            color: #0ea5e9;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 20px rgba(14,165,233,0.15); transform: scale(1); }
            50%       { box-shadow: 0 0 40px rgba(14,165,233,0.30); transform: scale(1.04); }
        }

        @keyframes dots {
            0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
            30%            { opacity: 1;   transform: translateY(-8px); }
        }
    </style>
</head>
<body>
    <div class="splash-container">
        <div class="logo">
            <!-- gear / settings icon -->
            <svg viewBox="0 0 24 24">
                <circle cx="12" cy="12" r="3"/>
                <path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/>
            </svg>
        </div>

        <div class="title">Chahuadev Framework</div>
        <div class="subtitle">Auto-generate buttons for your project</div>

        <div class="progress-container">
            <div class="progress-bar" id="prog"></div>
        </div>

        <div class="loading-text">
            Initializing
            <span class="dot"></span>
            <span class="dot"></span>
            <span class="dot"></span>
        </div>
    </div>

    <div class="version">v1.0.0</div>
    <div class="badge">
        <svg style="width:13px;height:13px" viewBox="0 0 24 24" fill="currentColor">
            <path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z"/>
        </svg>
        Framework
    </div>

    <script>
        const bar = document.getElementById('prog');
        let pct = 0;

        const iv = setInterval(() => {
            pct += Math.random() * 22;
            if (pct > 88) pct = 88;
            bar.style.width = pct + '%';
        }, 200);

        setTimeout(() => {
            clearInterval(iv);
            bar.style.width = '100%';
        }, 3600);
    </script>
</body>
</html>