blob: a038eb51a348233a5976a1b04be114e1aef3912b (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
import Image from "next/image";
import Link from "next/link";
import HoarderLogo from "@/components/HoarderLogo";
import { buttonVariants } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import screenshot from "@/public/screenshot.png";
import { ExternalLink, Github } from "lucide-react";
const GITHUB_LINK = "https://github.com/MohamedBassem/hoarder-app";
const DOCS_LINK = "https://docs.hoarder.app";
const DEMO_LINK = "https://try.hoarder.app";
function NavBar() {
return (
<div className="flex justify-between px-3 py-4">
<HoarderLogo height={30} gap="8px" />
<div className="hidden gap-10 sm:flex">
<Link
href={DOCS_LINK}
className="flex justify-center gap-2 text-center"
>
Docs
</Link>
<Link
href={GITHUB_LINK}
className="flex justify-center gap-2 text-center"
>
Github <ExternalLink />
</Link>
</div>
</div>
);
}
function Hero() {
return (
<div className="mt-32 flex flex-grow flex-col items-center justify-center gap-4">
<div className="mt-4 w-full space-y-6 text-center">
<p className="text-center text-5xl font-bold">
The{" "}
<span className="bg-gradient-to-r from-purple-600 to-red-600 bg-clip-text text-transparent">
Bookmark Everything
</span>{" "}
App
</p>
<div className="mx-auto w-full gap-2 text-xl md:w-3/5">
<p className="text-center text-gray-400">
Quickly save links, notes, and images and hoarder will automatically
tag them for you using AI for faster retrieval. Built for the data
hoarders out there!
</p>
<p className="text-center text-gray-400">
Open source, and self hostable!
</p>
</div>
</div>
<div className="flex h-10 gap-4">
<Link
href={DEMO_LINK}
target="_blank"
className={cn(
"flex h-full w-28 gap-2",
buttonVariants({ variant: "default" }),
)}
>
Demo
</Link>
<Link
href={GITHUB_LINK}
target="_blank"
className={cn(
"flex h-full w-28 gap-2",
buttonVariants({ variant: "outline" }),
)}
>
<Github /> Github
</Link>
</div>
</div>
);
}
function Screenshots() {
return (
<div className="mx-auto mt-6 w-11/12">
<Image alt="screenshot" src={screenshot} />
</div>
);
}
export default function LandingPage() {
return (
<div className="flex min-h-screen flex-col">
<div className="container flex flex-col pb-10">
<NavBar />
<Hero />
</div>
<Screenshots />
</div>
);
}
|