yumechi-no-kuni/src/client/pages/emojis.vue

45 lines
798 B
Vue
Raw Normal View History

2021-08-06 20:23:59 -05:00
<template>
2021-10-08 22:33:08 -05:00
<div>
<MkHeader :info="header"/>
<div :class="$style.root">
<XCategory v-if="tab === 'category'"/>
</div>
2021-09-20 14:09:28 -05:00
</div>
2021-08-06 20:23:59 -05:00
</template>
<script lang="ts">
import { defineComponent, computed } from 'vue';
2021-08-06 20:23:59 -05:00
import * as os from '@client/os';
import * as symbols from '@client/symbols';
import XCategory from './emojis.category.vue';
2021-08-06 20:23:59 -05:00
export default defineComponent({
components: {
XCategory,
2021-08-06 20:23:59 -05:00
},
data() {
return {
[symbols.PAGE_INFO]: computed(() => ({
2021-08-06 20:23:59 -05:00
title: this.$ts.customEmojis,
icon: 'fas fa-laugh',
bg: 'var(--bg)',
})),
2021-10-08 22:33:08 -05:00
header: computed(() => ({
title: this.$ts.customEmojis,
icon: 'fas fa-laugh',
bg: 'var(--bg)',
})),
tab: 'category',
2021-08-06 20:23:59 -05:00
}
},
});
</script>
2021-09-20 14:09:28 -05:00
<style lang="scss" module>
.root {
max-width: 1000px;
margin: 0 auto;
}
2021-08-06 20:23:59 -05:00
</style>