• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / codegate-ui / 12786413042

15 Jan 2025 10:30AM CUT coverage: 68.304%. Remained the same
12786413042

Pull #71

github

web-flow
Merge 8301e6f35 into b2446e3b9
Pull Request #71: ci(release-please): simple configuration

187 of 356 branches covered (52.53%)

Branch coverage included in aggregate %.

397 of 499 relevant lines covered (79.56%)

27.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/HelpLayout.tsx
1
import { Link, Outlet, useLocation } from 'react-router-dom';
2

3
export function HelpLayout() {
4
  const location = useLocation();
×
5

6
  const isActive = (path: string) => {
×
7
    return location.pathname === path;
×
8
  };
9

10
  const linkClass = (path: string) => {
×
11
    return `block px-4 py-2 rounded-lg transition-colors ${
×
12
      isActive(path)
×
13
        ? 'bg-blue-100 text-blue-700 font-medium'
14
        : 'text-gray-600 hover:bg-gray-100'
15
    }`;
16
  };
17

18
  return (
19
    <div className="container mx-auto px-4 py-8">
20
      <h1 className="text-3xl font-bold mb-8">Help Center</h1>
21
      <div className="flex gap-8">
22
        <aside className="w-64 flex-shrink-0">
23
          <nav className="flex flex-col gap-2 sticky top-8">
24
            <Link
25
              to="/help/continue-setup"
26
              className={linkClass('/help/continue-setup')}
27
            >
28
              Continue Setup
29
            </Link>
30
            <Link
31
              to="/help/copilot-setup"
32
              className={linkClass('/help/copilot-setup')}
33
            >
34
              Copilot Setup
35
            </Link>
36
          </nav>
37
        </aside>
38
        <main className="flex-1 min-w-0">
39
          <Outlet />
40
        </main>
41
      </div>
42
    </div>
43
  );
44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc