From 7d4d034e2ac16fd4ed73551d467f2188aca11bfe Mon Sep 17 00:00:00 2001 From: mawkone Date: Mon, 8 Jun 2026 11:37:33 -0700 Subject: [PATCH] design: align layout-mockup previews precisely with your high-fidelity SaaS templates --- .../_onboarding/onboarding-entrepreneur.tsx | 77 +++++++++++++------ 1 file changed, 53 insertions(+), 24 deletions(-) diff --git a/vibn-frontend/_onboarding/onboarding-entrepreneur.tsx b/vibn-frontend/_onboarding/onboarding-entrepreneur.tsx index c925959..4899f86 100644 --- a/vibn-frontend/_onboarding/onboarding-entrepreneur.tsx +++ b/vibn-frontend/_onboarding/onboarding-entrepreneur.tsx @@ -174,7 +174,8 @@ function EntrepType({ value, onChange }) { function LayoutPreview({ styleId }: { styleId: string }) { // Styles are 100% width, 104px tall absolute layouts resembling the wireframes. - const isDark = styleId !== "minimal" && styleId !== "swiss"; + const isDark = + styleId !== "minimal" && styleId !== "swiss" && styleId !== "sidebar"; const accentColor = "var(--accent)"; const wireLine = (w: string | number, opacity = 0.25) => ( @@ -191,19 +192,26 @@ function LayoutPreview({ styleId }: { styleId: string }) { let content; if (styleId === "sidebar") { - // Left-side menu column + main dashboard area + // Left-side menu column + main dashboard area — Light/Minimal CRM theme content = ( -
+
{/* Sidebar */}
{wireLine(16, 0.4)} - {wireLine(12, 0.25)} - {wireLine(14, 0.25)} + {wireLine(12, 0.3)} + {wireLine(14, 0.3)}
{/* Main Dashboard */}
- {wireLine(24, 0.5)} + {wireLine(24, 0.6)}
@@ -250,23 +258,24 @@ function LayoutPreview({ styleId }: { styleId: string }) {
- {wireLine("100%", 0.3)} - {wireLine("60%", 0.15)} + {wireLine("100%", 0.4)} + {wireLine("60%", 0.2)}
@@ -362,10 +371,10 @@ function LayoutPreview({ styleId }: { styleId: string }) {
); } else if (styleId === "rail") { - // Narrow vertical rail + content + // Icon rail + secondary vertical list panel — Dark CRM/SaaS theme content = (
- {/* Rail */} + {/* Far-left Icon Rail */}
{[1, 2, 3].map((i) => ( @@ -394,12 +403,31 @@ function LayoutPreview({ styleId }: { styleId: string }) { width: 8, height: 8, borderRadius: 2, - background: "rgba(255,255,255,0.15)", + background: "rgba(255,255,255,0.12)", }} /> ))}
- {/* Content */} + {/* Secondary Vertical List Panel */} +
+ {wireLine(36, 0.4)} +
+ {wireLine(28, 0.25)} + {wireLine(32, 0.15)} + {wireLine(24, 0.25)} + {wireLine(28, 0.15)} +
+ {/* Main Content Area */}
- {wireLine(36, 0.4)} + {wireLine(36, 0.45)}
@@ -427,7 +456,7 @@ function LayoutPreview({ styleId }: { styleId: string }) { width: 12, height: 12, borderRadius: 3, - background: "rgba(255,255,255,0.1)", + background: "rgba(255,255,255,0.08)", }} />