calckey/packages/client/src/pages/featured.vue

27 lines
567 B
Vue
Raw Normal View History

<template>
<MkStickyContainer>
<template #header><MkPageHeader/></template>
<MkSpacer :content-max="800">
<XNotes ref="notes" :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/featured' as const,
2022-01-07 07:34:11 +00:00
limit: 10,
offsetMode: true,
};
definePageMetadata({
title: i18n.ts.featured,
icon: 'fas fa-fire-alt',
bg: 'var(--bg)',
});
</script>