import type { Meta, StoryObj } from "@storybook/react";
import Arrow from "@/assets/icons/zhaArrow.svg";
import { RichTextAndTwoMediaStackedModule } from "../";
const data: any = {
tag: "Research & Technology",
headingTitle: {
heading: "
How we stay ahead of the curve
",
htag: "",
},
description:
"Description goes here lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nec vestibulum eros. Curabitur ac libero malesuada, feugiat ligula quis, sodales diam. Morbi cursus mauris id bibendum commodo.
",
primaryCta: {
text: "People",
href: "https://qa-api.zaha-hadid.com/people",
linkType: "Content",
target: "",
iconPost: , // It does not come from the BE
size: "sm", // It does not come from the BE
},
secondaryCta: {
text: "Projects",
href: "https://qa-api.zaha-hadid.com/projects",
linkType: "Content",
target: "",
variant: "secondary", // It does not come from the BE
iconPost: , // It does not come from the BE
size: "sm", // It does not come from the BE
},
mediaAlignment: "Right",
mediaOrientation: "Portrait",
// Image for test
image: {
imageUrl:
"https://zhweb-qa-f-app.azurewebsites.net/media/wotgyell/adrian-cuj-o_9ymcy0bag-unsplash.jpg",
title: "",
description: "",
imageAlt: "",
mediaId: 1229,
isSvg: false,
isVideo: false,
},
smallMedia: {
imageUrl:
"https://zhweb-qa-f-app.azurewebsites.net/media/wotgyell/adrian-cuj-o_9ymcy0bag-unsplash.jpg",
title: "",
description: "",
imageAlt: "",
mediaId: 1229,
isSvg: false,
isVideo: false,
},
anchor: "",
anchorDisplayName: "",
paddingTop: "",
paddingBottom: "",
};
const meta: Meta = {
component: RichTextAndTwoMediaStackedModule,
tags: ["autodocs"],
parameters: {
layout: "fullscreen",
backgrounds: {
default: "dark",
},
},
};
export default meta;
type Story = StoryObj;
export const RichTextAndTwoMediaStacked: Story = {
args: {
data,
},
};