Refactor site building workflow and context handling; update API response structure for improved clarity and consistency. Adjust frontend components to align with new data structure, including error handling and loading states.

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-20 21:50:16 +00:00
parent 781052c719
commit 1b4cd59e5b
24 changed files with 386 additions and 164 deletions

View File

@@ -6,7 +6,7 @@ import type {
} from "../../../../types/siteBuilder";
import { Card } from "../../../../components/ui/card";
import { Dropdown } from "../../../../components/ui/dropdown/Dropdown";
import { Check } from "lucide-react";
import { CheckLineIcon } from "../../../../icons";
const labelClass =
"text-sm font-semibold text-gray-700 dark:text-white/80 mb-2 inline-block";
@@ -197,7 +197,7 @@ export function StyleStep({
</span>
)}
</span>
{isSelected && <Check className="h-4 w-4" />}
{isSelected && <CheckLineIcon className="h-4 w-4" />}
</button>
);
})
@@ -312,7 +312,7 @@ export function StyleStep({
</span>
)}
</span>
{isSelected && <Check className="h-4 w-4" />}
{isSelected && <CheckLineIcon className="h-4 w-4" />}
</button>
);
})