diff --git a/src/custom/docs/components/helpcard/index.tsx b/src/custom/docs/components/helpcard/index.tsx new file mode 100644 index 0000000..2b81fbe --- /dev/null +++ b/src/custom/docs/components/helpcard/index.tsx @@ -0,0 +1,32 @@ +import { CardTitle } from '../triplecard/Card' +import { LucideIcon } from "lucide-react" +import { CardHeader, CardDescription } from "src" +import { Card } from 'src' + +export const HelpCard = (props: { + columns: { + title: string; + icon_description: string; + icon: LucideIcon; + link: string; + description: string; + }[] + }) => { + return (
+ {props.columns.map((item) => { + return ( + + + + + {item.title} + {item.description} + + + + + ); + })} +
+ ) +} diff --git a/src/custom/docs/index.ts b/src/custom/docs/index.ts index 2bc92fc..24678f9 100644 --- a/src/custom/docs/index.ts +++ b/src/custom/docs/index.ts @@ -1,5 +1,6 @@ export {Footer as DocsFooter } from './components/footer' export { NavBar as DocsNavBar } from './components/navmenu/index' export { TripleCard as DocsTripleCard } from './components/triplecard' +export { HelpCard as DocsHelpCard } from './components/helpcard' export * from './components/header' export * from './components/page' diff --git a/stories/custom/docs-helpcard.stories.tsx b/stories/custom/docs-helpcard.stories.tsx new file mode 100644 index 0000000..591d1cc --- /dev/null +++ b/stories/custom/docs-helpcard.stories.tsx @@ -0,0 +1,36 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { LifeBuoyIcon, BookIcon } from 'lucide-react' +import { DocsHelpCard } from 'src' + +const helpSectionConfig = { + columns: [{ + title: "Get in touch for support", + icon_description: "Support Icon", + icon: LifeBuoyIcon, + link: "https://www.quantinuum.com/contact/docs", + description: "Need help? Fill out our support form here", + + }, + { + title: "Publications", + icon_description: "Publications Icon", + icon: BookIcon, + link: "https://quantinuum.com/publications", + description: "Find our latest research publications here", + }], +}; + + +function DocsHelpCardDemo() { + return +} + +const meta: Meta = { + component: DocsHelpCardDemo, +}; + +export default meta; + +export const Default: StoryObj = { + args: {}, +};