Skip to content

Commit

Permalink
Update home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieHuang2008 committed Jan 28, 2024
1 parent 4e11983 commit b0c10c0
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ <h3>加入我们的行列:</h3>
</div>
</div>
<div id="peoples">
<!-- <script>
showPeople([
['bernie', 'Bernie Huang'],
['nathan', 'Nathan Chen']
].sort(() => Math.random()-0.5), "Council");
showPeople([
['leo_huo', 'Leo Huo'],
['xu', 'George Xu']
], "Members");
[
['jack', 'Jack Lu'],
['carmen', 'Carmen Zhang'],
['richard', 'Richard Zhu'],
['leo_yang', 'Leo Yang']
]
<script>
// showPeople([
// ['bernie', 'Bernie Huang'],
// ['nathan', 'Nathan Chen']
// ].sort(() => Math.random()-0.5), "Council");
// showPeople([
// ['leo_huo', 'Leo Huo'],
// ['xu', 'George Xu']
// ], "Members");
// [
// ['jack', 'Jack Lu'],
// ['carmen', 'Carmen Zhang'],
// ['richard', 'Richard Zhu'],
// ['leo_yang', 'Leo Yang']
// ]
function showPeople(lst, title) {
$("#peoples").innerHTML += `<h3>${title}</h3><br>`;
lst.forEach(pe => {
Expand All @@ -79,7 +79,6 @@ <h3>加入我们的行列:</h3>
})
}
</script>
-->
</div>
<a href="#">
<div id="headline" class="headline">
Expand Down

0 comments on commit b0c10c0

Please sign in to comment.