fix: remove all page-entry and opening animations for instant, rock-solid page loading
This commit is contained in:
@@ -137,7 +137,7 @@ export default function DashboardPage() {
|
||||
<div className="p-8 max-w-7xl mx-auto space-y-8">
|
||||
|
||||
{/* Page Header */}
|
||||
<div className="flex flex-col md:flex-row md:items-end justify-between gap-4 animate-section animate-section-1">
|
||||
<div className="flex flex-col md:flex-row md:items-end justify-between gap-4">
|
||||
<div>
|
||||
<h1 className="text-3xl md:text-4xl font-black tracking-tight flex items-center gap-3 mb-1">
|
||||
<span className="p-2.5 rounded-xl bg-yellow-50 dark:bg-[var(--cyan-ai-10)] border border-yellow-300/60 dark:border-[var(--cyan-ai-20)]">
|
||||
@@ -174,7 +174,7 @@ export default function DashboardPage() {
|
||||
</div>
|
||||
|
||||
{/* KPI Stat Cards */}
|
||||
<div ref={progressRef} className="grid grid-cols-2 md:grid-cols-4 gap-4 animate-section animate-section-2">
|
||||
<div ref={progressRef} className="grid grid-cols-2 md:grid-cols-4 gap-4">
|
||||
{/* Today's Score */}
|
||||
<Card className="border-border shadow-sm">
|
||||
<CardContent className="p-5 flex flex-col items-center text-center">
|
||||
@@ -240,7 +240,7 @@ export default function DashboardPage() {
|
||||
</div>
|
||||
|
||||
{/* Tests & DPPs Grid */}
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8 animate-section animate-section-3">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
{/* Dynamic DPP Modules */}
|
||||
<section>
|
||||
<div className="flex items-center justify-between mb-5">
|
||||
@@ -347,7 +347,7 @@ export default function DashboardPage() {
|
||||
</div>
|
||||
|
||||
{/* AI Intelligence Grid */}
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8 animate-section animate-section-4">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
||||
<div>
|
||||
<AdaptiveStudyPlan />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user