PageLogo.stories.tsx 584 B

123456789101112131415161718192021222324252627282930
  1. import { Meta } from '@storybook/react';
  2. import { Logo } from '../components/ui/Logo/Logo';
  3. const meta = {
  4. title: 'owncast/Components/Page Logo',
  5. component: Logo,
  6. parameters: {
  7. chromatic: { diffThreshold: 0.8 },
  8. },
  9. } satisfies Meta<typeof Logo>;
  10. export default meta;
  11. export const LocalServer = {
  12. args: {
  13. src: 'http://localhost:8080/logo',
  14. },
  15. };
  16. export const DemoServer = {
  17. args: {
  18. src: 'https://watch.owncast.online/logo',
  19. },
  20. };
  21. export const NotSquare = {
  22. args: {
  23. src: 'https://via.placeholder.com/150x325/FF0000/FFFFFF?text=Rectangle',
  24. },
  25. };