diff --git a/components/university/branch-grid.tsx b/components/university/branch-grid.tsx index a15637c..1952363 100644 --- a/components/university/branch-grid.tsx +++ b/components/university/branch-grid.tsx @@ -94,79 +94,88 @@ export default function BranchGrid() {

- {/* Branch Grid - Smaller Cards */} -
+ {/* Branch Grid */} +
{sortedBranches.map((branch, index) => { const config = branchConfig[branch.id] || branchConfig.cse; const Icon = config.icon; + const isAvailable = branch.status === "Available"; const CardContent = ( - {/* Premium Inner Glow on Hover (Light Mode Only) */} -
-
-
-
+ {/* Ambient inner glow overlay */} + {isAvailable && ( + <> +
+
+ + )} + + {/* Top edge highlight */} +
- {/* Header */} -
-
- -
- -
-
- {branch.status === "Available" ? "Live" : "Soon"} -
+ {/* Icon */} +
+
- {/* Content */} -
-

+ {/* Branch Name & Description */} +
+

{branch.id.toUpperCase()}

- -

+

{branch.name}

- -
-
- {config.subjects} -
- {/* Footer */} -
- {branch.status === "Available" ? ( -
- + {/* Bottom CTA */} +
+ {isAvailable ? ( + <> + Explore -
- +
+
-
+ ) : ( - - Planned + + Coming soon )}
@@ -174,7 +183,7 @@ export default function BranchGrid() { ); - if (branch.status === "Available") { + if (isAvailable) { return ( {/* Premium Braided Rope / Cable (Background Track) */}
{/* Animated Blue Rope Fill */} {/* Node Container */}
- {/* Glass Platform underneath the Node */} -
+ {/* Glass Platform & Ambient Floor Shadow underneath Node */} +
index + ? "bg-blue-400/20 shadow-[inset_0_0_12px_rgba(59,130,246,0.3)] dark:bg-blue-500/10 dark:shadow-[0_2px_8px_rgba(59,130,246,0.15)] dark:border dark:border-blue-500/15 scale-100" + : "bg-blue-400/20 shadow-[inset_0_0_12px_rgba(59,130,246,0.3)] dark:bg-slate-900/40 dark:shadow-[0_2px_6px_rgba(0,0,0,0.4)] dark:border dark:border-slate-800/30 scale-95 opacity-50 dark:opacity-60" + }`} + /> {/* The Node Pill */}
index ? "scale-100 opacity-100" - : "scale-100 opacity-70" + : "scale-100 opacity-70 dark:opacity-90" } ${ step === "Hyper AI" - ? "bg-gradient-to-b from-blue-500 to-indigo-600 text-white shadow-[0_4px_14px_0_rgb(59,130,246,40%)] border-0" + ? "bg-gradient-to-b from-blue-500 to-indigo-600 text-white shadow-[0_4px_14px_0_rgb(59,130,246,40%)] border-0 dark:from-blue-600 dark:to-indigo-600 dark:shadow-[0_4px_14px_rgba(79,70,229,0.35),0_2px_4px_rgba(0,0,0,0.4)] dark:border dark:border-indigo-400/30" : activeStep === index - ? "bg-blue-50 border-2 border-blue-400 text-blue-700 shadow-sm dark:bg-blue-950 dark:border-blue-500/80 dark:text-blue-300" + ? "bg-blue-50 border-2 border-blue-400 text-blue-700 shadow-sm dark:bg-blue-600 dark:border-blue-400 dark:text-white dark:shadow-[0_4px_14px_rgba(37,99,235,0.3),0_2px_4px_rgba(0,0,0,0.4)]" : activeStep > index - ? "bg-white border-2 border-blue-200 text-blue-600 shadow-sm dark:bg-slate-900 dark:border-blue-800/60 dark:text-blue-400" - : "bg-white border-2 border-slate-200 text-slate-500 shadow-sm dark:bg-slate-900 dark:border-slate-700/80 dark:text-slate-400" + ? "bg-white border-2 border-blue-200 text-blue-600 shadow-sm dark:bg-slate-900 dark:border-blue-500/50 dark:text-blue-300 dark:shadow-[0_4px_10px_rgba(0,0,0,0.4)]" + : "bg-white border-2 border-slate-200 text-slate-500 shadow-sm dark:bg-slate-900/90 dark:border-slate-700/80 dark:text-slate-300 dark:shadow-[0_2px_8px_rgba(0,0,0,0.4)]" }`} > {step}