2020-01-29 19:37:25 +00:00
|
|
|
<template>
|
2022-06-20 08:38:49 +00:00
|
|
|
<MkStickyContainer>
|
|
|
|
<template #header><MkPageHeader/></template>
|
|
|
|
<MkSpacer :content-max="800">
|
|
|
|
<XNotes ref="notes" :pagination="pagination"/>
|
|
|
|
</MkSpacer>
|
|
|
|
</MkStickyContainer>
|
2020-01-29 19:37:25 +00:00
|
|
|
</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';
|
2022-06-20 08:38:49 +00:00
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata';
|
2020-01-29 19:37:25 +00:00
|
|
|
|
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,
|
|
|
|
};
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2022-06-20 08:38:49 +00:00
|
|
|
definePageMetadata({
|
|
|
|
title: i18n.ts.featured,
|
|
|
|
icon: 'fas fa-fire-alt',
|
|
|
|
bg: 'var(--bg)',
|
2020-01-29 19:37:25 +00:00
|
|
|
});
|
|
|
|
</script>
|