Skip to content

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

Merge branch 'main' into feat/blog

Marc Seitz72f9bad24848
diff --cc app/page.tsx
index a4dcfd78,3c64a0a4..ed61fc4a
--- a/app/page.tsx
+++ b/app/page.tsx
@@@ -1,10 -1,12 +1,12 @@@
import Link from "next/link";
-import GitHubIcon from "@/components/shared/icons/github";
import TwitterIcon from "@/components/shared/icons/twitter";
-import LinkedinIcon from "@/components/shared/icons/linkedin";
import ProductHuntIcon from "@/components/shared/icons/producthunt";
import { Button } from "@/components/ui/button";
-
import Image from "next/image";
+import Navbar from "@/components/web/navbar";
+import Footer from "@/components/web/footer";
+ import { LogoCloud } from "@/components/web/landing-page/logo-cloud";
++import Testimonials from "@/components/web/testimonials";
import {
RefreshCw as ArrowPathIcon,
@@@ -716,142 -304,172 +249,3 @@@ export default function Home()
</>
);
}
--
- const testimonials = [
- {
- body: "best thing is that all the save DocSend to PDF plugins that VCs use probably won't work 😁",
- author: {
- name: "Jonathan Reimer",
- handle: "jonathimer",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1704777684046209024/_JdBcXWp_400x400.jpg",
- link: "https://twitter.com/jonathimer/status/1663651278872891395",
-const navigation = {
- product: [
- { name: "AI Document Assistant", href: "/ai" },
- { name: "Notion", href: "/share-notion-page" },
- { name: "Pricing", href: "/pricing" },
- ],
- resources: [
- { name: "Privacy Policy", href: "/privacy" },
- { name: "Launch Week", href: "/launch-week" },
- ],
- tools: [
- { name: "Open Source Friends", href: "/oss-friends" },
- { name: "Open Source Investors", href: "/open-source-investors" },
- { name: "Investor Database", href: "/investors" },
- {
- name: "YC Application GPT",
- href: "https://chat.openai.com/g/g-LYDRCiZB9-yc-application-gpt",
-- },
- producthunt: false,
- },
- {
- body: "This looks awesome!! Incredible work for an MVP – love how the link was automatically copied to clipboard when it's created! 🀩",
- author: {
- name: "Steven Tey",
- handle: "steventey",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1506792347840888834/dS-r50Je_400x400.jpg",
- link: "https://twitter.com/steventey/status/1663611851807006721",
- {
- name: "FindVC GPT",
- href: "https://chat.openai.com/g/g-G5orSgI31-findvc",
-- },
- producthunt: false,
- },
- {
- body: "looks so good! gonna have to steal that upload component 😍 congrats & thanks for the great idea πŸ˜„",
- author: {
- name: "alana goyal",
- handle: "alanaagoyal",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1679538379070005248/jwGUle5U_400x400.jpg",
- link: "https://twitter.com/alanaagoyal/status/1663522718015270912",
- {
- name: "DocSend Alternatives Finder",
- href: "/docsend-alternatives",
-- },
- producthunt: false,
- },
- {
- body: "Currently getting a lot of use out of .@mfts0's \"papermark\" project! I'm looking to see how he implemented Resend/React Email into his NextAuth stack.",
- author: {
- name: "Lukas Lunzmann",
- handle: "lucaslunzmann",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1738781878792921088/5kSW6ymD_400x400.jpg",
- link: "https://twitter.com/lucaslunzmann/status/1673052992541523968",
- ],
- alternatives: [
- { name: "DocSend", href: "/alternatives/docsend" },
- { name: "BriefLink", href: "/alternatives/brieflink" },
- { name: "PandaDoc", href: "/alternatives/pandadoc" },
- { name: "Google Drive", href: "/alternatives/google-drive" },
- { name: "Pitch", href: "/alternatives/pitch" },
- ],
- social: [
- {
- name: "GitHub",
- href: "https://github.com/mfts/papermark",
- icon: () => <GitHubIcon className="h-6 w-6" aria-hidden="true" />,
-- },
- producthunt: false,
- },
- {
- body: "We self-host Papermark at Rubric Labs for doc-sharing. Brilliantly-simple alternative to Docsend. Features are well-executed, so I can't wait to try new stuff!",
- author: {
- name: "Ted Spare",
- handle: "TedSpare",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1696951746587656192/xtLP8mHs_400x400.jpg",
- link: "https://www.producthunt.com/products/papermark-2#papermark-3",
- {
- name: "X / Twitter",
- href: "https://twitter.com/papermarkio",
- icon: () => <TwitterIcon className="h-5 w-5" aria-hidden="true" />,
-- },
- producthunt: true,
- },
- {
- body: "True builders listen to their users and build what they need. Thanks @papermarkio for solving a big pain point. DocSend monopoly will end soon!",
- author: {
- name: "Jaski",
- handle: "Jas_Jaski",
- imageUrl:
- "https://pbs.twimg.com/profile_images/1681327970735251459/xYzLMVZ7_400x400.jpg",
- link: "https://twitter.com/Jas_Jaski/status/1731957497487868390",
- {
- name: "LinkedIn",
- href: "https://www.linkedin.com/company/papermarkio",
- icon: () => <LinkedinIcon className="h-5 w-5" aria-hidden="true" />,
-- },
- producthunt: false,
- },
- // More testimonials...
- ];
- ],
-};
--
- function Testimonials() {
-function Footer() {
-- return (
- <div className="bg-white py-24">
- <div className="w-full mx-auto max-w-7xl px-4 md:px-8">
- <h2 className="text-4xl text-balance">
- Loved by over 3000 users.
- <br />
- <span className="text-gray-500">
- Here&apos;s what they have to say about us.
- </span>
- </h2>
- <div className="mx-auto max-w-2xl lg:max-w-none mt-8">
- <div className="space-y-6 py-8 sm:block sm:columns-2 sm:gap-6 lg:columns-3">
- {testimonials.map((testimonial) => (
- <div
- key={testimonial.author.handle}
- className="flex w-full relative"
- >
- <div className="rounded-lg shadow-lg border-gray-500 bg-white p-6 text-base leading-6 border relative">
- <div className="flex flex-col justify-between">
- <div className="flex items-center justify-between gap-x-4">
- <div className="flex items-center gap-x-4">
- <Image
- className="h-10 w-10 rounded-full bg-gray-50"
- src={testimonial.author.imageUrl}
- width={40}
- height={40}
- alt={testimonial.author.name}
- />
- <div>
- <div className="font-semibold text-gray-900">
- {testimonial.author.name}
- </div>
- <a
- className="text-gray-600 hover:text-gray-800"
- href={testimonial.author.link}
- target="_blank"
- rel="noopener noreferrer"
- >{`@${testimonial.author.handle}`}</a>
- </div>
- </div>
- <footer className="bg-white" aria-labelledby="footer-heading">
- <h2 id="footer-heading" className="sr-only">
- Footer
- </h2>
- <div className="mx-auto max-w-7xl pt-20 pb-4 px-4 md:px-8">
- {" "}
- {/* px-6 pb-8 pt-16 sm:pt-24 lg:px-8 lg:pt-32 */}
- <div className="xl:grid xl:grid-cols-3 xl:gap-8">
- <div className="space-y-4">
- <span className="text-2xl font-bold tracking-tighter text-black">
- Papermark
- </span>
- <p className="leading-6 text-gray-500">
- Sharing documents, securely and on brand.
- </p>
- <div className="flex space-x-2">
- {navigation.social.map((item) => (
- <a
- key={item.name}
- href={item.href}
- target="_blank"
- rel="noopener noreferrer"
- className="inline-flex items-center justify-center h-10 rounded-md px-2.5 py-1 font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
- >
- <span className="sr-only">{item.name}</span>
- <item.icon />
- </a>
- ))}
- </div>
- </div>
- <div className="mt-16 grid grid-cols-2 gap-8 xl:col-span-2 xl:mt-0">
- <div className="md:grid md:grid-cols-2 md:gap-8">
- <div>
- <h3 className="font-semibold leading-6 text-black">Product</h3>
- <ul role="list" className="mt-6 space-y-4">
- {navigation.product.map((item) => (
- <li key={item.name}>
-- <a
- href={testimonial.author.link} // Using the link from the testimonial
- target="_blank"
- rel="noopener noreferrer"
- className=""
- href={item.href}
- className="leading-6 text-gray-500 hover:text-black"
-- >
- {testimonial.producthunt ? (
- <ProductHuntIcon className="w-6 h-6 text-gray-800" />
- ) : (
- <TwitterIcon className="w-5 h-5 text-gray-800" />
- )}
- {item.name}
-- </a>
- </div>
-
- <blockquote className="my-4 text-gray-900">
- <p>{testimonial.body}</p>
- </blockquote>
- </div>
- </div>
- </li>
- ))}
- </ul>
-- </div>
- ))}
- <div className="mt-10 md:mt-0">
- <h3 className="font-semibold leading-6 text-black">
- Resources
- </h3>
- <ul role="list" className="mt-6 space-y-4">
- {navigation.resources.map((item) => (
- <li key={item.name}>
- <a
- href={item.href}
- className="leading-6 text-gray-500 hover:text-black"
- >
- {item.name}
- </a>
- </li>
- ))}
- </ul>
- </div>
- </div>
- <div className="md:grid md:grid-cols-2 md:gap-8">
- <div>
- <h3 className="font-semibold leading-6 text-black">Tools</h3>
- <ul role="list" className="mt-6 space-y-4">
- {navigation.tools.map((item) => (
- <li key={item.name}>
- <a
- href={item.href}
- className="leading-6 text-gray-500 hover:text-black"
- >
- {item.name}
- </a>
- </li>
- ))}
- </ul>
- </div>
- <div className="mt-10 md:mt-0">
- <h3 className="font-semibold leading-6 text-black">
- Alternatives
- </h3>
- <ul role="list" className="mt-6 space-y-4">
- {navigation.alternatives.map((item) => (
- <li key={item.name}>
- <a
- href={item.href}
- className="leading-6 text-gray-500 hover:text-black"
- >
- {item.name}
- </a>
- </li>
- ))}
- </ul>
- </div>
- </div>
-- </div>
- </div>
- <div className="mt-16 border-t border-black/10 pt-4 sm:mt-20 lg:mt-24">
- <p className="text-sm leading-5 text-gray-500">
- &copy; 2024 Papermark. All rights reserved.
- </p>
-- </div>
-- </div>
- </div>
- </footer>
-- );
--}
-
-
-
diff --cc package-lock.json
index 532dd433,5a6f5faf..9dfb5c65
--- a/package-lock.json
+++ b/package-lock.json
@@@ -13,11 -13,9 +13,12 @@@
"@github/webauthn-json": "^2.1.1",
"@headlessui/react": "^1.7.18",
"@jitsu/js": "^1.8.2",
+ "@mdx-js/loader": "^3.0.1",
+ "@mdx-js/react": "^3.0.1",
"@next-auth/prisma-adapter": "^1.0.7",
+ "@next/mdx": "^14.1.0",
"@prisma/client": "^5.9.1",
+ "@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
diff --cc package.json
index c3ae082f,210fe554..8b2f8ae2
--- a/package.json
+++ b/package.json
@@@ -21,11 -21,9 +21,12 @@@
"@github/webauthn-json": "^2.1.1",
"@headlessui/react": "^1.7.18",
"@jitsu/js": "^1.8.2",
+ "@mdx-js/loader": "^3.0.1",
+ "@mdx-js/react": "^3.0.1",
"@next-auth/prisma-adapter": "^1.0.7",
+ "@next/mdx": "^14.1.0",
"@prisma/client": "^5.9.1",
+ "@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",