2023-01-02 03:18:47 +02:00
|
|
|
<template>
|
|
|
|
<MkSpacer :content-max="700">
|
2023-01-06 13:19:27 +02:00
|
|
|
<div class="_gaps">
|
|
|
|
<MkFolder class="item">
|
2023-01-08 07:17:56 +02:00
|
|
|
<template #header><i class="ti ti-activity"></i> Heatmap</template>
|
2023-01-06 13:19:27 +02:00
|
|
|
<XHeatmap :user="user" :src="'notes'"/>
|
|
|
|
</MkFolder>
|
|
|
|
<MkFolder class="item">
|
2023-01-08 07:17:56 +02:00
|
|
|
<template #header><i class="ti ti-pencil"></i> Notes</template>
|
|
|
|
<XNotes :user="user"/>
|
|
|
|
</MkFolder>
|
|
|
|
<MkFolder class="item">
|
|
|
|
<template #header><i class="ti ti-users"></i> Following</template>
|
|
|
|
<XFollowing :user="user"/>
|
|
|
|
</MkFolder>
|
|
|
|
<MkFolder class="item">
|
|
|
|
<template #header><i class="ti ti-eye"></i> PV</template>
|
2023-01-06 13:19:27 +02:00
|
|
|
<XPv :user="user"/>
|
|
|
|
</MkFolder>
|
|
|
|
</div>
|
2023-01-02 03:18:47 +02: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';
|
2023-01-08 07:17:56 +02:00
|
|
|
import XNotes from './activity.notes.vue';
|
|
|
|
import XFollowing from './activity.following.vue';
|
2023-01-02 03:18:47 +02:00
|
|
|
import MkFolder from '@/components/MkFolder.vue';
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
</style>
|