Skip to content

Commit 00d2584

Browse files
committed
update, hide badge
1 parent fea8ced commit 00d2584

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

_layouts/communities.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</style>
5656

5757
<div class="communities-wrap pt-44 pb-16 px-6 max-w-4xl mx-auto">
58-
<h2>{{ page.title | default: "Communities" }}</h2>
58+
<h1 class="text-3xl font-bold mb-8">{{ page.title | default: "Communities" }}</h1>
5959
<p class="text-gray-600 mb-6">A curated list of speakers who have presented at Lombok Dev Meetups and Events over the years. Connect with these talented individuals on LinkedIn to expand your professional network and stay updated on their latest endeavors.</p>
6060

6161

@@ -64,7 +64,7 @@ <h2>{{ page.title | default: "Communities" }}</h2>
6464
<select id="sort">
6565
<option value="az">Sort A → Z</option>
6666
<option value="za">Sort Z → A</option>
67-
<option value="most">Most Appearances</option>
67+
<!-- <option value="most">Most Appearances</option> -->
6868
</select>
6969
</div>
7070

@@ -171,7 +171,7 @@ <h2>{{ page.title | default: "Communities" }}</h2>
171171
this.onerror=function(){this.src='{{ file_png_first }}'};
172172
this.onerror=function(){this.src='../assets/lombokdev/speakers/placeholder.png'};">
173173
<div class="speaker-name">{{ name }}</div>
174-
<div class="speaker-badge">{{ count }}x</div>
174+
<!-- <div class="speaker-badge">{{ count }}x</div> -->
175175
</a>
176176
{% endif %}
177177
{% endfor %}
@@ -206,12 +206,12 @@ <h2>{{ page.title | default: "Communities" }}</h2>
206206
const nameB = b.dataset.name.toLowerCase();
207207
if (order === 'az') return nameA.localeCompare(nameB);
208208
if (order === 'za') return nameB.localeCompare(nameA);
209-
if (order === 'most') {
210-
const ca = parseInt(a.dataset.count || '0', 10);
211-
const cb = parseInt(b.dataset.count || '0', 10);
212-
if (cb === ca) return nameA.localeCompare(nameB);
213-
return cb - ca;
214-
}
209+
// if (order === 'most') {
210+
// const ca = parseInt(a.dataset.count || '0', 10);
211+
// const cb = parseInt(b.dataset.count || '0', 10);
212+
// if (cb === ca) return nameA.localeCompare(nameB);
213+
// return cb - ca;
214+
// }
215215
return 0;
216216
});
217217
cards.forEach(c => grid.appendChild(c));

0 commit comments

Comments
 (0)