add customer portal

This commit is contained in:
yaschalew
2026-05-18 11:25:33 +03:00
parent e552ac67d5
commit db1f0cc5d7
9 changed files with 563 additions and 26 deletions

View File

@@ -107,7 +107,7 @@ const DashboardLayout = ({
) : null;
return (
<div className="flex min-h-screen bg-slate-50 dark:bg-slate-950">
<div className="flex h-screen overflow-hidden bg-slate-50 dark:bg-slate-950">
<Sidebar
title={title}
items={sidebarItems}
@@ -115,7 +115,7 @@ const DashboardLayout = ({
onNavigate={onNavigate}
headerExtra={themeToggleButton}
/>
<div className="flex flex-1 flex-col">
<div className="flex min-w-0 flex-1 flex-col">
<header className="flex h-16 items-center justify-between border-b border-slate-200 bg-white px-6 dark:border-slate-800 dark:bg-slate-900">
<div className="text-base font-medium text-slate-700 dark:text-slate-200">
{title}

View File

@@ -22,7 +22,7 @@ const Sidebar = ({
onNavigate,
headerExtra,
}: SidebarProps) => (
<aside className="flex w-64 flex-col gap-1 border-r border-slate-200 bg-[#33578D]/10 px-3 py-5 dark:border-slate-800 dark:bg-slate-900">
<aside className="flex h-full w-64 shrink-0 flex-col gap-1 overflow-y-auto border-r border-slate-200 bg-[#33578D]/10 px-3 py-5 dark:border-slate-800 dark:bg-slate-900">
{title ? (
<div className="flex items-center justify-between gap-2 px-3 pb-4">
<div className="flex items-center gap-2">