Skip to content
Open
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
3 changes: 2 additions & 1 deletion src/Routes/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import Login from "../pages/Login/Login.tsx";
import ContributorProfile from "../pages/ContributorProfile/ContributorProfile.tsx";
import Home from "../pages/Home/Home.tsx";
import Activity from "../pages/Activity.tsx";
import PrivacyPolicy from "../pages/Privacy/PrivacyPolicy.tsx"; // ✅ Updated import path to match your new folder structure
import PRAnalytics from "../pages/PRAnalytics/PRAnalytics.tsx";

const Router = () => {
return (
<Routes>
<Route path="/" element={<Home />} />
<Route path="/track" element={<Tracker />} />
<Route path="/pr-analytics" element={<PRAnalytics />} />
<Route path="/signup" element={<Signup />} />
<Route path="/login" element={<Login />} />
<Route path="/about" element={<About />} />
Expand Down
11 changes: 10 additions & 1 deletion src/components/Features.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BarChart3, Users, Search, Zap, Shield, Globe } from 'lucide-react';
import { BarChart3, Users, Search, Zap, Shield, Globe, GitPullRequest } from 'lucide-react';

const Features = () => {
const features = [
Expand Down Expand Up @@ -47,6 +47,15 @@ const Features = () => {
hoverColor: 'hover:bg-red-400/50 dark:hover:bg-red-900/30',
borderColor: 'hover:border-red-200 dark:hover:border-red-700'
},
{
icon: GitPullRequest,
title: 'PR Review Intelligence',
description: 'Advanced metrics on review turnaround, bottleneck detection, overloaded reviewer lists, and repository health index.',
bgColor: 'bg-teal-100',
iconColor: 'text-teal-600',
hoverColor: 'hover:bg-teal-400/50 dark:hover:bg-teal-900/30',
borderColor: 'hover:border-teal-200 dark:hover:border-teal-700'
},
{
icon: Globe,
title: 'Export & Share',
Expand Down
12 changes: 12 additions & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ const Navbar: React.FC = () => {
Tracker
</NavLink>

<NavLink to="/pr-analytics" className={navLinkStyles}>
PR Analytics
</NavLink>

<NavLink to="/contributors" className={navLinkStyles}>
Contributors
</NavLink>
Expand Down Expand Up @@ -123,6 +127,14 @@ const Navbar: React.FC = () => {
Tracker
</NavLink>

<NavLink
to="/pr-analytics"
className={navLinkStyles}
onClick={closeMenu}
>
PR Analytics
</NavLink>

<NavLink
to="/contributors"
className={navLinkStyles}
Expand Down
Loading