improve directory structure
This commit is contained in:
parent
8c8e49f6fe
commit
c1ae7f6ff4
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<template>
|
||||
<div>
|
||||
<MkLoading v-if="loading"/>
|
||||
<XEmbedTimelineUI v-else-if="clip" :showHeader="embedParams.header">
|
||||
<XEmTimelineUI v-else-if="clip" :showHeader="embedParams.header">
|
||||
<template #header>
|
||||
<div :class="$style.clipHeader">
|
||||
<div :class="$style.headerClipIconRoot">
|
||||
|
@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:ad="false"
|
||||
/>
|
||||
</template>
|
||||
</XEmbedTimelineUI>
|
||||
</XEmTimelineUI>
|
||||
<XNotFound v-else/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -43,7 +43,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
|
|||
import * as Misskey from 'misskey-js';
|
||||
import MkNotes from '@/components/MkNotes.vue';
|
||||
import XNotFound from '@/pages/not-found.vue';
|
||||
import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
|
||||
import XEmTimelineUI from '@/embed/ui/timeline.vue';
|
||||
import type { Paging } from '@/components/MkPagination.vue';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
|
|
@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<template>
|
||||
<div>
|
||||
<XEmbedTimelineUI v-if="tag" :showHeader="embedParams.header">
|
||||
<XEmTimelineUI v-if="tag" :showHeader="embedParams.header">
|
||||
<template #header>
|
||||
<div :class="$style.clipHeader">
|
||||
<div :class="$style.headerClipIconRoot">
|
||||
|
@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:ad="false"
|
||||
/>
|
||||
</template>
|
||||
</XEmbedTimelineUI>
|
||||
</XEmTimelineUI>
|
||||
<XNotFound v-else/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
import { computed, shallowRef, inject, onActivated } from 'vue';
|
||||
import MkNotes from '@/components/MkNotes.vue';
|
||||
import XNotFound from '@/pages/not-found.vue';
|
||||
import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
|
||||
import XEmTimelineUI from '@/embed/ui/timeline.vue';
|
||||
import type { Paging } from '@/components/MkPagination.vue';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { instance } from '@/instance.js';
|
||||
|
|
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<template>
|
||||
<div>
|
||||
<MkLoading v-if="loading"/>
|
||||
<XEmbedTimelineUI v-else-if="user" :showHeader="embedParams.header">
|
||||
<XEmTimelineUI v-else-if="user" :showHeader="embedParams.header">
|
||||
<template #header>
|
||||
<div :class="$style.userHeader">
|
||||
<a :href="`/@${user.username}`" target="_blank" rel="noopener noreferrer" :class="$style.avatarLink">
|
||||
|
@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
:ad="false"
|
||||
/>
|
||||
</template>
|
||||
</XEmbedTimelineUI>
|
||||
</XEmTimelineUI>
|
||||
<XNotFound v-else/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -50,7 +50,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
|
|||
import * as Misskey from 'misskey-js';
|
||||
import MkNotes from '@/components/MkNotes.vue';
|
||||
import XNotFound from '@/pages/not-found.vue';
|
||||
import XEmbedTimelineUI from '@/embed/pages/_timeline_ui_.vue';
|
||||
import XEmTimelineUI from '@/embed/ui/timeline.vue';
|
||||
import type { Paging } from '@/components/MkPagination.vue';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
|
|
Loading…
Reference in New Issue