Prettier format pending files

This commit is contained in:
Builder.io 2025-11-17 04:58:15 +00:00
parent 1cc6c3c56e
commit 3ba5d68879
3 changed files with 44 additions and 30 deletions

View file

@ -19,7 +19,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Initializing Research Module...",
bootMessage: "Research Subsystem Active",
accentColor: "from-yellow-500 to-yellow-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F85fe7910cff6483db1ea99c154684844?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F85fe7910cff6483db1ea99c154684844?format=webp&width=800",
};
}
if (pathname.includes("/gameforge")) {
@ -27,7 +28,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Booting GameForge Engine...",
bootMessage: "GameForge Module Loaded",
accentColor: "from-green-500 to-green-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fcd3534c1caa0497abfd44224040c6059?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fcd3534c1caa0497abfd44224040c6059?format=webp&width=800",
};
}
if (pathname.includes("/corp")) {
@ -35,7 +37,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Engaging Corp Systems...",
bootMessage: "Corp Systems Online",
accentColor: "from-blue-500 to-blue-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F3772073d5b4b49e688ed02480f4cae43?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F3772073d5b4b49e688ed02480f4cae43?format=webp&width=800",
};
}
if (pathname.includes("/foundation")) {
@ -43,7 +46,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Redirecting to Foundation Network...",
bootMessage: "Foundation Network Active",
accentColor: "from-red-500 to-red-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc02cb1bf5056479bbb3ea4bd91f0d472?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc02cb1bf5056479bbb3ea4bd91f0d472?format=webp&width=800",
};
}
if (pathname.includes("/dev-link")) {
@ -51,7 +55,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Loading Dev-Link Platform...",
bootMessage: "Dev-Link Interface Ready",
accentColor: "from-cyan-500 to-cyan-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F9a96b43cbd7b49bb9d5434580319c793?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F9a96b43cbd7b49bb9d5434580319c793?format=webp&width=800",
};
}
if (pathname.includes("/staff")) {
@ -59,7 +64,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Authorizing Staff Access...",
bootMessage: "Staff Portal Initialized",
accentColor: "from-purple-500 to-purple-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc0414efd7af54ef4b821a05d469150d0?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc0414efd7af54ef4b821a05d469150d0?format=webp&width=800",
};
}
if (pathname.includes("/nexus")) {
@ -67,7 +73,8 @@ const getArmConfig = (pathname: string): ArmConfig => {
message: "Linking Nexus Hub...",
bootMessage: "Nexus Interface Active",
accentColor: "from-pink-500 to-pink-400",
armLogo: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F6df123b87a144b1fb99894d94198d97b?format=webp&width=800",
armLogo:
"https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F6df123b87a144b1fb99894d94198d97b?format=webp&width=800",
};
}
return {

View file

@ -53,7 +53,8 @@ const THEMES: Record<ArmType, ArmTheme> = {
wallpaperPattern:
"linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px), linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px)",
fontClass: "font-corp",
fontFamily: '"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
fontFamily:
'"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
displayName: "Corp",
},
foundation: {
@ -86,7 +87,8 @@ const THEMES: Record<ArmType, ArmTheme> = {
wallpaperPattern:
"radial-gradient(circle, rgba(168, 85, 247, 0.08) 1px, transparent 1px)",
fontClass: "font-staff",
fontFamily: '"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
fontFamily:
'"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
displayName: "Staff",
},
nexus: {
@ -97,7 +99,8 @@ const THEMES: Record<ArmType, ArmTheme> = {
wallpaperPattern:
"linear-gradient(45deg, rgba(236, 72, 153, 0.06) 25%, transparent 25%, transparent 75%, rgba(236, 72, 153, 0.06) 75%), linear-gradient(45deg, rgba(236, 72, 153, 0.06) 25%, transparent 25%, transparent 75%, rgba(236, 72, 153, 0.06) 75%)",
fontClass: "font-nexus",
fontFamily: '"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
fontFamily:
'"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
displayName: "Nexus",
},
default: {
@ -107,7 +110,8 @@ const THEMES: Record<ArmType, ArmTheme> = {
wallpaperClass: "wallpaper-default",
wallpaperPattern: "none",
fontClass: "font-default",
fontFamily: '"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
fontFamily:
'"Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", sans-serif',
displayName: "AeThex",
},
};
@ -129,14 +133,10 @@ interface ArmThemeContextType {
}
const ArmThemeContext = createContext<ArmThemeContextType | undefined>(
undefined
undefined,
);
export function ArmThemeProvider({
children,
}: {
children: React.ReactNode;
}) {
export function ArmThemeProvider({ children }: { children: React.ReactNode }) {
const location = useLocation();
const currentArm = detectArmFromPath(location.pathname);
const theme = THEMES[currentArm];

View file

@ -60,7 +60,8 @@ export default function Index() {
const audienceNav = [
{
title: "Solutions for Business",
description: "Custom software development, consulting, and digital transformation",
description:
"Custom software development, consulting, and digital transformation",
icon: Briefcase,
color: "from-blue-500 to-cyan-500",
link: "/corp",
@ -68,7 +69,8 @@ export default function Index() {
},
{
title: "Explore & Learn",
description: "Open source projects, educational workshops, and community resources",
description:
"Open source projects, educational workshops, and community resources",
icon: BookOpen,
color: "from-red-500 to-pink-500",
link: "https://aethex.foundation",
@ -77,7 +79,8 @@ export default function Index() {
},
{
title: "Join the Network",
description: "Professional networking, job board, and portfolio showcase for Roblox devs",
description:
"Professional networking, job board, and portfolio showcase for Roblox devs",
icon: Network,
color: "from-cyan-500 to-blue-500",
link: "/dev-link",
@ -85,7 +88,8 @@ export default function Index() {
},
{
title: "Careers & Innovation",
description: "Join our team and work on cutting-edge R&D and experimental features",
description:
"Join our team and work on cutting-edge R&D and experimental features",
icon: Zap,
color: "from-yellow-500 to-amber-500",
link: "/labs",
@ -230,7 +234,8 @@ export default function Index() {
Building the Future of Immersive Digital Experiences
</h2>
<p className="text-lg text-muted-foreground max-w-3xl mx-auto animate-slide-up">
Software innovation, enterprise consulting, open source education, and professional networkingall in one ecosystem.
Software innovation, enterprise consulting, open source
education, and professional networkingall in one ecosystem.
</p>
</div>
</div>
@ -240,12 +245,9 @@ export default function Index() {
{audienceNav.map((item, index) => {
const Icon = item.icon;
return (
<Link
key={index}
to={item.link}
className="group"
>
<Card className="relative overflow-hidden rounded-xl border border-border/30 hover:border-aethex-400/50 bg-card/60 backdrop-blur-sm hover:translate-y-[-4px] hover:shadow-[0_12px_40px_rgba(80,80,120,0.3)] transition-all duration-300 h-full cursor-pointer"
<Link key={index} to={item.link} className="group">
<Card
className="relative overflow-hidden rounded-xl border border-border/30 hover:border-aethex-400/50 bg-card/60 backdrop-blur-sm hover:translate-y-[-4px] hover:shadow-[0_12px_40px_rgba(80,80,120,0.3)] transition-all duration-300 h-full cursor-pointer"
style={{ animationDelay: `${index * 0.1}s` }}
>
<div className="pointer-events-none absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-500 bg-gradient-to-br from-white/6 via-transparent to-white/0" />
@ -281,12 +283,17 @@ export default function Index() {
<h3 className="text-2xl font-bold mb-6">Recent Wins</h3>
<div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-4">
{showcaseWins.map((win, index) => (
<Card key={index} className={`border ${win.color} bg-opacity-50`}>
<Card
key={index}
className={`border ${win.color} bg-opacity-50`}
>
<CardContent className="pt-6">
<Badge variant="outline" className="mb-3 text-xs">
{win.division}
</Badge>
<h4 className="font-semibold text-sm mb-2">{win.title}</h4>
<h4 className="font-semibold text-sm mb-2">
{win.title}
</h4>
<p className="text-xs text-muted-foreground mb-3">
{win.description}
</p>