mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-20 15:17:19 +00:00
- 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
26 lines
583 B
TypeScript
26 lines
583 B
TypeScript
import TitleBar from "./TitleBar";
|
|
import { ReactNode } from "react";
|
|
|
|
interface DesktopShellProps {
|
|
children: ReactNode;
|
|
title?: string;
|
|
}
|
|
|
|
export default function DesktopShell({ children, title }: DesktopShellProps) {
|
|
return (
|
|
<div
|
|
style={{
|
|
width: "100vw",
|
|
height: "100vh",
|
|
background: "#030712",
|
|
color: "#e5e7eb",
|
|
display: "flex",
|
|
flexDirection: "column",
|
|
overflow: "hidden",
|
|
}}
|
|
>
|
|
<TitleBar title={title} />
|
|
<div style={{ flex: 1, overflow: "auto" }}>{children}</div>
|
|
</div>
|
|
);
|
|
}
|