-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
989 lines (870 loc) · 36.2 KB
/
index.html
File metadata and controls
989 lines (870 loc) · 36.2 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
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<title>Levelfly - 網頁設計作品集</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: #000;
color: #fff;
line-height: 1.6;
overflow-x: hidden;
}
/* Three.js Canvas */
#bg-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
/* Navigation */
nav {
position: fixed;
top: 0;
width: 100%;
padding: 20px 50px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: #fff;
text-decoration: none;
text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}
.nav-links {
display: flex;
gap: 30px;
list-style: none;
}
.nav-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
font-size: 0.9rem;
transition: all 0.3s;
}
.nav-links a:hover {
color: #fff;
text-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}
/* Content wrapper */
.content {
position: relative;
z-index: 1;
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 100px 20px;
position: relative;
}
.hero-content {
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 5rem;
font-weight: 700;
margin-bottom: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
from {
filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}
to {
filter: drop-shadow(0 0 40px rgba(118, 75, 162, 0.8));
}
}
.hero .subtitle {
font-size: 1.5rem;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 30px;
letter-spacing: 3px;
}
.hero .description {
max-width: 600px;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 40px;
}
.cta-button {
display: inline-block;
padding: 15px 40px;
background: transparent;
border: 2px solid rgba(102, 126, 234, 0.8);
color: #fff;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
position: relative;
overflow: hidden;
}
.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: left 0.3s;
z-index: -1;
}
.cta-button:hover::before {
left: 0;
}
.cta-button:hover {
border-color: transparent;
box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}
.scroll-hint {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
color: rgba(255, 255, 255, 0.4);
font-size: 0.8rem;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(10px); }
}
/* Section Styles */
section {
padding: 100px 50px;
position: relative;
}
.section-title {
font-size: 2.5rem;
margin-bottom: 60px;
text-align: center;
}
.section-title span {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Skills Section */
#skills {
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
}
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 30px;
max-width: 800px;
margin: 0 auto;
}
.skill-item {
text-align: center;
padding: 30px 20px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 15px;
transition: all 0.3s;
}
.skill-item:hover {
transform: translateY(-10px);
background: rgba(102, 126, 234, 0.1);
border-color: rgba(102, 126, 234, 0.5);
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
.skill-icon {
font-size: 2.5rem;
margin-bottom: 15px;
}
.skill-name {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}
/* Works Section */
#works {
background: rgba(0, 0, 0, 0.5);
}
.works-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.work-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
overflow: hidden;
transition: all 0.4s;
text-decoration: none;
color: inherit;
display: block;
}
.work-card:hover {
transform: translateY(-10px) scale(1.02);
border-color: rgba(102, 126, 234, 0.5);
box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}
.work-preview {
height: 200px;
background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
position: relative;
overflow: hidden;
}
.work-preview::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transform: rotate(45deg);
transition: all 0.5s;
opacity: 0;
}
.work-card:hover .work-preview::before {
opacity: 1;
animation: shine 0.5s;
}
@keyframes shine {
from { transform: rotate(45deg) translateX(-100%); }
to { transform: rotate(45deg) translateX(100%); }
}
.work-info {
padding: 25px;
}
.work-info h3 {
font-size: 1.3rem;
margin-bottom: 10px;
}
.work-info p {
color: rgba(255, 255, 255, 0.5);
font-size: 0.9rem;
margin-bottom: 15px;
}
.work-tags {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.work-tag {
padding: 5px 12px;
background: rgba(102, 126, 234, 0.2);
border: 1px solid rgba(102, 126, 234, 0.3);
border-radius: 20px;
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.7);
}
/* Contact Section */
#contact {
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
text-align: center;
}
.contact-text {
color: rgba(255, 255, 255, 0.5);
margin-bottom: 30px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
.contact-links {
display: flex;
justify-content: center;
gap: 20px;
}
.contact-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 25px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #fff;
text-decoration: none;
border-radius: 10px;
transition: all 0.3s;
}
.contact-link:hover {
background: rgba(102, 126, 234, 0.2);
border-color: rgba(102, 126, 234, 0.5);
box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}
/* Footer */
footer {
padding: 30px;
text-align: center;
color: rgba(255, 255, 255, 0.3);
font-size: 0.85rem;
background: rgba(0, 0, 0, 0.8);
}
/* Responsive */
@media (max-width: 768px) {
nav {
padding: 15px 20px;
}
.nav-links {
display: none;
}
.hero h1 {
font-size: 3rem;
}
.hero .subtitle {
font-size: 1.2rem;
}
section {
padding: 60px 20px;
}
.works-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- Three.js Background -->
<canvas id="bg-canvas"></canvas>
<!-- Content -->
<div class="content">
<!-- Navigation -->
<nav>
<a href="#" class="logo">Levelfly</a>
<ul class="nav-links">
<li><a href="#skills">Skills</a></li>
<li><a href="#works">Works</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1>Levelfly</h1>
<p class="subtitle">Web Developer & Designer</p>
<p class="description">
熱愛創造美好的網頁體驗,專注於前端開發與使用者介面設計。
透過程式碼將創意轉化為現實。
</p>
<a href="#works" class="cta-button">View My Work</a>
</div>
<div class="scroll-hint">↓ Scroll to explore</div>
</section>
<!-- Skills Section -->
<section id="skills">
<h2 class="section-title">My <span>Skills</span></h2>
<div class="skills-grid">
<div class="skill-item">
<div class="skill-icon"></></div>
<div class="skill-name">HTML5</div>
</div>
<div class="skill-item">
<div class="skill-icon">#</div>
<div class="skill-name">CSS3</div>
</div>
<div class="skill-item">
<div class="skill-icon">JS</div>
<div class="skill-name">JavaScript</div>
</div>
<div class="skill-item">
<div class="skill-icon">B</div>
<div class="skill-name">Bootstrap</div>
</div>
<div class="skill-item">
<div class="skill-icon">$</div>
<div class="skill-name">jQuery</div>
</div>
</div>
</section>
<!-- Works Section -->
<section id="works">
<h2 class="section-title">My <span>Works</span></h2>
<div class="works-grid">
<a href="sanxia-family-restaurants/index.html" class="work-card">
<div class="work-preview">🍽️</div>
<div class="work-info">
<h3>三峽親子家庭餐廳推薦</h3>
<p>精選三峽區適合帶小孩的親子友善餐廳,包含營業時間、兒童設施、停車資訊等完整指南。</p>
<div class="work-tags">
<span class="work-tag">親子餐廳</span>
<span class="work-tag">餐廳比較</span>
<span class="work-tag">RWD</span>
</div>
</div>
</a>
<a href="tainan-family-trip/index.html" class="work-card">
<div class="work-preview">🏯</div>
<div class="work-info">
<h3>台南二日遊家庭旅遊攻略</h3>
<p>7人家庭台南兩天一夜完整行程規劃,兼顧幼兒與長輩的親子景點、住宿、美食推薦。</p>
<div class="work-tags">
<span class="work-tag">旅遊規劃</span>
<span class="work-tag">親子景點</span>
<span class="work-tag">RWD</span>
</div>
</div>
</a>
<a href="tainan-guide/index.html" class="work-card">
<div class="work-preview">🏛️</div>
<div class="work-info">
<h3>台南旅遊全方位指南</h3>
<p>景點、美食、小吃、夜市、手搖飲、住宿一次搞定的台南旅遊完整攻略,含分類篩選與詳細資訊。</p>
<div class="work-tags">
<span class="work-tag">旅遊指南</span>
<span class="work-tag">RWD</span>
<span class="work-tag">PWA</span>
</div>
</div>
</a>
<a href="taipei-clinic-guide.html" class="work-card">
<div class="work-preview">🏥</div>
<div class="work-info">
<h3>大台北婦產科診所指南</h3>
<p>完整收錄60+間大台北地區婦產科診所資訊,含費用比較、週六門診、女醫師推薦。</p>
<div class="work-tags">
<span class="work-tag">Tailwind CSS</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">RWD</span>
</div>
</div>
</a>
<a href="dental-implant-guide/index.html" class="work-card">
<div class="work-preview">🦷</div>
<div class="work-info">
<h3>大台北植牙診所指南</h3>
<p>完整的大台北地區人工植牙診所比較網站,收錄25+家診所、費用比較、植體品牌分析及風險須知。</p>
<div class="work-tags">
<span class="work-tag">TailwindCSS</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">RWD</span>
</div>
</div>
</a>
<a href="tainan-car-rental/index.html" class="work-card">
<div class="work-preview">🚗</div>
<div class="work-info">
<h3>台南7人座租車指南</h3>
<p>完整收錄台南地區10家租車公司7人座車款比較,包含價格、評價、車款介紹及行程推薦。</p>
<div class="work-tags">
<span class="work-tag">TailwindCSS</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">RWD</span>
</div>
</div>
</a>
<a href="saas-research/index.html" class="work-card">
<div class="work-preview">🚀</div>
<div class="work-info">
<h3>SaaS 轉型深度研究報告</h3>
<p>電商 SaaS 市場競爭分析、Micro-SaaS 成功案例、賣家痛點調查、AI 工具市場與定價策略研究。</p>
<div class="work-tags">
<span class="work-tag">市場研究</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">深色主題</span>
</div>
</div>
</a>
<a href="tesla-analysis/index.html" class="work-card">
<div class="work-preview">📈</div>
<div class="work-info">
<h3>特斯拉股票深度分析</h3>
<p>TSLA 投資研究報告,涵蓋財務數據、成長動能、風險評估、多空觀點與估值分析。</p>
<div class="work-tags">
<span class="work-tag">Chart.js</span>
<span class="work-tag">投資分析</span>
<span class="work-tag">深色主題</span>
</div>
</div>
</a>
<a href="taiwan-ecommerce-research/index.html" class="work-card">
<div class="work-preview">🛒</div>
<div class="work-info">
<h3>台灣電商市場研究報告</h3>
<p>2024年台灣電商市場全面分析,涵蓋市場規模4,668億、平台競爭態勢、消費者行為、法規環境與產業趨勢。</p>
<div class="work-tags">
<span class="work-tag">市場研究</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">深色主題</span>
</div>
</div>
</a>
<a href="coupang-research/index.html" class="work-card">
<div class="work-preview">🚀</div>
<div class="work-info">
<h3>酷澎(Coupang)情報研究</h3>
<p>韓國最大電商平台深度分析:商業模式、財務數據、台灣市場策略、競爭態勢與 YouTube 影音研究。</p>
<div class="work-tags">
<span class="work-tag">市場研究</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">電商分析</span>
</div>
</div>
</a>
<a href="preschool-research/index.html" class="work-card">
<div class="work-preview">👶</div>
<div class="work-info">
<h3>瑞融的成長決策書</h3>
<p>給媽咪的專屬報告:綜合 NICHD 26年追蹤研究與台灣家長經驗,分析2歲幼兒入學幼幼班的決策。</p>
<div class="work-tags">
<span class="work-tag">育兒研究</span>
<span class="work-tag">Chart.js</span>
<span class="work-tag">暖色調</span>
</div>
</div>
</a>
<a href="court-rulings-research/index.html" class="work-card">
<div class="work-preview">⚖️</div>
<div class="work-info">
<h3>最高法院誠信原則判決研究</h3>
<p>台灣司法院最高法院關於民法第148條「誠信原則」重要判決整理,涵蓋權利濫用、權利失效、禁反言等法律概念。</p>
<div class="work-tags">
<span class="work-tag">法律研究</span>
<span class="work-tag">判決整理</span>
<span class="work-tag">誠信原則</span>
</div>
</div>
</a>
<a href="court-rulings-research/simultaneous-performance.html" class="work-card">
<div class="work-preview">🤝</div>
<div class="work-info">
<h3>最高法院同時履行抗辯權判決研究</h3>
<p>台灣司法院最高法院關於民法第264條「同時履行抗辯權」重要判決整理,涵蓋雙務契約、遲延責任、類推適用等法律概念。</p>
<div class="work-tags">
<span class="work-tag">法律研究</span>
<span class="work-tag">判決整理</span>
<span class="work-tag">同時履行</span>
</div>
</div>
</a>
<a href="demo/bubble-pop-english/index.html" class="work-card">
<div class="work-preview">🫧</div>
<div class="work-info">
<h3>Bubble Pop English 英語學習泡泡遊戲</h3>
<p>互動式英語學習遊戲,透過點擊泡泡學習常用英文單字,支援語音朗讀與即時回饋。</p>
<div class="work-tags">
<span class="work-tag">遊戲</span>
<span class="work-tag">Web Audio</span>
<span class="work-tag">Speech API</span>
</div>
</div>
</a>
<a href="demo/memory-match-english/index.html" class="work-card">
<div class="work-preview">🎴</div>
<div class="work-info">
<h3>Memory Match English 翻牌記憶遊戲</h3>
<p>經典翻牌配對遊戲,支援動物、食物、顏色等多種主題,搭配語音朗讀加深記憶。</p>
<div class="work-tags">
<span class="work-tag">遊戲</span>
<span class="work-tag">CSS 3D</span>
<span class="work-tag">Speech API</span>
</div>
</div>
</a>
<a href="demo/spell-it-english/index.html" class="work-card">
<div class="work-preview">✏️</div>
<div class="work-info">
<h3>Spell It! 英語拼字遊戲</h3>
<p>看圖聽音拼單字,點擊字母拼出正確答案,支援多主題與提示功能。</p>
<div class="work-tags">
<span class="work-tag">遊戲</span>
<span class="work-tag">拼字練習</span>
<span class="work-tag">Speech API</span>
</div>
</div>
</a>
<a href="demo/jingxin-orientation/index.html" class="work-card">
<div class="work-preview">📚</div>
<div class="work-info">
<h3>靜心小學新生說明會</h3>
<p>精美的學校說明會重點整理網頁,清晰呈現入學資訊與教育理念。</p>
<div class="work-tags">
<span class="work-tag">資訊整理</span>
<span class="work-tag">RWD</span>
<span class="work-tag">教育</span>
</div>
</div>
</a>
<a href="demo/space-explorer/index.html" class="work-card">
<div class="work-preview">🚀</div>
<div class="work-info">
<h3>Space Explorer 宇宙探索</h3>
<p>沉浸式 3D 太空探索體驗,含互動星球系統、粒子星空、即時 HUD 介面。</p>
<div class="work-tags">
<span class="work-tag">Three.js</span>
<span class="work-tag">3D</span>
<span class="work-tag">Interactive</span>
</div>
</div>
</a>
<a href="demo/vr-gallery/index.html" class="work-card">
<div class="work-preview">🎨</div>
<div class="work-info">
<h3>VR Gallery 虛擬藝廊</h3>
<p>WebXR 虛擬實境藝術畫廊,第一人稱探索,支援 VR 頭戴裝置。</p>
<div class="work-tags">
<span class="work-tag">WebXR</span>
<span class="work-tag">VR</span>
<span class="work-tag">First-Person</span>
</div>
</div>
</a>
<a href="archive/legoking/index.html" class="work-card">
<div class="work-preview">📱</div>
<div class="work-info">
<h3>手機支架產品頁</h3>
<p>產品行銷頁面,使用捲動觸發動畫效果打造沉浸式體驗。</p>
<div class="work-tags">
<span class="work-tag">jQuery</span>
<span class="work-tag">Waypoints</span>
<span class="work-tag">Animation</span>
</div>
</div>
</a>
<a href="archive/bootstrap.html" class="work-card">
<div class="work-preview">📰</div>
<div class="work-info">
<h3>Bootstrap 響應式網站</h3>
<p>完整的響應式網頁設計,包含導覽列、表格、新聞排版。</p>
<div class="work-tags">
<span class="work-tag">Bootstrap</span>
<span class="work-tag">RWD</span>
<span class="work-tag">Grid</span>
</div>
</div>
</a>
<a href="archive/pikachu_begin/index.html" class="work-card">
<div class="work-preview">🎮</div>
<div class="work-info">
<h3>Pikachu 個人名片</h3>
<p>創意 CSS 圓形設計的個人介紹頁面。</p>
<div class="work-tags">
<span class="work-tag">CSS</span>
<span class="work-tag">Design</span>
</div>
</div>
</a>
<a href="archive/lounge_basic/lounge.html" class="work-card">
<div class="work-preview">🍺</div>
<div class="work-info">
<h3>Lounge 休息室</h3>
<p>多頁面網站結構,包含完整的導航系統。</p>
<div class="work-tags">
<span class="work-tag">HTML</span>
<span class="work-tag">Multi-page</span>
</div>
</div>
</a>
<a href="archive/2.html" class="work-card">
<div class="work-preview">🗺</div>
<div class="work-info">
<h3>Segway 旅遊日記</h3>
<p>整合社群分享功能與網路字型的部落格頁面。</p>
<div class="work-tags">
<span class="work-tag">Social</span>
<span class="work-tag">Web Font</span>
</div>
</div>
</a>
<a href="archive/book/index.html" class="work-card">
<div class="work-preview">📖</div>
<div class="work-info">
<h3>產品說明書</h3>
<p>響應式圖片展示頁面設計。</p>
<div class="work-tags">
<span class="work-tag">Images</span>
<span class="work-tag">Layout</span>
</div>
</div>
</a>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<h2 class="section-title">Get In <span>Touch</span></h2>
<p class="contact-text">
有任何合作想法或專案需求?歡迎與我聯繫!
</p>
<div class="contact-links">
<a href="https://github.com/levelfly" class="contact-link" target="_blank">
GitHub
</a>
<a href="mailto:contact@levelfly.com" class="contact-link">
Email
</a>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2024 Levelfly. Built with Three.js & passion.</p>
</footer>
</div>
<!-- Three.js Script -->
<script>
// Scene setup
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({
canvas: document.getElementById('bg-canvas'),
antialias: true,
alpha: true
});
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
// Particles
const particlesGeometry = new THREE.BufferGeometry();
const particlesCount = 3000;
const posArray = new Float32Array(particlesCount * 3);
const colorsArray = new Float32Array(particlesCount * 3);
for (let i = 0; i < particlesCount * 3; i += 3) {
// Position
posArray[i] = (Math.random() - 0.5) * 10;
posArray[i + 1] = (Math.random() - 0.5) * 10;
posArray[i + 2] = (Math.random() - 0.5) * 10;
// Colors (purple to blue gradient)
const t = Math.random();
colorsArray[i] = 0.4 + t * 0.2; // R
colorsArray[i + 1] = 0.3 + t * 0.2; // G
colorsArray[i + 2] = 0.8 + t * 0.2; // B
}
particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
particlesGeometry.setAttribute('color', new THREE.BufferAttribute(colorsArray, 3));
const particlesMaterial = new THREE.PointsMaterial({
size: 0.02,
vertexColors: true,
transparent: true,
opacity: 0.8,
blending: THREE.AdditiveBlending
});
const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial);
scene.add(particlesMesh);
// Floating geometries
const geometries = [];
const geometryCount = 15;
for (let i = 0; i < geometryCount; i++) {
let geometry;
const type = Math.floor(Math.random() * 4);
switch(type) {
case 0:
geometry = new THREE.IcosahedronGeometry(0.1 + Math.random() * 0.2);
break;
case 1:
geometry = new THREE.OctahedronGeometry(0.1 + Math.random() * 0.2);
break;
case 2:
geometry = new THREE.TetrahedronGeometry(0.1 + Math.random() * 0.2);
break;
default:
geometry = new THREE.TorusGeometry(0.1 + Math.random() * 0.1, 0.02, 8, 16);
}
const material = new THREE.MeshBasicMaterial({
color: new THREE.Color(`hsl(${240 + Math.random() * 60}, 70%, 60%)`),
wireframe: true,
transparent: true,
opacity: 0.3
});
const mesh = new THREE.Mesh(geometry, material);
mesh.position.set(
(Math.random() - 0.5) * 8,
(Math.random() - 0.5) * 8,
(Math.random() - 0.5) * 5
);
mesh.rotation.set(
Math.random() * Math.PI,
Math.random() * Math.PI,
Math.random() * Math.PI
);
mesh.userData = {
rotationSpeed: {
x: (Math.random() - 0.5) * 0.02,
y: (Math.random() - 0.5) * 0.02,
z: (Math.random() - 0.5) * 0.02
},
floatSpeed: Math.random() * 0.5 + 0.5,
floatOffset: Math.random() * Math.PI * 2
};
scene.add(mesh);
geometries.push(mesh);
}
camera.position.z = 3;
// Mouse interaction
let mouseX = 0;
let mouseY = 0;
let targetX = 0;
let targetY = 0;
document.addEventListener('mousemove', (event) => {
mouseX = (event.clientX / window.innerWidth) * 2 - 1;
mouseY = -(event.clientY / window.innerHeight) * 2 + 1;
});
// Scroll interaction
let scrollY = 0;
document.addEventListener('scroll', () => {
scrollY = window.scrollY;
});
// Animation
const clock = new THREE.Clock();
function animate() {
requestAnimationFrame(animate);
const elapsedTime = clock.getElapsedTime();
// Smooth mouse following
targetX += (mouseX - targetX) * 0.05;
targetY += (mouseY - targetY) * 0.05;
// Rotate particles based on mouse
particlesMesh.rotation.x = targetY * 0.3;
particlesMesh.rotation.y = targetX * 0.3;
// Slow rotation
particlesMesh.rotation.z = elapsedTime * 0.05;
// Scroll effect
particlesMesh.position.y = scrollY * 0.001;
// Animate floating geometries
geometries.forEach((mesh, index) => {
mesh.rotation.x += mesh.userData.rotationSpeed.x;
mesh.rotation.y += mesh.userData.rotationSpeed.y;
mesh.rotation.z += mesh.userData.rotationSpeed.z;
// Float animation
mesh.position.y += Math.sin(elapsedTime * mesh.userData.floatSpeed + mesh.userData.floatOffset) * 0.002;
});
renderer.render(scene, camera);
}
animate();
// Resize handler
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
</script>
</body>
</html>