2023-11-07 06:35:05 +03:00
|
|
|
import { Meta } from '@storybook/react';
|
2022-09-07 10:00:28 +03:00
|
|
|
import { SocialLinks } from './SocialLinks';
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
const meta = {
|
2022-05-18 00:24:48 +03:00
|
|
|
title: 'owncast/Components/Social links',
|
2022-04-28 09:19:20 +03:00
|
|
|
component: SocialLinks,
|
|
|
|
parameters: {},
|
2023-11-07 06:35:05 +03:00
|
|
|
} satisfies Meta<typeof SocialLinks>;
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
export default meta;
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
export const Populated = {
|
|
|
|
args: {
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
platform: 'github',
|
|
|
|
url: 'https://github.com/owncast/owncast',
|
|
|
|
icon: '/img/platformlogos/github.svg',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
platform: 'Documentation',
|
|
|
|
url: 'https://owncast.online',
|
|
|
|
icon: '/img/platformlogos/link.svg',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
platform: 'mastodon',
|
|
|
|
url: 'https://fosstodon.org/users/owncast',
|
|
|
|
icon: '/img/platformlogos/mastodon.svg',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2022-04-28 09:19:20 +03:00
|
|
|
};
|
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
export const Empty = {
|
|
|
|
args: {
|
|
|
|
links: [],
|
|
|
|
},
|
2022-04-28 09:19:20 +03:00
|
|
|
};
|