We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63ca9bd commit c6d687eCopy full SHA for c6d687e
1 file changed
index.html
@@ -150,8 +150,8 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
150
151
const nameSection = document.getElementById("team_name");
152
153
- let zoom = 3;
154
- const ZOOM_SPEED = 2;
+ let zoom = 4;
+ const ZOOM_SPEED = 3;
155
156
// 휠 이벤트 처리
157
document.addEventListener("wheel", function (e) {
@@ -176,12 +176,12 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
176
document.addEventListener("touchmove", function (e) {
177
touchEndY = e.touches[0].clientY;
178
179
- if (zoom < 80) {
+ if (zoom < 90) {
180
if (touchStartY > touchEndY) {
181
zoom += ZOOM_SPEED;
182
nameSection.style.transform = `scale(${zoom})`;
183
}
184
- } else if (zoom >= 80) {
+ } else if (zoom >= 90) {
185
nameSection.classList.add("zoomed");
186
187
});
0 commit comments