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

stacklok / codegate-ui / 12951977628

24 Jan 2025 02:52PM UTC coverage: 71.065% (+0.01%) from 71.054%
12951977628

Pull #194

github

web-flow
Merge 47cb98072 into 648a6749d
Pull Request #194: feat: add not_found route

336 of 578 branches covered (58.13%)

Branch coverage included in aggregate %.

1 of 2 new or added lines in 1 file covered. (50.0%)

725 of 915 relevant lines covered (79.23%)

65.39 hits per line

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

50.0
/src/routes/route-not-found.tsx
1
import { EmptyState } from "@/components/EmptyState";
2
import { IllustrationError, Button } from "@stacklok/ui-kit";
3
import { useNavigate } from "react-router-dom";
4
import { FlipBackward } from "@untitled-ui/icons-react";
5

6
export function RouteNotFound() {
7
  const navigate = useNavigate();
1✔
8

9
  return (
10
    <div className="flex items-center justify-center h-full">
11
      <EmptyState
12
        title="Oops! There's nothing here"
13
        description="Either the page you were looking for doesn’t exist or the link may be broken."
14
        illustration={<IllustrationError className="w-1/2" />}
15
      >
NEW
16
        <Button variant="primary" onPress={() => navigate("/")}>
×
17
          <FlipBackward /> Home
18
        </Button>
19
      </EmptyState>
20
    </div>
21
  );
22
}
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