Skip to content

Commit

Permalink
refactor(banner): add images and content to stories
Browse files Browse the repository at this point in the history
  • Loading branch information
bsahitya committed Jul 9, 2024
1 parent d84110e commit a912441
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const Hero: Story = {
content:
'Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequa.',
isHero: true,
imageSrc:
'https://s3-alpha-sig.figma.com/img/07ea/17f4/495f02efa84e03a9d184758288dce2f0?Expires=1719187200&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=FNLOp0rxTclfS4rHH5J0Yg42soFr1apjc9FvPr1T2qAMIBQE5vR3fdyikaiJOXb1oW2jWsXZXHWLjXO4smprKq0Lq~Z8vwZXio5IY-1~ss3ptWNM-EqVRaM6w-XOXcTeJLfE4NlV2b2F5f8bGTcTrmwY9ZKr6-hnQPbIXvdc85ApLPGNe3XawzMxxDf90~yEgkTD9zsgfV70vcLfxk7zhTVZpqdwrRXTZIvHStOh-VgYLUFahZTUEAazIQ67nfT9lDyrjP2x9~dD~uy6pj-PE~ox00ZlwFB5eKMUa3ZQeRY9GuRdBmysY8fFUXcqTynBdMBGj8OazN54WySG~sPw8Q__',
imageSrc: 'https://quickstarts.teradata.com/_/img/possible2024.png',
},
};
18 changes: 18 additions & 0 deletions libs/react-components/src/lib/components/Tabs/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ const meta = {
title="This is another demo title"
/>
</Tab>,
<Tab key="tab3" label="Tab 3">
<Banner
content={<p>{demoContent}</p>}
imageSrc={
'https://www.teradata.com/getmedia/b6c99212-cd32-42ec-beec-a12436b0296a/roles-data_leader.svg?origin=fd'
}
title="This is another demo title tab 3"
/>
</Tab>,
<Tab key="tab4" label="Tab 4">
<Banner
content={<p>{demoContent}</p>}
imageSrc={
'https://www.teradata.com/getmedia/b6c99212-cd32-42ec-beec-a12436b0296a/roles-data_leader.svg?origin=fd'
}
title="This is another demo title tab 4"
/>
</Tab>,
],
},
} satisfies Meta<typeof TabBar>;
Expand Down

0 comments on commit a912441

Please sign in to comment.