Skip to content

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

fix: landing page

Marc Seitza7322f3d652e
diff --git a/components/web/header.tsx b/components/web/header.tsx
index da887b81..cdcc9986 100644
--- a/components/web/header.tsx
+++ b/components/web/header.tsx
@@ -34,7 +34,7 @@ export default function Header() {
<div className="relative md:col-span-5 lg:-mr-8 xl:absolute xl:inset-0 xl:left-1/2 xl:mr-0 mt-6 ">
<img
className="aspect-[3/2] w-full object-contain lg:absolute lg:inset-0 lg:aspect-auto lg:h-full lg:w-3/4"
- src="/_static/image3.png"
+ src="https://www.papermark.io/_static/image3.png"
alt=""
/>
</div>
diff --git a/components/web/navbar.tsx b/components/web/navbar.tsx
index 31f3934c..834dcad3 100644
--- a/components/web/navbar.tsx
+++ b/components/web/navbar.tsx
@@ -11,105 +11,41 @@ function classNames(...classes: any[]) {
export default function Navbar() {
return (
- <Disclosure
- as="nav"
- className="bg-white fixed top-0 w-full z-50 border-b border-gray-200"
- >
- {({ open }) => (
- <>
- <div className="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
- <div className="relative flex h-16 justify-between">
- <div className="absolute inset-y-0 left-0 flex items-center sm:hidden">
- {/* Mobile menu button */}
- <Disclosure.Button className="relative inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500">
- <span className="absolute -inset-0.5" />
- <span className="sr-only">Open main menu</span>
- {open ? (
- <XMarkIcon className="block h-6 w-6" aria-hidden="true" />
- ) : (
- <Bars3Icon className="block h-6 w-6" aria-hidden="true" />
- )}
- </Disclosure.Button>
- </div>
- <div className="flex flex-1 items-center justify-center sm:items-stretch sm:justify-start">
- <div className="flex flex-shrink-0 items-center">
- <Link
- href="/"
- className="text-1xl font-bold text-black hover:text-gray-600"
- >
- Papermark
- </Link>
- </div>
- <div className="hidden sm:ml-6 sm:flex sm:space-x-8">
- {/* Current: "border-indigo-500 text-gray-900", Default: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700" */}
- {/* <a
- href="#"
- className="inline-flex items-center px-1 pt-1 text-sm font-medium text-gray-900"
- >
- Home
- </a> */}
- {/* <a
- href="#"
- className="inline-flex items-center px-1 pt-1 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700"
- >
- Pricing
- </a> */}
- </div>
- </div>
- <div className="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
- <Link
- target="_blank"
- rel="noopener noreferrer"
- className="rounded-md px-3.5 py-2.5 text-sm font-semibold text-black hover:text-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400 flex items-center"
- href="https://github.com/mfts/papermark"
- >
- <GitHubIcon className="mr-2 h-5 w-5" /> Github
- </Link>
- <Link
- 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-400"
- href="/login"
- >
- Send deck
- </Link>
- </div>
- </div>
+ <nav className="bg-white fixed top-0 w-full z-50 border-b border-gray-200">
+ <div className="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
+ <div className="relative flex h-16 justify-between">
+ <div className="absolute inset-y-0 left-0 flex items-center sm:hidden">
+ {/* Mobile menu button */}
+
</div>
-
- <Disclosure.Panel className="sm:hidden">
- <div className="space-y-1 pb-4 pt-2">
- {/* Current: "bg-indigo-50 border-indigo-500 text-indigo-700", Default: "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700" */}
- <Disclosure.Button
- as="a"
- href="#"
- className="block border-l-4 border-indigo-500 bg-indigo-50 py-2 pl-3 pr-4 text-base font-medium text-indigo-700"
- >
- Dashboard
- </Disclosure.Button>
- <Disclosure.Button
- as="a"
- href="#"
- className="block border-l-4 border-transparent py-2 pl-3 pr-4 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700"
- >
- Team
- </Disclosure.Button>
- <Disclosure.Button
- as="a"
- href="#"
- className="block border-l-4 border-transparent py-2 pl-3 pr-4 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700"
+ <div className="flex flex-1 items-stretch justify-start">
+ <div className="flex flex-shrink-0 items-center">
+ <Link
+ href="/"
+ className="text-1xl font-bold text-black hover:text-gray-600"
>
- Projects
- </Disclosure.Button>
- <Disclosure.Button
- as="a"
- href="#"
- className="block border-l-4 border-transparent py-2 pl-3 pr-4 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700"
- >
- Calendar
- </Disclosure.Button>
+ Papermark
+ </Link>
</div>
- </Disclosure.Panel>
- </>
- )}
- </Disclosure>
+ </div>
+ <div className="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
+ <Link
+ target="_blank"
+ rel="noopener noreferrer"
+ className="rounded-md px-3.5 py-2.5 text-sm font-semibold text-black hover:text-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400 flex items-center"
+ href="https://github.com/mfts/papermark"
+ >
+ <GitHubIcon className="mr-2 h-5 w-5" /> Github
+ </Link>
+ <Link
+ 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-400"
+ href="/login"
+ >
+ Send deck
+ </Link>
+ </div>
+ </div>
+ </div>
+ </nav>
);
}
diff --git a/components/web/section.tsx b/components/web/section.tsx
index c956b966..72f253f1 100644
--- a/components/web/section.tsx
+++ b/components/web/section.tsx
@@ -7,7 +7,7 @@ export default function Section() {
<div className="relative overflow-hidden rounded-3xl bg-gray-900 px-6 pb-9 pt-64 shadow-2xl sm:px-12 lg:max-w-lg lg:px-8 lg:pb-8 xl:px-10 xl:pb-10">
<img
className="absolute inset-0 h-full w-full object-cover "
- src="/_static/section.webp"
+ src="https://www.papermark.io/_static/michael.webp"
alt=""
/>
diff --git a/components/web/section2.tsx b/components/web/section2.tsx
index 3e34c3d3..3a50e42c 100644
--- a/components/web/section2.tsx
+++ b/components/web/section2.tsx
@@ -32,7 +32,7 @@ export default function Section2() {
{/* Image added below */}
<div className="mt-10 mx-auto w-full max-w-md">
<img
- src="/_static/image2.png"
+ src="https://www.papermark.io/_static/image2.png"
alt="Description of Image"
className="mx-auto w-full h-auto object-cover rounded-md "
/>
diff --git a/public/_static/Section.webp b/public/_static/michael.webp
similarity index 100%
rename from public/_static/Section.webp
rename to public/_static/michael.webp