Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
148 lines (124 loc) · 2.89 KB
/
Copy pathindex.html
File metadata and controls
148 lines (124 loc) · 2.89 KB
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
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/assets/stashpad/tauri/icons/Square71x71Logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stashpad</title>
<style>
/* Splash screen styles - inline for instant display */
#splash {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
user-select: none;
-webkit-user-select: none;
}
#splash.fade-out {
opacity: 0;
visibility: hidden;
}
#splash-logo {
width: 64px;
height: 64px;
border-radius: 16px;
animation: pulse 1.5s ease-in-out infinite, float 2s ease-in-out infinite;
filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}
#splash-typo {
margin-top: 20px;
width: 180px;
height: auto;
opacity: 0;
animation: fadeIn 0.5s ease-out 0.2s forwards;
filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.2));
}
#splash-loader {
margin-top: 24px;
display: flex;
gap: 6px;
}
#splash-loader span {
width: 6px;
height: 6px;
border-radius: 50%;
background: #a855f7;
animation: bounce 1.2s ease-in-out infinite;
}
#splash-loader span:nth-child(2) {
animation-delay: 0.1s;
}
#splash-loader span:nth-child(3) {
animation-delay: 0.2s;
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-4px);
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes bounce {
0%,
80%,
100% {
transform: scale(0.6);
opacity: 0.4;
}
40% {
transform: scale(1);
opacity: 1;
}
}
/* Prevent FOUC */
#app {
opacity: 0;
}
#app.ready {
opacity: 1;
transition: opacity 0.3s ease-in;
}
</style>
</head>
<body>
<!-- Splash Screen - shows immediately -->
<div id="splash">
<img id="splash-logo" src="/assets/stashpad/tauri/icons/Square71x71Logo.png" alt="Stashpad" />
<img id="splash-typo" src="/assets/stashpad/Typo.svg" alt="Stashpad" />
<div id="splash-loader">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>