mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-16 07:38:14 +09:00
0e4a111f81
Resolve #7779
37 lines
624 B
Vue
37 lines
624 B
Vue
<template>
|
|
<div :class="$style.root">
|
|
<XCategory v-if="tab === 'category'"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent, computed } from 'vue';
|
|
import * as os from '@/os';
|
|
import * as symbols from '@/symbols';
|
|
import XCategory from './emojis.category.vue';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
XCategory,
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: computed(() => ({
|
|
title: this.$ts.customEmojis,
|
|
icon: 'fas fa-laugh',
|
|
bg: 'var(--bg)',
|
|
})),
|
|
tab: 'category',
|
|
}
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|