mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-27 12:57:49 +02:00
917ef465a5
* wip * wip * wip * Update style.scss * wip * wip * wip * wip
36 lines
778 B
Vue
36 lines
778 B
Vue
<template>
|
|
<MkStickyContainer>
|
|
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
|
|
<MkSpacer :content-max="800">
|
|
<XNotes class="_content" :pagination="pagination"/>
|
|
</MkSpacer>
|
|
</MkStickyContainer>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue';
|
|
import XNotes from '@/components/MkNotes.vue';
|
|
import { definePageMetadata } from '@/scripts/page-metadata';
|
|
|
|
const props = defineProps<{
|
|
tag: string;
|
|
}>();
|
|
|
|
const pagination = {
|
|
endpoint: 'notes/search-by-tag' as const,
|
|
limit: 10,
|
|
params: computed(() => ({
|
|
tag: props.tag,
|
|
})),
|
|
};
|
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
definePageMetadata(computed(() => ({
|
|
title: props.tag,
|
|
icon: 'ti ti-hash',
|
|
})));
|
|
</script>
|