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:
AmirReza Jamali
2025-11-04 15:30:36 +03:30
parent 2d664795ad
commit 634de17f23
5 changed files with 278 additions and 3 deletions
+4 -3
View File
@@ -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",