hippofish/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 08:34:11 +01:00
<script lang="ts" setup>
2021-11-11 18:02:25 +01:00
import XNotes from '@/components/notes.vue';
2022-01-07 08:34:11 +01:00
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
2022-01-07 08:34:11 +01:00
const pagination = {
2022-01-12 18:26:10 +01:00
endpoint: 'notes/featured' as const,
2022-01-07 08:34:11 +01:00
limit: 10,
offsetMode: true,
};
definePageMetadata({
title: i18n.ts.featured,
icon: 'fas fa-fire-alt',
bg: 'var(--bg)',
});
</script>