paricafe/packages/frontend/src/pages/user/activity.vue

41 lines
1.1 KiB
Vue
Raw Normal View History

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