misskey-awawa/src/client/pages/emojis.vue

31 lines
554 B
Vue
Raw Normal View History

2021-08-07 01:23:59 +00:00
<template>
<XCategory v-if="tab === 'category'"/>
2021-08-07 01:23:59 +00:00
</template>
<script lang="ts">
import { defineComponent, computed } from 'vue';
2021-08-07 01:23:59 +00:00
import * as os from '@client/os';
import * as symbols from '@client/symbols';
import XCategory from './emojis.category.vue';
2021-08-07 01:23:59 +00:00
export default defineComponent({
components: {
XCategory,
2021-08-07 01:23:59 +00:00
},
data() {
return {
[symbols.PAGE_INFO]: computed(() => ({
2021-08-07 01:23:59 +00:00
title: this.$ts.customEmojis,
icon: 'fas fa-laugh',
bg: 'var(--bg)',
})),
tab: 'category',
2021-08-07 01:23:59 +00:00
}
},
});
</script>
<style lang="scss" scoped>
</style>