forked from mirrors/misskey
build(#10336): init
This commit is contained in:
13
packages/frontend/src/pages/user/achievements.stories.ts
Normal file
13
packages/frontend/src/pages/user/achievements.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import achievements from './achievements.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/achievements',
|
||||
component: achievements,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
achievements,
|
||||
},
|
||||
template: '<achievements />',
|
||||
};
|
||||
export default meta;
|
||||
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import activity_following from './activity.following.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity.following',
|
||||
component: activity_following,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_following,
|
||||
},
|
||||
template: '<activity.following />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/activity.heatmap.stories.ts
Normal file
13
packages/frontend/src/pages/user/activity.heatmap.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import activity_heatmap from './activity.heatmap.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity.heatmap',
|
||||
component: activity_heatmap,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_heatmap,
|
||||
},
|
||||
template: '<activity.heatmap />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/activity.notes.stories.ts
Normal file
13
packages/frontend/src/pages/user/activity.notes.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import activity_notes from './activity.notes.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity.notes',
|
||||
component: activity_notes,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_notes,
|
||||
},
|
||||
template: '<activity.notes />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/activity.pv.stories.ts
Normal file
13
packages/frontend/src/pages/user/activity.pv.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import activity_pv from './activity.pv.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity.pv',
|
||||
component: activity_pv,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity_pv,
|
||||
},
|
||||
template: '<activity.pv />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/activity.stories.ts
Normal file
13
packages/frontend/src/pages/user/activity.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import activity from './activity.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/activity',
|
||||
component: activity,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
activity,
|
||||
},
|
||||
template: '<activity />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/clips.stories.ts
Normal file
13
packages/frontend/src/pages/user/clips.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import clips from './clips.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/clips',
|
||||
component: clips,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
clips,
|
||||
},
|
||||
template: '<clips />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/follow-list.stories.ts
Normal file
13
packages/frontend/src/pages/user/follow-list.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import follow_list from './follow-list.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/follow-list',
|
||||
component: follow_list,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
follow_list,
|
||||
},
|
||||
template: '<follow-list />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/followers.stories.ts
Normal file
13
packages/frontend/src/pages/user/followers.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import followers from './followers.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/followers',
|
||||
component: followers,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
followers,
|
||||
},
|
||||
template: '<followers />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/following.stories.ts
Normal file
13
packages/frontend/src/pages/user/following.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import following from './following.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/following',
|
||||
component: following,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
following,
|
||||
},
|
||||
template: '<following />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/gallery.stories.ts
Normal file
13
packages/frontend/src/pages/user/gallery.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import gallery from './gallery.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/gallery',
|
||||
component: gallery,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
gallery,
|
||||
},
|
||||
template: '<gallery />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/home.stories.ts
Normal file
13
packages/frontend/src/pages/user/home.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import home from './home.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/home',
|
||||
component: home,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
home,
|
||||
},
|
||||
template: '<home />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/index.activity.stories.ts
Normal file
13
packages/frontend/src/pages/user/index.activity.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import index_activity from './index.activity.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/index.activity',
|
||||
component: index_activity,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_activity,
|
||||
},
|
||||
template: '<index.activity />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/index.photos.stories.ts
Normal file
13
packages/frontend/src/pages/user/index.photos.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import index_photos from './index.photos.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/index.photos',
|
||||
component: index_photos,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_photos,
|
||||
},
|
||||
template: '<index.photos />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/index.stories.ts
Normal file
13
packages/frontend/src/pages/user/index.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import index from './index.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/index',
|
||||
component: index,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index,
|
||||
},
|
||||
template: '<index />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/index.timeline.stories.ts
Normal file
13
packages/frontend/src/pages/user/index.timeline.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import index_timeline from './index.timeline.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/index.timeline',
|
||||
component: index_timeline,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
index_timeline,
|
||||
},
|
||||
template: '<index.timeline />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/pages.stories.ts
Normal file
13
packages/frontend/src/pages/user/pages.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import pages from './pages.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/pages',
|
||||
component: pages,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
pages,
|
||||
},
|
||||
template: '<pages />',
|
||||
};
|
||||
export default meta;
|
||||
13
packages/frontend/src/pages/user/reactions.stories.ts
Normal file
13
packages/frontend/src/pages/user/reactions.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Meta, Story } from '@storybook/vue3';
|
||||
import reactions from './reactions.vue';
|
||||
const meta = {
|
||||
title: 'pages/user/reactions',
|
||||
component: reactions,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
reactions,
|
||||
},
|
||||
template: '<reactions />',
|
||||
};
|
||||
export default meta;
|
||||
Reference in New Issue
Block a user