From 3f2d3560dc04dbee23237d896c1325389035c738 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 6 Apr 2025 22:57:07 +0100 Subject: refactor: Migrate the landing page from nextjs to vite --- apps/landing/app/page.tsx | 265 ---------------------------------------------- 1 file changed, 265 deletions(-) delete mode 100644 apps/landing/app/page.tsx (limited to 'apps/landing/app/page.tsx') diff --git a/apps/landing/app/page.tsx b/apps/landing/app/page.tsx deleted file mode 100644 index 88fc1b03..00000000 --- a/apps/landing/app/page.tsx +++ /dev/null @@ -1,265 +0,0 @@ -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 appStoreBadge from "@/public/app-store-badge.png"; -import chromeExtensionBadge from "@/public/chrome-extension-badge.png"; -import firefoxAddonBadge from "@/public/firefox-addon.png"; -import playStoreBadge from "@/public/google-play-badge.webp"; -import screenshot from "@/public/hero.webp"; -import { - ArrowDownNarrowWide, - Bookmark, - BrainCircuit, - CheckCheck, - Github, - Server, - SunMoon, - TextSearch, - WalletCards, -} from "lucide-react"; - -const GITHUB_LINK = "https://github.com/hoarder-app/hoarder"; -const DOCS_LINK = "https://docs.karakeep.app"; -const DEMO_LINK = "https://try.karakeep.app"; - -const platforms = [ - { - name: "iOS", - url: "https://apps.apple.com/us/app/hoarder-app/id6479258022", - badge: appStoreBadge, - }, - { - name: "Android", - url: "https://play.google.com/store/apps/details?id=app.hoarder.hoardermobile&pcampaignid=web_share", - badge: playStoreBadge, - }, - { - name: "Chrome Extension", - url: "https://chromewebstore.google.com/detail/hoarder/kgcjekpmcjjogibpjebkhaanilehneje", - badge: chromeExtensionBadge, - }, - { - name: "Firefox Addon", - url: "https://addons.mozilla.org/en-US/firefox/addon/hoarder/", - badge: firefoxAddonBadge, - }, -]; - -const featuresList = [ - { - icon: Bookmark, - title: "Bookmark", - description: "Bookmark links, take simple notes and store images and pdfs.", - }, - { - icon: BrainCircuit, - title: "AI Tagging", - description: - "Automatically tags your bookmarks using AI for faster retrieval.", - }, - { - icon: ArrowDownNarrowWide, - title: "Auto Fetch", - description: - "Automatically fetches title, description and images for links.", - }, - { - icon: WalletCards, - title: "Lists", - description: "Sort your bookmarks into lists for better organization.", - }, - { - icon: TextSearch, - title: "Search", - description: "Search through all your bookmarks using full text search.", - }, - { - icon: Server, - title: "Self Hosting", - description: "Easy self hosting with docker for privacy and control.", - }, - { - icon: CheckCheck, - title: "Bulk Actions", - description: "Quickly manage your bookmarks with bulk actions.", - }, - { - icon: SunMoon, - title: "Dark Mode", - description: "Hoarder supports dark mode for better reading experience.", - }, -]; - -function NavBar() { - return ( -
- -
- - Docs - - - GitHub - - - Try Demo - -
-
- ); -} - -function Hero() { - return ( -
-
-

- The{" "} - - Bookmark Everything - {" "} - App -

-
-

- 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! -

-
-
-
- - Try Demo - - - GitHub - -
-
- ); -} - -function Platforms() { - return ( -
-

- Apps & Extensions for Seamless Access -

-

- Enjoy seamless access with our mobile apps and browser extensions. -

-
- {platforms.map((platform) => ( -
- - {platform.name} - -
- ))} -
-
- ); -} - -function Features() { - return ( -
-
- {featuresList.map((feature) => ( -
-
- -

- {feature.title} -

-
-

{feature.description}

-
- ))} -
-
- ); -} - -function Footer() { - return ( -
-
© 2024 karakeep.app
-
- - Docs - - - GitHub - -
-
- ); -} - -function Screenshots() { - return ( -
- screenshot -
- ); -} - -export default function LandingPage() { - return ( -
-
- - -
- - - -
- ); -} -- cgit v1.2.3-70-g09d2