"use client"; import Image from "next/image"; import { useEffect, useState } from "react"; /** * In-app full-surface loading — light Student OS brand (not the old carbon shell). * Prefer StudentOsPageSkeleton for route-level loading; this remains for any * full-viewport study wait that needs branded feedback. */ const CALM_LOGS = [ "Preparing your study space…", "Checking your session…", "Reading your textbook…", "Mapping board-important concepts…", "Building exam-grounded answers…", ]; export function StudyLoadingShell() { const [logIndex, setLogIndex] = useState(0); useEffect(() => { const interval = window.setInterval(() => { setLogIndex((prev) => (prev + 1) % CALM_LOGS.length); }, 1800); return () => window.clearInterval(interval); }, []); return (

{CALM_LOGS[logIndex]}

); }