+ {/* Animated tile background — canvas-based for performance */}
+ {!liteMode &&
}
+
+ {showMouseFx && (
+ <>
+ {Array.from({ length: TRAIL_SEGMENTS }, (_, index) => (
+
{
+ trailSegmentRefs.current[index] = element;
+ }}
+ aria-hidden
+ className="pointer-events-none fixed left-0 top-0 z-[29] h-2 w-2 rounded-full bg-primary/70 will-change-transform"
+ style={{
+ opacity: Math.max(0.08, 0.32 - index * 0.035),
+ scale: `${Math.max(0.45, 1 - index * 0.1)}`,
+ }}
+ />
+ ))}
+
+
+
+
+ {clickBursts.map((burst) => (
+
+ ))}
+ >
+ )}
+
+
+
+
+ {/* Header */}
+
+
+
+
+
+ {/* Theme switcher */}
+
+
+
+ {themeMenuOpen && (
+
+
+
+
Appearance
+
+ {theme.replace('-', ' ')}
+
+
+
+ {THEME_OPTIONS.map((option) => {
+ const isActive = theme === option.value;
+ return (
+
+ );
+ })}
+
+
+
+ )}
+
+
+
+ Launch App
+
+
+
+
+
+
+ {/* Hero */}
+
+
+ {/* Soft glass backdrop behind text for readability */}
+
+ Database Learning Studio
+
+ Master SQL.
+ Understand the theory.
+
+
+ One workspace for SQL, relational algebra, ER diagrams, and normalization — so every concept reinforces the next.
+
+
+
+ Get Started
+
+
+ Browse SQL Reference
+
+
+
+
+
+ {/* Divider */}
+
+
+ {/* Tools */}
+
+
+ 7 Workspaces
+
+ {tools.map((tool, i) => (
+
+
+
+
+
+
{tool.title}
+
{tool.description}
+
+ Open Workspace
+
+
+ ))}
+
+
+
+
+ {/* Simple CTA */}
+
+
+ Ready to build real database intuition?
+ Free to use. No credit card required.
+
+ Start Learning
+
+
+
+
+
+ {/* Footer */}
+
+
+
+ );
}