Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

update banner

Marc Seitz30e7c1a6c8e8
diff --git a/components/web/banner-launch-week.tsx b/components/web/banner-launch-week.tsx
index 747a8b33..1a5984cb 100644
--- a/components/web/banner-launch-week.tsx
+++ b/components/web/banner-launch-week.tsx
@@ -1,6 +1,4 @@
-import { XMarkIcon } from "@heroicons/react/20/solid";
-
-export default function Example() {
+export default function Banner() {
return (
<div className="relative isolate flex items-center gap-x-6 overflow-hidden bg-gray-900 px-6 py-2.5 sm:px-3.5 sm:before:flex-1">
<div
@@ -29,21 +27,34 @@ export default function Example() {
</div>
<div className="flex justify-center items-center gap-x-4 gap-y-2">
<p className="text-sm leading-6 text-white">
- <strong className="font-semibold">Papermark Launch Week </strong>
- <svg
+ <strong className="font-semibold">Papermark AI</strong> on Product
+ Hunt
+ {/* <svg
viewBox="0 0 2 2"
className="mx-2 inline h-0.5 w-0.5 fill-current"
aria-hidden="true"
>
<circle cx={1} cy={1} r={1} />
- </svg>
- 04.12-08.12
+ </svg> */}
+ {/* 04.12-08.12 */}
</p>
- <a
+ {/* <a
href="https://www.papermark.io/launch-week"
className="flex-none rounded-md bg-green-600 px-3.5 py-1 text-sm font-semibold text-white shadow-sm hover:bg-green-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-900"
>
Follow this madness <span aria-hidden="true"></span>
+ </a> */}
+ <a
+ href="https://www.producthunt.com/posts/papermark-ai?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-papermark&#0045;ai"
+ target="_blank"
+ >
+ <img
+ src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=427633&theme=light"
+ alt="Papermark&#0032;AI - Open&#0032;source&#0032;AI&#0032;document&#0032;assistant | Product Hunt"
+ style={{ width: "200px", height: "54px" }}
+ width="200"
+ height="54"
+ />
</a>
</div>
<div className="flex flex-1 justify-end">
diff --git a/components/web/header.tsx b/components/web/header.tsx
index ce192925..a605affc 100644
--- a/components/web/header.tsx
+++ b/components/web/header.tsx
@@ -1,5 +1,6 @@
import Link from "next/link";
import GitHubIcon from "@/components/shared/icons/github";
+import { Button } from "../ui/button";
export default function Header() {
return (
@@ -11,7 +12,7 @@ export default function Header() {
<div className="pb-4 pt-10 lg:pb-56 lg:pt-48 lg:flex-1">
<div className="mx-auto max-w-2xl">
<div className="mt-24 sm:mt-10">
- <a
+ {/* <a
target="_blank"
href="https://www.producthunt.com/posts/papermark-3?utm_source=badge-top-post-badge&amp;utm_medium=badge&amp;utm_souce=badge-papermark"
>
@@ -20,7 +21,19 @@ export default function Header() {
alt="Papermark - The open-source DocSend alternative | Product Hunt"
className="w-[250px] h-[54px]"
/>
- </a>
+ </a> */}
+ {/* <Button className="bg-">Launch Week Dec 4-8</Button> */}
+ <Link href={"/launch-week"}>
+ <Button
+ className="group space-x-1 bg-gradient-to-r from-[#16222A] via-emerald-500 to-[#16222A]"
+ variant={"special"}
+ style={{
+ backgroundSize: "200% auto",
+ }}
+ >
+ Launch Week Dec 4-8
+ </Button>
+ </Link>
</div>
<h1 className="mt-10 text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl">
Founder friendly document sharing platform
diff --git a/components/web/navbar.tsx b/components/web/navbar.tsx
index 2f5a0df3..d2927592 100644
--- a/components/web/navbar.tsx
+++ b/components/web/navbar.tsx
@@ -1,5 +1,6 @@
import Link from "next/link";
import GitHubIcon from "@/components/shared/icons/github";
+import Banner from "./banner-launch-week";
function classNames(...classes: any[]) {
return classes.filter(Boolean).join(" ");
@@ -8,6 +9,7 @@ function classNames(...classes: any[]) {
export default function Navbar() {
return (
<>
+ <Banner />
<nav className="top-0 w-full z-50 backdrop-blur-md bg-white">
<div className="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8 ">
<div className="relative flex h-16 justify-between">
@@ -45,4 +47,3 @@ export default function Navbar() {
</>
);
}
-
diff --git a/pages/index.tsx b/pages/index.tsx
index 483b9c2b..c04eda85 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -12,8 +12,7 @@ import Banner from "@/components/web/banner-launch-week";
export default function Home() {
return (
-
- <>
+ <>
<Head>
<meta
name="description"
@@ -34,13 +33,8 @@ export default function Home() {
<meta property="og:url" content="https://www.papermark.io" />
<meta name="twitter:card" content="summary_large_image" />
</Head>
-
-
- <Banner />
-
- <Navbar />
-
+ <Navbar />
<div>
<div className="relative isolate overflow-hidden bg-white ">
@@ -56,7 +50,6 @@ export default function Home() {
}}
/>
</div>
-
<Header />
<Logos />