feat(marketing): Implement chart creation step
This commit introduces the second step in the marketing page's stepper, which allows users to create a chart. The previous placeholder content has been replaced with the new `ChartStep` component. To support form functionality within this new step, the `Button` component has been updated to accept a `type` attribute (`button`, `submit`, `reset`), enabling proper form submission handling.
This commit is contained in:
@@ -4,6 +4,7 @@ import Stepper, { Step } from "@/components/ui/Stepper";
|
||||
import { BreadcrumbItem } from "@/types/shared";
|
||||
import { useState } from "react";
|
||||
import { ShowcaseSection } from "../../components/Layouts/showcase-section";
|
||||
import ChartStep from "./_components/ChartStep";
|
||||
import HeroStep from "./_components/HeroStep";
|
||||
|
||||
const Marketing = () => {
|
||||
@@ -25,9 +26,9 @@ const Marketing = () => {
|
||||
content: <HeroStep />,
|
||||
},
|
||||
{
|
||||
title: "Profile",
|
||||
description: "Setup your profile",
|
||||
content: <div>step 2</div>,
|
||||
title: "Chart",
|
||||
description: "Create the chart",
|
||||
content: <ChartStep />,
|
||||
},
|
||||
{
|
||||
title: "Preferences",
|
||||
|
||||
Reference in New Issue
Block a user