fix: remove all page-entry and opening animations for instant, rock-solid page loading

This commit is contained in:
2026-10-23 17:52:24 +05:30
parent f9e0fb752b
commit f67ed2cfdd
27 changed files with 84 additions and 105 deletions

View File

@@ -105,7 +105,7 @@ export default function AIComCBTDPPPage() {
return (
<div className="p-6 md:p-8 space-y-6 max-w-6xl mx-auto min-h-screen">
{/* Top Header */}
<div className="flex flex-col md:flex-row md:items-center justify-between gap-4 bg-secondary/20 border border-border p-6 rounded-3xl backdrop-blur-xl animate-section animate-section-1">
<div className="flex flex-col md:flex-row md:items-center justify-between gap-4 bg-secondary/20 border border-border p-6 rounded-3xl backdrop-blur-xl">
<div className="flex items-center gap-4">
<Link href="/dashboard/dpp">
<Button variant="outline" size="icon" className="rounded-xl border-border hover:bg-secondary">
@@ -166,7 +166,7 @@ export default function AIComCBTDPPPage() {
)}
{/* Main CBT Grid */}
<div className="grid grid-cols-1 lg:grid-cols-4 gap-6 animate-section animate-section-2">
<div className="grid grid-cols-1 lg:grid-cols-4 gap-6">
{/* Question Area */}
<div className="lg:col-span-3">
<Card className="border-border bg-background/80 backdrop-blur-xl p-6 rounded-3xl shadow-xl space-y-6">

View File

@@ -175,7 +175,7 @@ export default function DPPPage() {
</Button>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 animate-section animate-section-2">
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
{loading ? (
<div className="col-span-2 text-center py-12 text-muted-foreground">Loading AI-generated DPPs...</div>
) : filteredDpps.length === 0 ? (