Skip to content

Commit e9c66c7

Browse files
committed
Moved app from in dev to production
1 parent acbf935 commit e9c66c7

2 files changed

Lines changed: 59 additions & 13 deletions

File tree

app/docs/layout.tsx

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,30 @@ export default function DocsLayout({ children }: { children: React.ReactNode })
88
{/* --- 1. TOP NAVIGATION --- */}
99
<nav className="fixed top-0 z-50 w-full border-b border-slate-800 bg-slate-950/60 backdrop-blur-md">
1010
<div className="flex items-center justify-between px-6 py-6 max-w-7xl mx-auto">
11+
12+
{/* Logo -> Links to Home */}
1113
<Link href="/" className="flex items-center gap-2 group">
1214
<div className="relative w-8 h-8">
13-
<Image src="/logo.png" alt="CodeFXR Logo" fill className="object-contain" />
15+
<Image
16+
src="/logo.png"
17+
alt="CodeFXR Logo"
18+
fill
19+
className="object-contain"
20+
/>
1421
</div>
1522
<span className="text-xl font-bold tracking-tight group-hover:text-slate-200 transition-colors">CodeFXR</span>
1623
</Link>
24+
25+
{/* Right Side Links */}
1726
<div className="hidden md:flex gap-6 text-sm font-medium text-slate-400">
18-
<Link href="https://github.com/CodeFXR/codefxr.github.io" target="_blank" rel="noopener noreferrer" className="hover:text-blue-400 transition-colors">GitHub</Link>
27+
<Link
28+
href="https://github.com/CodeFXR/codefxr.github.io"
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
className="hover:text-blue-400 transition-colors"
32+
>
33+
GitHub
34+
</Link>
1935
</div>
2036
</div>
2137
</nav>
@@ -26,7 +42,7 @@ export default function DocsLayout({ children }: { children: React.ReactNode })
2642
{/* --- 3. SIDEBAR --- */}
2743
<aside className="w-full md:w-64 shrink-0 md:border-r border-slate-800 md:min-h-[calc(100vh-6rem)] px-6 py-8 bg-slate-950 md:sticky md:top-24 self-start">
2844

29-
{/* Synapxis Menu */}
45+
{/* Synapxis Menu (Teal) */}
3046
<h3 className="font-bold text-teal-400 mb-4 px-2 uppercase text-xs tracking-wider">Synapxis</h3>
3147
<ul className="space-y-1 mb-8 border-l border-slate-800 ml-2">
3248
<li><Link href="/docs/synapxis#features" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-teal-400 hover:border-l hover:border-teal-400 -ml-[1px] transition-all">Features</Link></li>
@@ -35,11 +51,19 @@ export default function DocsLayout({ children }: { children: React.ReactNode })
3551
<li><Link href="/docs/synapxis#troubleshooting" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-teal-400 hover:border-l hover:border-teal-400 -ml-[1px] transition-all">Troubleshooting</Link></li>
3652
</ul>
3753

38-
{/* Other Apps */}
54+
{/* Sentinel Menu (Red/Rose) */}
55+
<h3 className="font-bold text-red-400 mb-4 px-2 uppercase text-xs tracking-wider">Sentinel</h3>
56+
<ul className="space-y-1 mb-8 border-l border-slate-800 ml-2">
57+
<li><Link href="/docs/sentinel#features" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-red-400 hover:border-l hover:border-red-400 -ml-[1px] transition-all">Features</Link></li>
58+
<li><Link href="/docs/sentinel#prerequisites" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-red-400 hover:border-l hover:border-red-400 -ml-[1px] transition-all">Prerequisites</Link></li>
59+
<li><Link href="/docs/sentinel#installation" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-red-400 hover:border-l hover:border-red-400 -ml-[1px] transition-all">Installation</Link></li>
60+
<li><Link href="/docs/sentinel#usage" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-red-400 hover:border-l hover:border-red-400 -ml-[1px] transition-all">Usage</Link></li>
61+
<li><Link href="/docs/sentinel#troubleshooting" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-red-400 hover:border-l hover:border-red-400 -ml-[1px] transition-all">Troubleshooting</Link></li>
62+
</ul>
63+
64+
{/* In Development */}
3965
<h3 className="font-bold text-slate-500 mb-4 px-2 uppercase text-xs tracking-wider">In Development</h3>
4066
<ul className="space-y-1 ml-2">
41-
<li><Link href="/docs/sentinel" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-white transition-colors">Sentinel</Link></li>
42-
{/* FIXED NAME */}
4367
<li><Link href="/docs/cli-studio" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-white transition-colors">CLI-Studio</Link></li>
4468
<li><Link href="/docs/lxm" className="block px-4 py-1.5 text-sm text-slate-400 hover:text-white transition-colors">LXM</Link></li>
4569
</ul>

app/docs/sentinel/page.tsx

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ShieldCheck, Activity, UserCheck, Lock, PenTool, Terminal, AlertTriangle, Keyboard } from "lucide-react";
1+
import { ShieldCheck, Activity, UserCheck, Lock, PenTool, AlertTriangle, Keyboard } from "lucide-react";
22

33
export default function SentinelDocs() {
44
return (
@@ -18,7 +18,7 @@ export default function SentinelDocs() {
1818
</div>
1919

2020
{/* --- 1. FEATURES --- */}
21-
<section className="mb-16 scroll-mt-24">
21+
<section id="features" className="mb-16 scroll-mt-24">
2222
<h2 className="text-2xl font-bold text-white mb-6 flex items-center gap-2 border-l-4 border-slate-400 pl-4">
2323
Features
2424
</h2>
@@ -75,7 +75,7 @@ export default function SentinelDocs() {
7575
</section>
7676

7777
{/* --- 2. PREREQUISITES --- */}
78-
<section className="mb-16 scroll-mt-24">
78+
<section id="prerequisites" className="mb-16 scroll-mt-24">
7979
<h2 className="text-2xl font-bold text-white mb-6 flex items-center gap-2 border-l-4 border-blue-500 pl-4">
8080
Prerequisites
8181
</h2>
@@ -94,12 +94,13 @@ export default function SentinelDocs() {
9494
</section>
9595

9696
{/* --- 3. INSTALLATION --- */}
97-
<section className="mb-16 scroll-mt-24">
97+
<section id="installation" className="mb-16 scroll-mt-24">
9898
<h2 className="text-2xl font-bold text-white mb-6 border-l-4 border-green-500 pl-4">Installation</h2>
9999

100+
{/* Automatic */}
100101
<div className="mb-10">
101102
<h3 className="text-xl font-semibold text-white mb-4 flex items-center gap-2">
102-
The One-Liner <span className="text-xs bg-green-500/10 text-green-400 px-2 py-0.5 rounded border border-green-500/20">Recommended</span>
103+
Option A: Automatic <span className="text-xs bg-green-500/10 text-green-400 px-2 py-0.5 rounded border border-green-500/20">Recommended</span>
103104
</h3>
104105
<p className="mb-4 text-slate-400">Clones the repo, creates a virtual environment, installs dependencies, and sets up the alias.</p>
105106
<pre className="bg-slate-900 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 shadow-lg shadow-green-900/10 max-w-[85vw] md:max-w-none">
@@ -108,10 +109,31 @@ export default function SentinelDocs() {
108109
</code>
109110
</pre>
110111
</div>
112+
113+
{/* Manual */}
114+
<div>
115+
<h3 className="text-xl font-semibold text-white mb-4">Option B: Manual</h3>
116+
<pre className="bg-slate-900 p-4 rounded-lg font-mono text-sm overflow-x-auto border border-slate-800 leading-relaxed max-w-[85vw] md:max-w-none">
117+
<code className="text-slate-300">
118+
{`git clone https://github.com/CodeFXR/Sentinel.git
119+
cd Sentinel
120+
121+
# 1. Create Environment
122+
python3 -m venv .venv
123+
source .venv/bin/activate
124+
125+
# 2. Install Dependencies
126+
pip install textual pyhanko cryptography
127+
128+
# 3. Run
129+
python main.py`}
130+
</code>
131+
</pre>
132+
</div>
111133
</section>
112134

113135
{/* --- 4. USAGE --- */}
114-
<section className="mb-16 scroll-mt-24">
136+
<section id="usage" className="mb-16 scroll-mt-24">
115137
<h2 className="text-2xl font-bold text-white mb-6 flex items-center gap-2 border-l-4 border-purple-500 pl-4">
116138
Usage
117139
</h2>
@@ -151,7 +173,7 @@ export default function SentinelDocs() {
151173
</section>
152174

153175
{/* --- 5. TROUBLESHOOTING --- */}
154-
<section className="mb-20 scroll-mt-24">
176+
<section id="troubleshooting" className="mb-20 scroll-mt-24">
155177
<h2 className="text-2xl font-bold text-white mb-6 border-l-4 border-red-500 pl-4">Troubleshooting</h2>
156178
<div className="space-y-4">
157179

0 commit comments

Comments
 (0)