enhance(client): make heatmap available on about page

This commit is contained in:
syuilo 2022-12-27 12:30:34 +09:00
parent 5ebcdb4f31
commit 2353b5f553
3 changed files with 248 additions and 223 deletions

View file

@ -34,6 +34,9 @@
</div>
</div>
</div>
<div class="heatmap _panel">
<MkActiveUsersHeatmap/>
</div>
<div class="subpub">
<div class="sub">
<div class="title">Sub</div>
@ -72,6 +75,7 @@ import MkChart from '@/components/MkChart.vue';
import { useChartTooltip } from '@/scripts/use-chart-tooltip';
import * as os from '@/os';
import { i18n } from '@/i18n';
import MkActiveUsersHeatmap from '@/components/MkActiveUsersHeatmap.vue';
Chart.register(
ArcElement,
@ -196,6 +200,11 @@ onMounted(() => {
}
}
> .heatmap {
padding: 16px;
margin-bottom: 16px;
}
> .subpub {
display: flex;
gap: 16px;