Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
172 lines (154 loc) · 3.98 KB
/
Copy pathindex.html
File metadata and controls
172 lines (154 loc) · 3.98 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>혜윰 - 소중한 기억을 기억하기 위한 공간</title>
<link rel="stylesheet" href="https://hangeul.pstatic.net/hangeul_static/css/maru-buri.css">
<link rel="stylesheet" href="./css/main.css">
<style>
/* 2025-01-02 추가: 스플래시 화면 전용 스타일 */
.splash-screen {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--lighter-green) 0%, var(--white) 100%);
animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.splash-logo {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--spacing-xl);
animation: scaleUp 0.8s ease-out;
}
@keyframes scaleUp {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.splash-logo__icon {
width: 100px;
height: 100px;
background-color: var(--white);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-lg);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.splash-logo__icon svg {
width: 50px;
height: 50px;
fill: var(--primary-green);
}
.splash-logo__title {
font-size: var(--font-size-3xl);
font-weight: var(--font-weight-bold);
color: var(--text-primary);
letter-spacing: 0.05em;
}
.splash-logo__subtitle {
font-size: var(--font-size-base);
color: var(--text-secondary);
margin-top: var(--spacing-sm);
text-align: center;
animation: fadeInUp 1s ease-out 0.3s both;
}
@keyframes fadeInUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* 2025-01-02 추가: 로딩 인디케이터 */
.loading-indicator {
margin-top: var(--spacing-4xl);
display: flex;
gap: var(--spacing-sm);
animation: fadeInUp 1s ease-out 0.5s both;
}
.loading-dot {
width: 8px;
height: 8px;
background-color: var(--primary-green);
border-radius: var(--radius-full);
animation: bounce 1.4s ease-in-out infinite;
}
.loading-dot:nth-child(1) {
animation-delay: 0s;
}
.loading-dot:nth-child(2) {
animation-delay: 0.2s;
}
.loading-dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
0%, 80%, 100% {
transform: scale(0);
opacity: 0.5;
}
40% {
transform: scale(1);
opacity: 1;
}
}
</style>
</head>
<body>
<div class="splash-screen">
<div class="splash-logo">
<img src="./assets/images/logo.png" alt="혜윰 로고" style="width: 150px; height: 150px; object-fit: contain;">
<div style="text-align: center;">
<h1 class="splash-logo__title">혜윰</h1>
<p class="splash-logo__subtitle">소중한 기억을 기억하기 위한 공간</p>
</div>
</div>
<!-- 로딩 인디케이터 -->
<div class="loading-indicator">
<div class="loading-dot"></div>
<div class="loading-dot"></div>
<div class="loading-dot"></div>
</div>
</div>
<script>
window.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {
window.location.href = './pages/login.html';
}, 5000);
});
document.addEventListener('click', function() {
window.location.href = './pages/login.html';
});
</script>
</body>
</html>