2023-01-02 10:18:47 +09:00
|
|
|
<template>
|
|
|
|
<MkSpacer :content-max="700">
|
2023-01-06 20:19:27 +09:00
|
|
|
<div class="_gaps">
|
|
|
|
<MkFolder class="item">
|
|
|
|
<template #header>Heatmap</template>
|
|
|
|
<XHeatmap :user="user" :src="'notes'"/>
|
|
|
|
</MkFolder>
|
|
|
|
<MkFolder class="item">
|
|
|
|
<template #header>PV</template>
|
|
|
|
<XPv :user="user"/>
|
|
|
|
</MkFolder>
|
|
|
|
</div>
|
2023-01-02 10:18:47 +09:00
|
|
|
</MkSpacer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed } from 'vue';
|
|
|
|
import * as misskey from 'misskey-js';
|
|
|
|
import XHeatmap from './activity.heatmap.vue';
|
|
|
|
import XPv from './activity.pv.vue';
|
|
|
|
import MkFolder from '@/components/MkFolder.vue';
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
</style>
|