FoundKey/packages/client/src/pages/messages.vue

33 lines
710 B
Vue
Raw Normal View History

2022-08-10 20:42:30 +00:00
<template>
<MkStickyContainer>
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
2022-08-10 20:42:30 +00:00
<MkSpacer :content-max="800">
<XNotes :pagination="pagination"/>
</MkSpacer>
</MkStickyContainer>
</template>
2022-01-07 07:34:11 +00:00
<script lang="ts" setup>
2021-11-11 17:02:25 +00:00
import XNotes from '@/components/notes.vue';
2022-01-07 07:34:11 +00:00
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
2022-01-07 07:34:11 +00:00
const pagination = {
2022-01-12 17:26:10 +00:00
endpoint: 'notes/mentions' as const,
2022-01-07 07:34:11 +00:00
limit: 10,
params: {
visibility: 'specified',
},
2022-01-07 07:34:11 +00:00
};
const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);
definePageMetadata({
title: i18n.ts.directNotes,
icon: 'fas fa-envelope',
bg: 'var(--bg)',
});
</script>