2023-11-07 12:35:05 +09:00
|
|
|
import { Meta } from '@storybook/react';
|
2022-09-07 09:00:28 +02:00
|
|
|
import { Logo } from '../components/ui/Logo/Logo';
|
2022-04-27 23:19:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
const meta = {
|
2022-05-17 15:28:56 -07:00
|
|
|
title: 'owncast/Components/Page Logo',
|
|
|
|
component: Logo,
|
2022-09-08 13:09:11 -07:00
|
|
|
parameters: {
|
|
|
|
chromatic: { diffThreshold: 0.8 },
|
|
|
|
},
|
2023-11-07 12:35:05 +09:00
|
|
|
} satisfies Meta<typeof Logo>;
|
2022-04-27 23:19:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export default meta;
|
2022-04-27 23:19:20 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export const LocalServer = {
|
|
|
|
args: {
|
|
|
|
src: 'http://localhost:8080/logo',
|
|
|
|
},
|
2022-04-27 23:19:20 -07:00
|
|
|
};
|
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export const DemoServer = {
|
|
|
|
args: {
|
|
|
|
src: 'https://watch.owncast.online/logo',
|
|
|
|
},
|
2022-05-17 15:28:56 -07:00
|
|
|
};
|
2022-08-09 14:38:23 -07:00
|
|
|
|
2023-11-07 12:35:05 +09:00
|
|
|
export const NotSquare = {
|
|
|
|
args: {
|
|
|
|
src: 'https://via.placeholder.com/150x325/FF0000/FFFFFF?text=Rectangle',
|
|
|
|
},
|
2022-08-09 14:38:23 -07:00
|
|
|
};
|