feat: add NixServer and NixClient React UIs, wire into installer

- nixserver/: React 18 + TypeScript + Vite + Tailwind
  - Login page + placeholder admin dashboard with card grid
  - Blue accent color (#3b82f6)
  - Full Tailwind + PostCSS + TypeScript setup
- nixclient/: identical structure, user-facing panel
  - Green accent color (#10b981)
  - Same build tooling as NixServer
- install.sh: new 'Building NixServer & NixClient UIs' step
  - npm install + npm run build for each
  - Outputs to /opt/nixpanel/nixserver/dist and /opt/nixpanel/nixclient/dist
  - Both panels immediately accessible via Apache on 2087 and 2083
  - Skips gracefully if source not present (early dev)
This commit is contained in:
NixReaper
2026-04-25 09:22:12 -05:00
parent 4994d33fd5
commit e58769a4bd
21 changed files with 506 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NixClient — Your Hosting Account</title>
</head>
<body class="bg-gray-950">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>