Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: remove ph banner
Marc Seitz0b0aab1a6633
diff --git a/components/web/header.tsx b/components/web/header.tsxindex f74b1505..fa858e5e 100644--- a/components/web/header.tsx+++ b/components/web/header.tsx@@ -8,11 +8,24 @@ export default function Header() {<div className="px-6 pb-24 pt-10 sm:pb-32 lg:col-span-7 lg:px-0 lg:pb-56 lg:pt-48 xl:col-span-6"><div className="mx-auto max-w-2xl lg:mx-0"><div className="hidden sm:mt-32 sm:flex lg:mt-16"></div>- <h1 className="mt-24 text-4xl font-bold tracking-tight text-gray-900 sm:mt-10 sm:text-5xl">+ <div className="mt-24 sm:mt-10">+ <a+ target="_blank"+ href="https://www.producthunt.com/posts/papermark-3?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-papermark"+ >+ <img+ src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=411605&theme=light&period=daily"+ alt="Papermark - The open-source DocSend alternative | Product Hunt"+ className="w-[250px] h-[54px]"+ />+ </a>+ </div>+ <h1 className="mt-10 text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl">Papermark will make your pitchdeck stand out</h1><p className="mt-2 text-lg leading-8 text-gray-600">- The Open-Source Docsend Alternative to securely share documents with real-time analytics.+ The Open-Source Docsend Alternative to securely share documents+ with real-time analytics.</p><div className="mt-10 flex items-center gap-x-6"><Linkdiff --git a/components/web/section2.tsx b/components/web/section2.tsxindex 3a50e42c..6071432d 100644--- a/components/web/section2.tsx+++ b/components/web/section2.tsx@@ -15,7 +15,7 @@ export default function Section2() {</p><div className="mt-10 flex items-center justify-center gap-x-6"><a- href="#"+ href="/login"className="rounded-md bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Start nowdiff --git a/pages/index.tsx b/pages/index.tsxindex 938173e2..de0b837f 100644--- a/pages/index.tsx+++ b/pages/index.tsx@@ -8,21 +8,8 @@ import Testimonials from "@/components/web/testimonials";import Logos from "@/components/web/logos";import Head from "next/head";import Section3 from "@/components/web/section3";-import X from "@/components/shared/icons/x";-import { useEffect, useState } from "react";-import Cookies from "js-cookie";-export default function Home() {- const [showBanner, setShowBanner] = useState<boolean>(true);-- useEffect(() => {- if (Cookies.get("hideBanner") !== "product-day-banner") {- setShowBanner(true);- } else {- setShowBanner(false);- }- }, []);-+export default function Home() {return (<><Head>@@ -72,45 +59,6 @@ export default function Home() {</div></div><Footer />-- { showBanner ? (- <div className="fixed bottom-5 z-20 mx-5 flex flex-col space-y-4 rounded-lg border border-gray-400 bg-white p-5 shadow-lg sm:right-5 sm:mx-auto sm:max-w-sm">- <div className="absolute top-2 right-2 text-gray-500">- <button- onClick={() => {- setShowBanner(false);- Cookies.set("hideBanner", "product-day-banner", {- expires: 7,- });- }}- >- <X className="h-4 w-4" />- </button>- </div>- <h3 className="text-lg font-semibold text-black">- Thank you, Papermark Community ✨- </h3>- <p className="text-sm text-gray-500">- With the support of the open-source community, we launched on Product- Hunt to <span className="font-bold">#1 of the day</span>.- </p>- <div className="flex justify-center">- <div className="">- <a- target="_blank"- href="https://www.producthunt.com/posts/papermark-3?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-papermark"- >- <img- src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=411605&theme=light&period=daily"- alt="Papermark - The open-source DocSend alternative | Product Hunt"- className="w-[250px] h-[54px]"- />- </a>- </div>- </div>- </div>- ) : null }-</>);}