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