Fix: Dashboard layout overlap and grid structure
This commit is contained in:
BIN
dist.tar.gz
Normal file
BIN
dist.tar.gz
Normal file
Binary file not shown.
@@ -55,39 +55,39 @@ const Dashboard: React.FC = () => {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Hero Stats (Top Row) */}
|
{/* Hero Stats (Top Row) */}
|
||||||
<section>
|
<section className="relative z-10 text-slate-800">
|
||||||
<HeroStats />
|
<HeroStats />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Main Content Area (2 Columns) */}
|
{/* Main Content Area (2 Columns) */}
|
||||||
<section className="grid grid-cols-1 lg:grid-cols-2 gap-6 h-auto lg:h-[450px]">
|
<section className="grid grid-cols-1 lg:grid-cols-2 gap-6 items-start relative z-10">
|
||||||
{/* Left Column: Recent Transactions */}
|
{/* Left Column: Recent Transactions */}
|
||||||
<div className="h-full">
|
<div className="space-y-6">
|
||||||
<TransactionsList />
|
<TransactionsList />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Right Column: Financial Goals */}
|
{/* Right Column: Financial Goals */}
|
||||||
<div className="h-full">
|
<div className="space-y-6">
|
||||||
<GoalsList />
|
<GoalsList />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Bottom Section (Full Width) - Performance & AI Insights */}
|
{/* Bottom Section (Full Width) - Performance & AI Insights */}
|
||||||
<section className="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
<section className="grid grid-cols-1 lg:grid-cols-3 gap-6 items-start relative z-10">
|
||||||
{/* Investment Performance (Takes 2 columns) */}
|
{/* Investment Performance (Takes 2 columns) */}
|
||||||
<div className="lg:col-span-2 h-[350px]">
|
<div className="lg:col-span-2">
|
||||||
<InvestmentPerformance />
|
<InvestmentPerformance />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* AI Insights (Takes 1 column) */}
|
{/* AI Insights (Takes 1 column) */}
|
||||||
<div className="h-[350px]">
|
<div className="lg:col-span-1">
|
||||||
<AIInsights />
|
<AIInsights />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Footer Actions */}
|
{/* Footer Actions */}
|
||||||
<section>
|
<section className="relative z-10">
|
||||||
<h3 className="text-lg font-medium text-slate-700 mb-4">Quick Actions</h3>
|
<h3 className="text-lg font-medium text-slate-700 mb-4 px-1">Quick Actions</h3>
|
||||||
<QuickActions />
|
<QuickActions />
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user