2023-07-27 05:31:52 +00:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2023-01-02 01:18:47 +00:00
|
|
|
<template>
|
2023-05-19 11:52:15 +00:00
|
|
|
<MkSpacer :contentMax="700">
|
2023-01-06 11:19:27 +00:00
|
|
|
<div class="_gaps">
|
2023-01-09 00:41:25 +00:00
|
|
|
<MkFoldableSection class="item">
|
2023-01-08 05:17:56 +00:00
|
|
|
<template #header><i class="ti ti-activity"></i> Heatmap</template>
|
2023-01-06 11:19:27 +00:00
|
|
|
<XHeatmap :user="user" :src="'notes'"/>
|
2023-01-09 00:41:25 +00:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-01-08 05:17:56 +00:00
|
|
|
<template #header><i class="ti ti-pencil"></i> Notes</template>
|
|
|
|
<XNotes :user="user"/>
|
2023-01-09 00:41:25 +00:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-01-08 05:17:56 +00:00
|
|
|
<template #header><i class="ti ti-users"></i> Following</template>
|
|
|
|
<XFollowing :user="user"/>
|
2023-01-09 00:41:25 +00:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-01-08 05:17:56 +00:00
|
|
|
<template #header><i class="ti ti-eye"></i> PV</template>
|
2023-01-06 11:19:27 +00:00
|
|
|
<XPv :user="user"/>
|
2023-01-09 00:41:25 +00:00
|
|
|
</MkFoldableSection>
|
2023-01-06 11:19:27 +00:00
|
|
|
</div>
|
2023-01-02 01:18:47 +00:00
|
|
|
</MkSpacer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import * as misskey from 'misskey-js';
|
|
|
|
import XHeatmap from './activity.heatmap.vue';
|
|
|
|
import XPv from './activity.pv.vue';
|
2023-01-08 05:17:56 +00:00
|
|
|
import XNotes from './activity.notes.vue';
|
|
|
|
import XFollowing from './activity.following.vue';
|
2023-01-09 00:41:25 +00:00
|
|
|
import MkFoldableSection from '@/components/MkFoldableSection.vue';
|
2023-01-02 01:18:47 +00:00
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
}>();
|
|
|
|
|
|
|
|
</script>
|