fix(design): been on where page

This commit is contained in:
svemagie
2026-03-23 10:00:17 +01:00
parent 3fe9005751
commit ed1072ce05
2 changed files with 5 additions and 5 deletions

View File

@@ -60,8 +60,8 @@ withSidebar: false
<div class="flex flex-wrap items-center gap-2 mt-2">
<span
class="text-xs px-2 py-0.5 rounded-full font-medium"
:class="categoryColors[commit.category]"
x-text="categoryLabels[commit.category] || commit.category"
:class="categoryColors[commit.commitCategory]"
x-text="categoryLabels[commit.commitCategory] || commit.commitCategory"
></span>
<a :href="commit.repoUrl" target="_blank" rel="noopener"
class="text-xs px-2 py-0.5 rounded-full bg-surface-100 dark:bg-surface-800 text-surface-600 dark:text-surface-400 hover:text-accent-600 dark:hover:text-accent-400"
@@ -179,12 +179,12 @@ function changelogApp() {
filteredCommits() {
if (this.activeTab === 'all') return this.commits;
return this.commits.filter(c => c.category === this.activeTab);
return this.commits.filter(c => c.commitCategory === this.activeTab);
},
getCount(tabKey) {
if (tabKey === 'all') return this.commits.length;
return this.commits.filter(c => c.category === tabKey).length;
return this.commits.filter(c => c.commitCategory === tabKey).length;
},
formatDate(dateStr) {

View File

@@ -71,7 +71,7 @@ leafletMap: true
{% endif %}
{% if checkins.length %}
<h2 class="text-2xl sm:text-3xl md:text-4xl font-bold text-surface-900 dark:text-surface-100 mb-2">/Been</h2>
<h2 class="text-2xl sm:text-3xl md:text-4xl font-bold text-surface-900 dark:text-surface-100 mb-2">Been</h2>
{% set grouped = checkins | groupby("name") %}
<ul class="divide-y divide-surface-200 dark:divide-surface-700" aria-label="Past check-ins">
{% for groupName, groupItems in grouped %}