aboutsummaryrefslogtreecommitdiffstats
path: root/apps/landing/src/Navbar.tsx
blob: 6d252db4af493685fb1482ba26cfbc16b83fc059 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { buttonVariants } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import { Link } from "react-router";

import { DEMO_LINK, DOCS_LINK, GITHUB_LINK } from "./constants";
import Logo from "/icons/karakeep-full.svg?url";

export default function NavBar() {
  return (
    <div className="flex justify-between px-3 py-4">
      <Link to="/">
        <img src={Logo} alt="logo" className="w-36" />
      </Link>
      <div className="hidden items-center gap-6 sm:flex">
        <Link to="/pricing" className="flex justify-center gap-2 text-center">
          Pricing
        </Link>
        <a
          href={DOCS_LINK}
          target="_blank"
          className="flex justify-center gap-2 text-center"
          rel="noreferrer"
        >
          Docs
        </a>
        <a
          href={GITHUB_LINK}
          target="_blank"
          className="flex justify-center gap-2 text-center"
          rel="noreferrer"
        >
          GitHub
        </a>
        <a
          href="https://cloud.karakeep.app"
          target="_blank"
          className={cn(
            "text flex h-full w-20 gap-2",
            buttonVariants({ variant: "outline" }),
          )}
          rel="noreferrer"
        >
          Login
        </a>
        <a
          href={DEMO_LINK}
          target="_blank"
          className={cn(
            "text flex h-full w-28 gap-2",
            buttonVariants({ variant: "default" }),
          )}
          rel="noreferrer"
        >
          Try Demo
        </a>
      </div>
    </div>
  );
}