Skip to content

Commit

Permalink
landing: Add the demo link to the landing page and mention it in the …
Browse files Browse the repository at this point in the history
…docs
  • Loading branch information
MohamedBassem committed Mar 21, 2024
1 parent a9e8053 commit 953151d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 15 deletions.
15 changes: 12 additions & 3 deletions apps/landing/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import Image from "next/image";
import Link from "next/link";
import { Button, buttonVariants } from "@/components/ui/button";
import { buttonVariants } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import screenshot from "@/public/screenshot.png";
import { ExternalLink, Github, PackageOpen } 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 (
Expand Down Expand Up @@ -56,11 +57,19 @@ function Hero() {
</div>
</div>
<div className="flex h-10 gap-4">
<Button className="h-full w-28" variant="default">
<Link
href={DEMO_LINK}
target="_blank"
className={cn(
"flex h-full w-28 gap-2",
buttonVariants({ variant: "default" }),
)}
>
Demo
</Button>
</Link>
<Link
href={GITHUB_LINK}
target="_blank"
className={cn(
"flex h-full w-28 gap-2",
buttonVariants({ variant: "outline" }),
Expand Down
12 changes: 12 additions & 0 deletions docs/docs/01-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ Hoarder is an open source "Bookmark Everything" app that uses AI for automatical
- [Planned] Archiving the content for offline reading.

**⚠️ This app is under heavy development and it's far from stable.**


## Demo

You can access the demo at [https://try.hoarder.app](https://try.hoarder.app). Login with the following creds:

```
email: [email protected]
password: demodemo
```

The demo is seeded with some content, but it's in read-only mode to prevent abuse.
24 changes: 12 additions & 12 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const config: Config = {
title: 'Docs',
items: [
{
label: 'Tutorial',
label: 'Introduction',
to: '/',
},
],
Expand All @@ -85,30 +85,30 @@ const config: Config = {
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
label: 'GitHub',
href: 'https://github.com/MohamedBassem/hoarder-app',
},
],
},
{
title: 'More',
items: [
{
label: 'Homepage',
href: 'https://hoarder.app',
},
{
label: 'GitHub',
href: 'https://github.com/MohamedBassem/hoarder-app',
},
{
label: 'Demo',
href: 'https://try.hoarder.app',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} Hoarder App. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
Expand Down

0 comments on commit 953151d

Please sign in to comment.