blob: e0b8a160ef8292be374985ca69d8f7f9ba7f6013 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
import type { Meta, StoryObj } from '@storybook/react';
import NextImage from 'next/image';
import { Heading } from '../../atoms';
import { Branding } from './branding';
const meta = {
component: Branding,
title: 'Molecules/Branding',
} satisfies Meta<typeof Branding>;
export default meta;
type Story = StoryObj<typeof meta>;
export const LogoAndTitle: Story = {
args: {
logo: (
<NextImage
alt="Your brand logo"
height={150}
src="https://picsum.photos/150"
width={150}
/>
),
name: <Heading level={1}>Your brand name</Heading>,
},
};
export const LogoTitleAndBaseline: Story = {
args: {
baseline: <div>Your brand baseline if any</div>,
logo: (
<NextImage
alt="Your brand logo"
height={150}
src="https://picsum.photos/150"
width={150}
/>
),
name: <Heading level={1}>Your brand name</Heading>,
},
};
|