diff --git a/client/components/PageTransition.tsx b/client/components/PageTransition.tsx
index 31e4d012..25b94179 100644
--- a/client/components/PageTransition.tsx
+++ b/client/components/PageTransition.tsx
@@ -6,29 +6,49 @@ interface PageTransitionProps {
children: React.ReactNode;
}
-const getArmMessage = (pathname: string): string => {
+const getArmConfig = (
+ pathname: string
+): { message: string; accentColor: string } => {
if (pathname.includes("/labs") || pathname.includes("/research")) {
- return "Initializing Research Module...";
+ return {
+ message: "Initializing Research Module...",
+ accentColor: "from-yellow-500 to-yellow-400",
+ };
}
if (pathname.includes("/game-development")) {
- return "Booting GameForge Engine...";
+ return {
+ message: "Booting GameForge Engine...",
+ accentColor: "from-green-500 to-green-400",
+ };
}
if (pathname.includes("/consulting")) {
- return "Engaging Corp Systems...";
+ return {
+ message: "Engaging Corp Systems...",
+ accentColor: "from-blue-500 to-blue-400",
+ };
}
if (pathname.includes("/community")) {
- return "Connecting Foundation Network...";
+ return {
+ message: "Connecting Foundation Network...",
+ accentColor: "from-red-500 to-red-400",
+ };
}
if (pathname.includes("/dev-link")) {
- return "Loading Dev-Link Platform...";
+ return {
+ message: "Loading Dev-Link Platform...",
+ accentColor: "from-cyan-500 to-cyan-400",
+ };
}
- return "Initializing AeThex OS...";
+ return {
+ message: "Initializing AeThex OS...",
+ accentColor: "from-aethex-500 to-neon-blue",
+ };
};
export default function PageTransition({ children }: PageTransitionProps) {
const [visible, setVisible] = useState(false);
const location = useLocation();
- const message = getArmMessage(location.pathname);
+ const config = getArmConfig(location.pathname);
useEffect(() => {
setVisible(false);
@@ -38,7 +58,13 @@ export default function PageTransition({ children }: PageTransitionProps) {
return (
<>
- {!visible &&