File size: 887 Bytes
fa3ed75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import Link from "next/link";

export default function Sidebar() {
  const links = [
    { name: "Home", path: "/" },
    { name: "TIA Portal", path: "/tia" },
    { name: "Agents", path: "/agents" },
    { name: "Mapping", path: "/mapping" },
    { name: "Lineage", path: "/mapping/lineage" },
  ];

  return (
    <div style={{
      width: "220px",
      background: "#111",
      height: "100vh",
      padding: "20px",
      boxSizing: "border-box",
      position: "fixed",
      left: 0,
      top: 0
    }}>
      <h3 style={{ color: "#fff" }}>CITADEL</h3>
      <ul style={{ listStyle: "none", padding: 0 }}>
        {links.map((l) => (
          <li key={l.path} style={{ margin: "12px 0" }}>
            <Link href={l.path} style={{ color: "#ccc", textDecoration: "none" }}>
              {l.name}
            </Link>
          </li>
        ))}
      </ul>
    </div>
  );
}