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/apple-icon.png | Bin 3476 -> 0 bytes apps/landing/app/favicon.ico | Bin 15086 -> 0 bytes apps/landing/app/icon.png | Bin 3476 -> 0 bytes apps/landing/app/layout.tsx | 27 ---- apps/landing/app/opengraph-image.png | Bin 3195946 -> 0 bytes apps/landing/app/page.tsx | 265 ----------------------------------- apps/landing/app/privacy/page.tsx | 217 ---------------------------- apps/landing/app/twitter-image.png | Bin 3195946 -> 0 bytes 8 files changed, 509 deletions(-) delete mode 100644 apps/landing/app/apple-icon.png delete mode 100644 apps/landing/app/favicon.ico delete mode 100644 apps/landing/app/icon.png delete mode 100644 apps/landing/app/layout.tsx delete mode 100644 apps/landing/app/opengraph-image.png delete mode 100644 apps/landing/app/page.tsx delete mode 100644 apps/landing/app/privacy/page.tsx delete mode 100644 apps/landing/app/twitter-image.png (limited to 'apps/landing/app') diff --git a/apps/landing/app/apple-icon.png b/apps/landing/app/apple-icon.png deleted file mode 100644 index 8b600d2f..00000000 Binary files a/apps/landing/app/apple-icon.png and /dev/null differ diff --git a/apps/landing/app/favicon.ico b/apps/landing/app/favicon.ico deleted file mode 100644 index d940a939..00000000 Binary files a/apps/landing/app/favicon.ico and /dev/null differ diff --git a/apps/landing/app/icon.png b/apps/landing/app/icon.png deleted file mode 100644 index 3dcfd34c..00000000 Binary files a/apps/landing/app/icon.png and /dev/null differ diff --git a/apps/landing/app/layout.tsx b/apps/landing/app/layout.tsx deleted file mode 100644 index e655a770..00000000 --- a/apps/landing/app/layout.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type { Metadata } from "next"; -import { Inter } from "next/font/google"; - -import "@hoarder/tailwind-config/globals.css"; - -import React from "react"; - -const inter = Inter({ subsets: ["latin"] }); - -export const metadata: Metadata = { - title: "Karakeep", - metadataBase: new URL("https://karakeep.app"), - description: - "The Bookmark Everything app. Hoard links, notes, and images and they will get automatically tagged AI.", -}; - -export default async function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return ( - - {children} - - ); -} diff --git a/apps/landing/app/opengraph-image.png b/apps/landing/app/opengraph-image.png deleted file mode 100644 index b0dce115..00000000 Binary files a/apps/landing/app/opengraph-image.png and /dev/null differ 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 ( -
-
- - -
- - - -
-
- ); -} diff --git a/apps/landing/app/privacy/page.tsx b/apps/landing/app/privacy/page.tsx deleted file mode 100644 index 366a0395..00000000 --- a/apps/landing/app/privacy/page.tsx +++ /dev/null @@ -1,217 +0,0 @@ -export default function PrivacyPolicy() { - return ( -
- Hoarder - Privacy Policy - Privacy Policy -

- This privacy policy applies to the Hoarder App app (hereby referred to - as "Application") for mobile devices that was created by - Mohamed Bassem (hereby referred to as "Service Provider") as - an Open Source service. This service is intended for use "AS - IS". -

-
- Information Collection and Use -

- The Application collects information when you download and use it. This - information may include information such as -

- -

-
-

- The Application does not gather precise information about the location - of your mobile device. -

-
-

- The Application collects your device's location, which helps the - Service Provider determine your approximate geographical location and - make use of in below ways: -

-
    -
  • - Geolocation Services: The Service Provider utilizes location data to - provide features such as personalized content, relevant - recommendations, and location-based services. -
  • -
  • - Analytics and Improvements: Aggregated and anonymized location data - helps the Service Provider to analyze user behavior, identify - trends, and improve the overall performance and functionality of the - Application. -
  • -
  • - Third-Party Services: Periodically, the Service Provider may - transmit anonymized location data to external services. These - services assist them in enhancing the Application and optimizing - their offerings. -
  • -
-
-
-

- The Service Provider may use the information you provided to contact you - from time to time to provide you with important information, required - notices and marketing promotions. -

-
-

- For a better experience, while using the Application, the Service - Provider may require you to provide us with certain personally - identifiable information, including but not limited to Name,Email. The - information that the Service Provider request will be retained by them - and used as described in this privacy policy. -

-
- Third Party Access -

- Only aggregated, anonymized data is periodically transmitted to external - services to aid the Service Provider in improving the Application and - their service. The Service Provider may share your information with - third parties in the ways that are described in this privacy statement. -

-
-
-

- Please note that the Application utilizes third-party services that - have their own Privacy Policy about handling data. Below are the links - to the Privacy Policy of the third-party service providers used by the - Application: -

- -
-
-

- The Service Provider may disclose User Provided and Automatically - Collected Information: -

- -

-
- Opt-Out Rights -

- You can stop all collection of information by the Application easily by - uninstalling it. You may use the standard uninstall processes as may be - available as part of your mobile device or via the mobile application - marketplace or network. -

-
- Data Retention Policy -

- The Service Provider will retain User Provided data for as long as you - use the Application and for a reasonable time thereafter. If you'd - like them to delete User Provided Data that you have provided via the - Application, please contact them at me@mbassem.com and they will respond - in a reasonable time. -

-
- Children -

- The Service Provider does not use the Application to knowingly solicit - data from or market to children under the age of 13. -

-
-
-

- The Application does not address anyone under the age of 13. The - Service Provider does not knowingly collect personally identifiable - information from children under 13 years of age. In the case the - Service Provider discover that a child under 13 has provided personal - information, the Service Provider will immediately delete this from - their servers. If you are a parent or guardian and you are aware that - your child has provided us with personal information, please contact - the Service Provider (me@mbassem.com) so that they will be able to - take the necessary actions. -

-
-
- Security -

- The Service Provider is concerned about safeguarding the confidentiality - of your information. The Service Provider provides physical, electronic, - and procedural safeguards to protect information the Service Provider - processes and maintains. -

-
- Changes -

- This Privacy Policy may be updated from time to time for any reason. The - Service Provider will notify you of any changes to the Privacy Policy by - updating this page with the new Privacy Policy. You are advised to - consult this Privacy Policy regularly for any changes, as continued use - is deemed approval of all changes. -

-
-

This privacy policy is effective as of 2024-03-19

-
- Your Consent -

- By using the Application, you are consenting to the processing of your - information as set forth in this Privacy Policy now and as amended by - us. -

-
- Contact Us -

- If you have any questions regarding privacy while using the Application, - or have questions about the practices, please contact the Service - Provider via email at me@mbassem.com. -

-
-

- This privacy policy page was generated by{" "} - - App Privacy Policy Generator - -

-
- ); -} diff --git a/apps/landing/app/twitter-image.png b/apps/landing/app/twitter-image.png deleted file mode 100644 index b0dce115..00000000 Binary files a/apps/landing/app/twitter-image.png and /dev/null differ -- cgit v1.2.3-70-g09d2