AeThex-OS/temp-forge-extract/aethex-forge-main/client/components/docs/DocsHeroSection.tsx
MrPiglr b3c308b2c8 Add functional marketplace modules, bottom nav bar, root terminal, arcade games
- ModuleManager: Central tracking for installed marketplace modules
- DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module)
- BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings
- RootShell: Real root command execution utility
- TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands
- Terminal Pro module: Adds aliases (ll, la, h), command history
- ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games
- fade_in/fade_out animations for smooth transitions
2026-02-18 22:03:50 -07:00

59 lines
1.9 KiB
TypeScript

import { Button } from "@/components/ui/button";
import { Link } from "react-router-dom";
import { Rocket, Play } from "lucide-react";
import { useDocsTheme } from "@/contexts/DocsThemeContext";
interface DocsHeroSectionProps {
title?: string;
description?: string;
showButtons?: boolean;
}
export default function DocsHeroSection({
title = "Welcome to AeThex Documentation",
description = "Everything you need to build, deploy, and scale amazing projects with AeThex. Get started with our guides, explore our APIs, and learn from comprehensive tutorials.",
showButtons = true,
}: DocsHeroSectionProps) {
const { colors, theme } = useDocsTheme();
const buttonClass =
theme === "professional"
? "bg-black hover:bg-gray-900 text-white"
: "bg-purple-600 hover:bg-purple-700";
const outlineButtonClass =
theme === "professional"
? "border-gray-300 text-black hover:bg-gray-100"
: "border-slate-600 text-white hover:bg-slate-800";
return (
<div className="mb-12 text-center">
<h2 className={`text-3xl font-bold ${colors.headingColor} mb-4`}>
{title}
</h2>
<p className={`text-xl ${colors.textMuted} mb-8 max-w-3xl mx-auto`}>
{description}
</p>
{showButtons && (
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<Button asChild size="lg" className={buttonClass}>
<Link to="/docs/getting-started">
<Rocket className="h-5 w-5 mr-2" />
Get Started
</Link>
</Button>
<Button
asChild
variant="outline"
size="lg"
className={outlineButtonClass}
>
<Link to="/docs/tutorials">
<Play className="h-5 w-5 mr-2" />
Watch Tutorials
</Link>
</Button>
</div>
)}
</div>
);
}