fixed docs v1
This commit is contained in:
@@ -6,10 +6,27 @@ import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
import Home from "@/pages/home";
|
||||
import NotFound from "@/pages/not-found";
|
||||
|
||||
import Docs from "@/pages/docs";
|
||||
|
||||
function Router() {
|
||||
return (
|
||||
<Switch>
|
||||
<Route path="/" component={Home} />
|
||||
<Route path="/docs" component={Docs} />
|
||||
<Route path="/webshell">
|
||||
<div className="min-h-screen bg-black flex flex-col items-center justify-center p-8 font-mono">
|
||||
<div className="text-destructive text-4xl mb-4">
|
||||
404: Web Shell Not Found
|
||||
</div>
|
||||
<p className="text-muted-foreground text-center max-w-md">
|
||||
The web-based shell environment is currently unavailable. Please use
|
||||
your native terminal for the full experience.
|
||||
</p>
|
||||
<a href="/" className="mt-8 text-primary hover:underline">
|
||||
$ exit
|
||||
</a>
|
||||
</div>
|
||||
</Route>
|
||||
<Route component={NotFound} />
|
||||
</Switch>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user