Skip to content

Commit d9f714e

Browse files
committed
fix: update prettier config and format code
1 parent a0d7ea4 commit d9f714e

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"singleQuote": true,
77
"trailingComma": "all",
88
"bracketSpacing": true,
9-
"jsxBracketSameLine": false,
9+
"bracketSameLine": false,
1010
"arrowParens": "avoid",
1111
"endOfLine": "lf"
1212
}

index.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,25 @@ <h2>Student Club's Association of Information in Central Taiwan</h2>
166166
<div class="bHole"></div>
167167
<div
168168
class="charger"
169-
onclick="document.body.style.opacity=0;
170-
setTimeout(function() {
171-
window.scrollTo(0,containerScrollWidth);
172-
setTimeout(function() {
173-
document.body.style.opacity=1
174-
}, 200);
175-
}, 200);"
169+
onclick="
170+
document.body.style.opacity = 0;
171+
setTimeout(function () {
172+
window.scrollTo(0, containerScrollWidth);
173+
setTimeout(function () {
174+
document.body.style.opacity = 1;
175+
}, 200);
176+
}, 200);
177+
"
176178
></div>
177179
<div
178180
class="cpu"
179-
onclick="document.querySelector('.cpu img').style.animation='jump .5s ease-in-out';setTimeout(function() {document.querySelector('.cpu img').style.animation=''}, 500);"
181+
onclick="
182+
document.querySelector('.cpu img').style.animation =
183+
'jump .5s ease-in-out';
184+
setTimeout(function () {
185+
document.querySelector('.cpu img').style.animation = '';
186+
}, 500);
187+
"
180188
>
181189
<img src="/src/img/logo.svg" alt="" />
182190
</div>
@@ -567,9 +575,7 @@ <h3>You are the missing one!</h3>
567575
<div class="creditsLabel">
568576
<i
569577
class="fa-regular fa-circle-up"
570-
onclick=" window.scrollTo({top: 0,
571-
behavior: 'smooth'
572-
});"
578+
onclick="window.scrollTo({ top: 0, behavior: 'smooth' })"
573579
></i>
574580
<label for="credits">
575581
<i class="fa-regular fa-copyright"></i

0 commit comments

Comments
 (0)