2023-07-27 08:31:52 +03:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2023-01-02 03:18:47 +02:00
|
|
|
<template>
|
2023-05-19 14:52:15 +03:00
|
|
|
<MkSpacer :contentMax="700">
|
2023-01-06 13:19:27 +02:00
|
|
|
<div class="_gaps">
|
2023-01-09 02:41:25 +02:00
|
|
|
<MkFoldableSection 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'"/>
|
2023-01-09 02:41:25 +02:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-09-30 22:53:52 +03:00
|
|
|
<template #header><i class="ph-pencil ph-bold ph-lg"></i> Notes</template>
|
2023-01-08 07:17:56 +02:00
|
|
|
<XNotes :user="user"/>
|
2023-01-09 02:41:25 +02:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-09-30 22:53:52 +03:00
|
|
|
<template #header><i class="ph-users ph-bold pg-lg"></i> Following</template>
|
2023-01-08 07:17:56 +02:00
|
|
|
<XFollowing :user="user"/>
|
2023-01-09 02:41:25 +02:00
|
|
|
</MkFoldableSection>
|
|
|
|
<MkFoldableSection class="item">
|
2023-09-30 22:53:52 +03:00
|
|
|
<template #header><i class="ph-eye ph-bold ph-lg"></i> PV</template>
|
2023-01-06 13:19:27 +02:00
|
|
|
<XPv :user="user"/>
|
2023-01-09 02:41:25 +02:00
|
|
|
</MkFoldableSection>
|
2023-01-06 13:19:27 +02:00
|
|
|
</div>
|
2023-01-02 03:18:47 +02:00
|
|
|
</MkSpacer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2023-09-04 07:33:38 +03:00
|
|
|
import * as Misskey from 'misskey-js';
|
2023-01-02 03:18:47 +02:00
|
|
|
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-09 02:41:25 +02:00
|
|
|
import MkFoldableSection from '@/components/MkFoldableSection.vue';
|
2023-01-02 03:18:47 +02:00
|
|
|
|
|
|
|
const props = defineProps<{
|
2023-09-04 07:33:38 +03:00
|
|
|
user: Misskey.entities.User;
|
2023-01-02 03:18:47 +02:00
|
|
|
}>();
|
|
|
|
|
|
|
|
</script>
|