-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12_DMD_startpage.html
More file actions
790 lines (688 loc) · 25.8 KB
/
12_DMD_startpage.html
File metadata and controls
790 lines (688 loc) · 25.8 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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DMD-startpage</title>
<link rel="stylesheet" href="./css/12_DMD_style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang&display=swap');
.first-section {
position: relative;
width: 100vw;
height: 100vh;
background: var(--gradient-background-1);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.star {
position: absolute;
width: 1.5px;
height: 1.5px;
background: var(--color-star);
border-radius: 50%;
animation: twinkle 5s infinite;
}
@keyframes twinkle {
0% { opacity: 0; transform: scale(0.5); }
50% { opacity: 1; transform: scale(1.2); }
100% { opacity: 0; transform: scale(0.5); }
}
.moon-orbit {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
pointer-events: none;
z-index: 5;
}
.moon-phase {
position: absolute;
width: 120px;
height: 120px;
transition: all 0.3s ease-out;
filter: drop-shadow(0 0 20px var(--color-moon-glow));
}
.moon-phase img {
width: 100%;
height: 100%;
object-fit: contain;
}
.DMD-content {
position: relative;
z-index: 10;
text-align: center;
max-width: 800px;
padding: 0 40px;
}
.main-title {
font-size: 90px;
font-family: 'Sansation', sans-serif;
font-weight: 300;
font-style: italic;
background: var(--gradient-text-main);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 8px;
letter-spacing: 2px;
line-height: 1.2;
animation: fadeInDown 1s ease-out 0.2s both;
}
.subtitle {
font-size: 20px;
color: var(--color-text-secondary);
margin-bottom: 40px;
letter-spacing: 3px;
animation: fadeInDown 1s ease-out 0.4s both;
}
.row-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
animation: fadeInUp 1s ease-out 0.8s both;
}
.book-icon {
font-size: 24px;
animation: bookFlip 5s ease-in-out infinite;
}
.floating-element {
position: absolute;
pointer-events: none;
opacity: 0.6;
}
.floating-element.book {
font-size: 40px;
animation: float 8s ease-in-out infinite;
}
.floating-element.pen {
font-size: 35px;
animation: float 7s ease-in-out infinite 1s;
}
.floating-element.star {
font-size: 30px;
animation: float 6s ease-in-out infinite 2s;
}
.scroll-indicator {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
cursor: pointer;
z-index: 10;
}
.scroll-indicator svg {
width: 45px;
height: 40px;
color: var(--color-text-tertiary);
}
.second-section {
width: 100vw;
min-height: 100vh;
background: var(--gradient-background-2);
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 80px 40px;
}
.section-content {
position: relative;
z-index: 10;
max-width: 1400px;
width: 100%;
}
.section-title-main {
font-size: 48px;
font-weight: 500;
text-align: center;
background: var(--gradient-title);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.section-subtitle {
font-family: "Noto Sans KR", sans-serif;
font-size: 18px;
text-align: center;
color: var(--color-text-tertiary);
margin-bottom: 60px;
}
.features-grid {
display: flex;
flex-direction: column;
gap: 50px;
margin-bottom: 60px;
padding: 0 20px;
}
.feature-card {
display: flex;
align-items: center;
justify-content: center;
text-align: left;
padding: 0;
}
.feature-card:nth-child(even) {
flex-direction: row-reverse;
text-align: right;
}
.feature-text {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1;
max-width: 600px;
}
.feature-text-content {
flex: 1;
max-width: 400px;
}
.feature-image-wrapper {
position: relative;
flex-shrink: 0;
width: 250px;
height: 250px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0;
}
.feature-image-wrapper::before {
content: '';
position: absolute;
top: 80%;
left: 50%;
transform: translate(-50%, -50%);
width: 130%;
height: 50%;
background: var(--gradient-card-glow);
border-radius: 20px;
border: 1px solid rgba(157, 117, 255, 0.2);
z-index: 0;
}
.feature-image {
position: relative;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 16px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
z-index: 2;
}
.feature-image-wrapper.laptop-wrapper {
width: 100%;
max-width: 500px;
height: auto;
aspect-ratio: 16 / 10;
position: relative;
margin: 30px 90px;
background: transparent;
box-shadow: none;
border: none;
overflow: visible;
}
.feature-image-wrapper.laptop-wrapper::before {
width: 95%;
height: 35%;
top: 66.5%;
left: 50%;
transform: translate(-50%, -50%);
background: var(--gradient-button-transperant);
border: 0.5px solid var(--color-moon-glow);
z-index: 0;
}
.laptop-frame {
position: relative;
width: 100%;
height: 100%;
object-fit: contain;
z-index: 10;
}
.laptop-screen {
position: absolute;
top: 19.5%;
left: 12%;
width: 75.7%;
height: 64.5%;
z-index: 5;
overflow: hidden;
background-color: #000;
z-index: 5;
}
.screen-content {
width: 100%;
height: 100%;
object-fit: cover;
}
.feature-title {
font-size: 24px;
font-weight: 600;
color: #ffffff;
margin-bottom: 12px;
}
.feature-description {
font-size: 16px;
color: rgba(255, 255, 255, 0.7);
line-height: 1.6;
}
.third-section {
width: 100vw;
min-height: 100vh;
background: linear-gradient(180deg, #0a0a1a 0%, #1a1a3e 50%, #2d1b4e 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 80px 40px;
}
.dmd-slider-viewport {
position: relative;
width: 100%;
max-width: 1400px;
margin: 0 auto;
overflow: hidden;
padding: 10px 0;
}
.dmd-slider-track {
display: flex;
transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
gap: 30px;
}
.dmd-slide {
flex: 0 0 40%;
background: linear-gradient(135deg, rgba(157, 117, 255, 0.15), rgba(124, 92, 219, 0.1));
border: 2px solid rgba(157, 117, 255, 0.3);
border-radius: 24px;
padding: 40px 30px;
text-align: center;
min-height: 350px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
opacity: 0.5;
transform: scale(0.9);
transition: all 0.5s ease;
}
.dmd-slide.active {
opacity: 1;
transform: scale(1);
border-color: #9d75ff;
box-shadow: 0 0 30px rgba(157, 117, 255, 0.2);
z-index: 2;
}
.benefit-icon {
font-size: 64px;
margin-bottom: 30px;
}
.benefit-title {
font-size: 32px;
font-weight: 600;
color: #ffffff;
margin-bottom: 20px;
}
.benefit-description {
font-size: 18px;
color: var(--color-text-secondary);
line-height: 1.8;
max-width: 600px;
}
.fourth-section {
width: 100vw;
min-height: 100vh;
background: linear-gradient(180deg, #2d1b4e 0%, #1a1a3e 50%, #0a0a1a 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 40px 20px;
}
.auth-container {
position: relative;
width: 100%;
max-width: 1000px;
height: 610px;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(4px);
border: 1px solid rgba(157, 117, 255, 0.15);
border-radius: 24px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
display: flex;
overflow: hidden;
}
.auth-container::-webkit-scrollbar { width: 6px; }
.auth-container::-webkit-scrollbar-thumb { background: rgba(157, 117, 255, 0.5); border-radius: 3px; }
.auth-side {
width: 50%;
height: 100%;
background: linear-gradient(135deg, rgba(157, 117, 255, 0.2), rgba(124, 92, 219, 0.1));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
border-right: 1px solid rgba(157, 117, 255, 0.1);
text-align: center;
position: relative;
}
.auth-side-image {
width: 80%;
max-width: 280px;
object-fit: contain;
margin-bottom: 30px;
filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}
.auth-side-title {
font-size: 28px;
font-weight: 600;
color: #fff;
margin-bottom: 10px;
}
.auth-side-desc {
font-size: 16px;
color: rgba(255, 255, 255, 0.7);
line-height: 1.6;
}
.auth-wrapper {
width: 50%;
height: 100%;
position: relative;
overflow: hidden;
}
.auth-forms {
width: 200%;
height: 100%;
display: flex;
transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.auth-forms.show-signup {
transform: translateX(-50%);
}
.auth-form {
width: 50%;
height: 100%;
flex-shrink: 0;
padding: 0 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.auth-title {
font-size: 32px;
font-weight: 700;
color: #ffffff;
text-align: center;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
color: var(--color-text-secondary);
font-size: 14px;
margin-bottom: 8px;
}
.form-input {
width: 100%;
padding: 14px 18px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(157, 117, 255, 0.3);
border-radius: 12px;
color: #ffffff;
font-size: 16px;
transition: all 0.3s;
}
.form-input:focus {
outline: none;
border-color: #9d75ff;
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 0 0 3px rgba(157, 117, 255, 0.1);
}
.form-input::placeholder {
color: rgba(255, 255, 255, 0.4);
}
.form-toggle {
text-align: center;
margin-top: 20px;
color: rgba(255, 255, 255, 0.7);
font-size: 16px;
}
.toggle-link {
color: #9d75ff;
cursor: pointer;
text-decoration: none;
font-weight: 400;
transition: color 0.3s;
}
.toggle-link:hover {
color: #b8a8ff;
text-decoration: underline;
}
@media screen and (max-width: 768px) {
.main-title {
font-size: 36px;
}
.subtitle {
font-size: 16px;
letter-spacing: 2px;
}
.description {
font-size: 16px;
}
.row-btn.web-start {
font-size: 20px;
padding: 15px 30px;
}
.book-icon {
font-size: 24px;
}
.row-buttons {
flex-direction: column;
}
.row-btn {
width: 100%;
justify-content: center;
}
.floating-element {
display: none;
}
.moon-phase {
width: 80px;
height: 80px;
}
}
@media screen and (max-width: 480px) {
.main-title {
font-size: 28px;
}
.moon-phase {
width: 60px;
height: 60px;
}
}
</style>
</head>
<body>
<section class="first-section" id="FirstSection">
<div class="stars" id="starsContainer"></div>
<div class="moon-orbit" id="moonOrbit">
<div class="moon-phase" id="moonPhase">
<img src="https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/1f311.svg" alt="Moon Phase" id="moonImage">
</div>
</div>
<div class="floating-element book" style="top: 20%; left: 15%;">📖</div>
<div class="floating-element pen" style="top: 30%; right: 20%;">✒️</div>
<div class="floating-element star" style="bottom: 25%; left: 10%;">✨</div>
<div class="floating-element book" style="bottom: 20%; right: 15%;">📔</div>
<div class="DMD-content">
<h1 class="main-title">Day<br>Month<br>Diary</h1>
<p class="subtitle gowun-batang-regular">매일 매달 남기는 나만의 기록, <em>DMD</em></p>
<div class="row-buttons">
<button class="row-btn web-start" onclick="startbook()">
<span class="book-icon">📔</span>
<span>시작하기</span>
</button>
<button class="row-btn secondary" onclick="learnMore()">
<span>더 알아보기</span>
</button>
</div>
</div>
<div class="scroll-indicator" onclick="scrollToNext()">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</div>
</section>
<section class="second-section" id="secondSection">
<div class="stars" id="starsContainer2"></div>
<div class="section-content">
<h2 class="section-title-main gowun-batang-regular">당신의 이야기를 특별하게</h2>
<p class="section-subtitle">Day Month Diary만의 독특한 기능들을 만나보세요</p>
<div class="features-grid">
<div class="feature-card">
<div class="feature-image-wrapper laptop-wrapper">
<img src="./content/12_DMD_laptop.png" alt="Laptop Frame" class="laptop-frame">
<div class="laptop-screen">
<img src="./content/12_DMD_homescreen.png" alt="Screen Content" class="screen-content">
</div>
</div>
<div class="feature-text">
<h3 class="feature-title">달의 주기와 함께</h3>
<p class="feature-description">보름달부터 그믐달까지, 달의 변화와 함께 당신의 하루를 월별로 기록하세요.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-image-wrapper laptop-wrapper">
<img src="./content/12_DMD_laptop.png" alt="Laptop Frame" class="laptop-frame">
<div class="laptop-screen">
<img src="./content/12_DMD_calendarScreen.png" alt="Screen Content" class="screen-content">
</div>
</div>
<div class="feature-text">
<h3 class="feature-title">매일 부담없이 기록하는</h3>
<p class="feature-description">달력에 당신이 보낸 하루를 손쉽고 간단하게 적어보세요.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-image-wrapper laptop-wrapper">
<img src="./content/12_DMD_laptop.png" alt="Laptop Frame" class="laptop-frame">
<div class="laptop-screen">
<img src="./content/12_DMD_diarywriteScreen.png" alt="Screen Content" class="screen-content">
</div>
</div>
<div class="feature-text">
<h3 class="feature-title">사용자의 니즈에 맞추어</h3>
<p class="feature-description">직관적이고 편리한 인터페이스로 다이어리를 작성하고, 스티커로 다이어리를 꾸며 보세요.</p>
</div>
</div>
</div>
</div>
</section>
<section class="third-section" id="thirdSection">
<div class="stars" id="starsContainer3"></div>
<div class="section-content">
<h2 class="section-title-main gowun-batang-regular">왜 DMD를 선택해야 할까요?</h2>
<p class="section-subtitle">당신의 일상을 더 특별하게 만드는 이유</p>
<div class="dmd-slider-viewport">
<div class="dmd-slider-track" id="sliderTrack">
<div class="dmd-slide active">
<div class="benefit-icon">🌙</div>
<h3 class="benefit-title">감성적인 기록</h3>
<p class="benefit-description">밤하늘의 달처럼 은은하고 아름다운 공간에서 하루를 정리하세요.</p>
</div>
<div class="dmd-slide">
<div class="benefit-icon">📅</div>
<h3 class="benefit-title">체계적인 관리</h3>
<p class="benefit-description">월별, 일별로 체계적으로 정리된 타임라인으로 당신의 변화를 확인하세요.</p>
</div>
<div class="dmd-slide">
<div class="benefit-icon">🔒</div>
<h3 class="benefit-title">안전한 보관</h3>
<p class="benefit-description">소중한 당신의 이야기는 안전하게 보호되며 언제 어디서나 접근 가능합니다.</p>
</div>
<div class="dmd-slide">
<div class="benefit-icon">✨</div>
<h3 class="benefit-title">지속 가능한 습관</h3>
<p class="benefit-description">아름다운 디자인과 직관적인 인터페이스가 일기 쓰기를 즐겁게 만듭니다.</p>
</div>
</div>
<button class="slider-btn prev" onclick="prevSlide()">❮</button>
<button class="slider-btn next" onclick="nextSlide()">❯</button>
</div>
</div>
</section>
<section class="fourth-section" id="fourthSection">
<div class="stars" id="starsContainer4"></div>
<div class="auth-container">
<div class="auth-side">
<img src="./content/12_DMD_logo.png" alt="DMD Preview" class="auth-side-image">
<h3 class="auth-side-title gowun-batang-regular">Day Month Diary</h3>
<p class="auth-side-desc">
달과 함께 흐르는 당신만의 시간,<br>
DMD에서 소중한 기록을 시작해보세요.
</p>
</div>
<div class="auth-wrapper">
<div class="auth-forms" id="authForms">
<div class="auth-form" id="loginForm">
<h2 class="auth-title gowun-batang-regular">로그인</h2>
<form onsubmit="handleLogin(event)">
<div class="form-group">
<label class="form-label">이메일</label>
<input type="email" id="loginEmail" class="form-input" placeholder="example@email.com" required>
</div>
<div class="form-group">
<label class="form-label">비밀번호</label>
<input type="password" id="loginPassword" class="form-input" placeholder="••••••••" required>
</div>
<button type="submit" class="submit-btn">로그인하기</button>
</form>
<div class="form-toggle">
아직 회원이 아니신가요?
<a class="toggle-link" onclick="toggleAuthForm()">회원가입 하러가기</a>
</div>
</div>
<div class="auth-form" id="signupForm">
<h2 class="auth-title gowun-batang-regular">회원가입</h2>
<form onsubmit="handleSignup(event)">
<div class="form-group">
<label class="form-label">이름</label>
<input type="text" id="username" class="form-input" placeholder="홍길동" required>
</div>
<div class="form-group">
<label class="form-label">이메일</label>
<input type="email" id="email" class="form-input" placeholder="example@email.com" required>
</div>
<div class="form-group">
<label class="form-label">비밀번호</label>
<input type="password" id="password" class="form-input" placeholder="••••••••" required>
</div>
<div class="form-group">
<label class="form-label">비밀번호 확인</label>
<input type="password" id="password2" class="form-input" placeholder="••••••••" required>
</div>
<button type="submit" class="submit-btn">가입하기</button>
</form>
<div class="form-toggle">
이미 계정이 있으신가요?
<a class="toggle-link" onclick="toggleAuthForm()">로그인 하러가기</a>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="./JS/12_DMD_startpage.js"></script>
</body>
</html>