Spaces:
Sleeping
Sleeping
Upload web/components/nav.tsx
Browse files- web/components/nav.tsx +3 -1
web/components/nav.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
import Link from "next/link";
|
| 4 |
import { usePathname } from "next/navigation";
|
| 5 |
-
import { ShieldCheck, Menu, X, Crown } from "lucide-react";
|
| 6 |
import { useState, useEffect } from "react";
|
| 7 |
import { createClient } from "@/lib/supabase/client";
|
| 8 |
|
|
@@ -10,6 +10,7 @@ const links = [
|
|
| 10 |
{ href: "/#features", label: "Features" },
|
| 11 |
{ href: "/#pricing", label: "Pricing" },
|
| 12 |
{ href: "/dashboard-pages/analyze", label: "Scanner" },
|
|
|
|
| 13 |
];
|
| 14 |
|
| 15 |
const ADMIN_EMAILS = ["ankygaur9972@gmail.com"];
|
|
@@ -34,6 +35,7 @@ export function Nav() {
|
|
| 34 |
<Link href="/" className="flex items-center gap-2">
|
| 35 |
<ShieldCheck className="w-5 h-5 text-zinc-900" strokeWidth={2.2} />
|
| 36 |
<span className="font-semibold text-[15px] tracking-tight text-zinc-900">ClauseGuard</span>
|
|
|
|
| 37 |
</Link>
|
| 38 |
|
| 39 |
<div className="hidden md:flex items-center gap-1">
|
|
|
|
| 2 |
|
| 3 |
import Link from "next/link";
|
| 4 |
import { usePathname } from "next/navigation";
|
| 5 |
+
import { ShieldCheck, Menu, X, Crown, FileCompare } from "lucide-react";
|
| 6 |
import { useState, useEffect } from "react";
|
| 7 |
import { createClient } from "@/lib/supabase/client";
|
| 8 |
|
|
|
|
| 10 |
{ href: "/#features", label: "Features" },
|
| 11 |
{ href: "/#pricing", label: "Pricing" },
|
| 12 |
{ href: "/dashboard-pages/analyze", label: "Scanner" },
|
| 13 |
+
{ href: "/dashboard-pages/compare", label: "Compare", icon: FileCompare },
|
| 14 |
];
|
| 15 |
|
| 16 |
const ADMIN_EMAILS = ["ankygaur9972@gmail.com"];
|
|
|
|
| 35 |
<Link href="/" className="flex items-center gap-2">
|
| 36 |
<ShieldCheck className="w-5 h-5 text-zinc-900" strokeWidth={2.2} />
|
| 37 |
<span className="font-semibold text-[15px] tracking-tight text-zinc-900">ClauseGuard</span>
|
| 38 |
+
<span className="hidden sm:inline text-[10px] font-medium text-zinc-400 ml-1 border border-zinc-200 px-1.5 py-0.5 rounded">v2.0</span>
|
| 39 |
</Link>
|
| 40 |
|
| 41 |
<div className="hidden md:flex items-center gap-1">
|