Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { Integrations } from "./pages/Integrations";
function App() {
return (
<AuthProvider>
<Router>
<Router basename={import.meta.env.BASE_URL}>
<Routes>
{/* Public Routes - Landing Pages */}
<Route path="/" element={<PublicLayout />}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/pullrequests/PullRequestItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function PullRequestItem({ pullRequest: pr }: PullRequestItemProps) {
</div>
<div className="flex items-center space-x-2 mt-2">
<Link
to={`/pull-requests/${pr.url.split("/").pop()}`}
to={`/dashboard/pull-requests/${pr.url.split("/").pop()}`}
className="text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 font-medium"
>
{pr.title}
Expand Down
7 changes: 4 additions & 3 deletions src/components/settings/IntegrationsSettings.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ReactNode } from "react";
import { Link } from "react-router-dom";
import { Cable } from "lucide-react";
import { SettingsCard } from "./SettingsCard";
import { SettingToggle } from "./SettingToggle";
Expand Down Expand Up @@ -234,12 +235,12 @@ export function IntegrationsSettings({
{integrations.length === 0 && (
<div className="text-center py-6 text-gray-500 dark:text-gray-400">
No active integrations found. Add integrations in the{" "}
<a
href="/integrations"
<Link
to="/integrations"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
Integrations page
</a>
</Link>
.
</div>
)}
Expand Down
7 changes: 4 additions & 3 deletions src/pages/Landing.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Link } from "react-router-dom";
import { Bot, Github, ArrowRight } from "lucide-react";
import { useAuth } from "../context/AuthContext";
import FeaturesGrid from "../components/FeaturesGrid";
Expand Down Expand Up @@ -46,13 +47,13 @@ export function Landing() {
<ArrowRight className="ml-2 h-5 w-5" />
</a>
) : (
<a
href="/auth"
<Link
to="/auth"
className="inline-flex items-center px-6 py-3 rounded-full bg-blue-500 text-white font-semibold hover:bg-blue-400 transition-colors"
>
<Github className="mr-2 h-5 w-5" />
Login with GitHub
</a>
</Link>
)}
</div>
</div>
Expand Down
Loading