Skip to content

Commit 00a3baf

Browse files
committed
feat: add club application button
Add club application feature with bilingual text and dark-themed button, linked to Google Form
1 parent 3c1d4c4 commit 00a3baf

File tree

2 files changed

+84
-2
lines changed

2 files changed

+84
-2
lines changed

index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
</script>
9898
</head>
9999

100-
<body class="emfont-jfOpenHuninn">
100+
<body class="emfont-jfopenhuninn">
101101
<style>
102102
.loading {
103103
position: fixed;
@@ -490,6 +490,16 @@ <h3>Participating clubs</h3>
490490
<div class="club-container">
491491
<div class="club-list"></div>
492492
</div>
493+
<div class="club-apply">
494+
<div class="club-apply-text">
495+
<p>想讓你的社團加入中電會嗎?</p>
496+
<p lang="en-US">Want to join SCAICT with your club?</p>
497+
</div>
498+
<a href="https://docs.google.com/forms/d/1z0w7kQtNb30YG9nXQZEUM1WEZ1CTA52rcvi-X9L04-U/viewform" class="apply-button" target="_blank">
499+
<i class="fa-solid fa-pen-to-square"></i>
500+
立即申請 Apply Now
501+
</a>
502+
</div>
493503
</div>
494504
<div class="sponsor-join">
495505
<div>
@@ -587,7 +597,7 @@ <h2>Credits</h2>
587597
>Quicksand</a
588598
>, <a href="https://justfont.com/huninn/">jf open 粉圓</a>
589599
<footer>
590-
Copyright © 2023 SCAICT All Rights Reserved<br />
600+
Copyright © 2025 SCAICT All Rights Reserved<br />
591601
If you have any questions, please contact us at
592602
593603
</footer>

src/style.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,78 @@ footer {
380380
opacity: 1;
381381
}
382382

383+
.club-apply {
384+
display: flex;
385+
align-items: center;
386+
justify-content: flex-start;
387+
gap: 2rem;
388+
margin-top: 2rem;
389+
padding: 2rem 1rem;
390+
position: relative;
391+
flex-wrap: wrap;
392+
}
393+
394+
.club-apply-text {
395+
display: flex;
396+
flex-direction: column;
397+
gap: 0.3rem;
398+
text-align: left;
399+
}
400+
401+
.club-apply p {
402+
margin: 0;
403+
font-size: 1.1rem;
404+
line-height: 1.5;
405+
}
406+
407+
.club-apply p[lang='en-US'] {
408+
font-size: 0.95rem;
409+
opacity: 0.7;
410+
}
411+
412+
.apply-button {
413+
display: inline-block;
414+
margin-top: 0;
415+
padding: 1rem 2.5rem;
416+
background: rgba(255, 255, 255, 0.05);
417+
color: #fff;
418+
text-decoration: none;
419+
border: 2px solid rgba(255, 255, 255, 0.2);
420+
border-radius: 0.5rem;
421+
font-size: 1.1rem;
422+
font-weight: 600;
423+
transition: all 0.3s ease;
424+
backdrop-filter: blur(10px);
425+
position: relative;
426+
overflow: hidden;
427+
}
428+
429+
.apply-button::before {
430+
content: '';
431+
position: absolute;
432+
top: 0;
433+
left: -100%;
434+
width: 100%;
435+
height: 100%;
436+
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
437+
transition: left 0.5s ease;
438+
}
439+
440+
.apply-button:hover {
441+
background: rgba(255, 255, 255, 0.1);
442+
border-color: rgba(255, 255, 255, 0.4);
443+
box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
444+
transform: translateY(0px);
445+
}
446+
447+
.apply-button:hover::before {
448+
left: 100%;
449+
}
450+
451+
.apply-button i {
452+
margin-right: 0.5rem;
453+
}
454+
383455
.introImg {
384456
background: url(/src/img/背影.webp) no-repeat;
385457
background-position: 0%;

0 commit comments

Comments
 (0)