Skip to content

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

solving the reviewed issues

doppedheart05a97baf4be2
diff --git a/app/(static)/alternatives/[slug]/page.tsx b/app/(static)/alternatives/[slug]/page.tsx
index 5d9484d1..02e61774 100644
--- a/app/(static)/alternatives/[slug]/page.tsx
+++ b/app/(static)/alternatives/[slug]/page.tsx
@@ -12,6 +12,43 @@ import Testimonials from "@/components/web/testimonials/testimonials";
import { getAlternative, getAlternatives } from "@/lib/content/alternative";
import { constructMetadata } from "@/lib/utils";
+const faqs = [
+ {
+ question: "What is Papermark?",
+ answer:
+ "Papermark is a dynamic, open-source alternative to DocSend. It enables secure document sharing, tracking, and storage, providing users with real-time analytics. Like your Pitchdeck.",
+ },
+ {
+ question: "How can I use Papermark?",
+ answer:
+ "You can subscribe to one of our plans or use it for free and host it yourself. Simply visit our GitHub page, clone the repository, follow the setup instructions and start using Papermark. You can customize it according to your specific needs as it is open-source. https://github.com/mfts/papermark",
+ },
+ {
+ question: "Is Papermark free?",
+ answer:
+ "Yes, Papermark is completely open-source. This means you are free to use, modify, and distribute it as you see fit according to the terms of our license.",
+ },
+ {
+ question: "Can I add my custom domain to look professional?",
+ answer:
+ "Yes, with Papermark you can connect your custom domain and send your Pitchdeck or document via it. While continue tracking the analytics",
+ },
+ {
+ question: "How I can reach more investors with Papermark?",
+ answer:
+ "Papermark has recommendations for more similar investors for your specific startup build in.",
+ },
+ {
+ question: "How I can use Papermark as a VC?",
+ answer:
+ "You can use it to summarise and analyse data for different Pitchdecks",
+ },
+ {
+ question: "Can I contribute to the Papermark project?",
+ answer:
+ "Yes, contributions are welcome! Please visit our GitHub repository to learn about how you can contribute. Whether it's by improving the code, adding new features, or even reporting bugs, all contributions are appreciated. https://github.com/mfts/papermark",
+ },
+];
export async function generateStaticParams() {
const alternatives = await getAlternatives();
return alternatives.map((alternative) => ({ slug: alternative.slug }));
@@ -290,7 +327,7 @@ export default async function AlternativePage({
FAQ{" "}
<span className="text-gray-500">{alternative.descriptionfaq}</span>
</h2>
- <FAQ />
+ <FAQ faqs={faqs}/>
</div>
{/* CTA */}
diff --git a/app/(static)/deck/components/DropdownProto.tsx b/app/(static)/deck/components/DropdownProto.tsx
index 8ad35875..5e3b0809 100644
--- a/app/(static)/deck/components/DropdownProto.tsx
+++ b/app/(static)/deck/components/DropdownProto.tsx
@@ -20,25 +20,11 @@ export default function DropDown({
option,
setOption,
}: DropDownProps) {
- const [menuOpen, setMenuOpen] = useState<boolean>(false);
- const [isFirstClick, setIsFirstClick] = useState<boolean>(false);
+
- const handleMenuStateChange = (open: boolean) => {
- if (isFirstClick) {
- setMenuOpen(true); // Keep the dropdown open on the first click
- return;
- }
-
- // If the menu is closed, reset the isFirstClick state
- if (!open) {
- setIsFirstClick(false);
- setMenuOpen(false); // Ensure the dropdown is closed
- } else {
- setMenuOpen(true); // Open the dropdown
- }
- };
+
return (
- <Select open={menuOpen} onOpenChange={handleMenuStateChange}>
+ <Select>
<SelectTrigger className="inline-flex w-full justify-between items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-gray-400 font-light shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue text-base">
<SelectValue placeholder={option}/>
</SelectTrigger>
@@ -47,7 +33,6 @@ export default function DropDown({
<button
onClick={() => {
setOption(optionItem)
- setMenuOpen(false)
}}
className={cn(
option === optionItem ? "bg-gray-200" : "hover:bg-gray-100",
diff --git a/components/ui/accordion.tsx b/components/ui/accordion.tsx
index 30d2e529..6ccacd46 100644
--- a/components/ui/accordion.tsx
+++ b/components/ui/accordion.tsx
@@ -1,7 +1,7 @@
import * as React from "react";
import * as AccordionPrimitive from "@radix-ui/react-accordion";
-import { Minus as MinusSmallIcon ,Plus as PlusSmallIcon } from "lucide-react";
+import { ChevronDown } from "lucide-react";
import { cn } from "@/lib/utils";
@@ -27,14 +27,13 @@ const AccordionTrigger = React.forwardRef<
<AccordionPrimitive.Trigger
ref={ref}
className={cn(
- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline group",
+ "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
className,
)}
{...props}
>
{children}
- <PlusSmallIcon className="h-6 w-6 shrink-0 transition-transform duration-200 group-data-[state=open]:hidden" />
- <MinusSmallIcon className="h-6 w-6 shrink-0 transition-transform duration-200 group-data-[state=closed]:hidden" />
+ <ChevronDown className="h-4 w-4 shrink-0 transition-transform duration-200" />
</AccordionPrimitive.Trigger>
</AccordionPrimitive.Header>
));
@@ -55,4 +54,4 @@ const AccordionContent = React.forwardRef<
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
-export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
+export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
\ No newline at end of file
diff --git a/components/web/alternatives/dropdownproto.tsx b/components/web/alternatives/dropdownproto.tsx
index 8ad35875..ad906221 100644
--- a/components/web/alternatives/dropdownproto.tsx
+++ b/components/web/alternatives/dropdownproto.tsx
@@ -20,25 +20,9 @@ export default function DropDown({
option,
setOption,
}: DropDownProps) {
- const [menuOpen, setMenuOpen] = useState<boolean>(false);
- const [isFirstClick, setIsFirstClick] = useState<boolean>(false);
- const handleMenuStateChange = (open: boolean) => {
- if (isFirstClick) {
- setMenuOpen(true); // Keep the dropdown open on the first click
- return;
- }
-
- // If the menu is closed, reset the isFirstClick state
- if (!open) {
- setIsFirstClick(false);
- setMenuOpen(false); // Ensure the dropdown is closed
- } else {
- setMenuOpen(true); // Open the dropdown
- }
- };
return (
- <Select open={menuOpen} onOpenChange={handleMenuStateChange}>
+ <Select>
<SelectTrigger className="inline-flex w-full justify-between items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-gray-400 font-light shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue text-base">
<SelectValue placeholder={option}/>
</SelectTrigger>
@@ -47,7 +31,6 @@ export default function DropDown({
<button
onClick={() => {
setOption(optionItem)
- setMenuOpen(false)
}}
className={cn(
option === optionItem ? "bg-gray-200" : "hover:bg-gray-100",
diff --git a/components/web/faq.tsx b/components/web/faq.tsx
index 0335c5d4..338c6e24 100644
--- a/components/web/faq.tsx
+++ b/components/web/faq.tsx
@@ -5,45 +5,16 @@ import {
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion"
-const faqs = [
- {
- question: "What is Papermark?",
- answer:
- "Papermark is a dynamic, open-source alternative to DocSend. It enables secure document sharing, tracking, and storage, providing users with real-time analytics. Like your Pitchdeck.",
- },
- {
- question: "How can I use Papermark?",
- answer:
- "You can subscribe to one of our plans or use it for free and host it yourself. Simply visit our GitHub page, clone the repository, follow the setup instructions and start using Papermark. You can customize it according to your specific needs as it is open-source. https://github.com/mfts/papermark",
- },
- {
- question: "Is Papermark free?",
- answer:
- "Yes, Papermark is completely open-source. This means you are free to use, modify, and distribute it as you see fit according to the terms of our license.",
- },
- {
- question: "Can I add my custom domain to look professional?",
- answer:
- "Yes, with Papermark you can connect your custom domain and send your Pitchdeck or document via it. While continue tracking the analytics",
- },
- {
- question: "How I can reach more investors with Papermark?",
- answer:
- "Papermark has recommendations for more similar investors for your specific startup build in.",
- },
- {
- question: "How I can use Papermark as a VC?",
- answer:
- "You can use it to summarise and analyse data for different Pitchdecks",
- },
- {
- question: "Can I contribute to the Papermark project?",
- answer:
- "Yes, contributions are welcome! Please visit our GitHub repository to learn about how you can contribute. Whether it&apos;s by improving the code, adding new features, or even reporting bugs, all contributions are appreciated. https://github.com/mfts/papermark",
- },
-];
-export default function Faq() {
+type Faq = {
+ question: string;
+ answer: string;
+};
+
+type FaqProps = {
+ faqs: Faq[];
+};
+export default function Faq({ faqs }: FaqProps) {
return (
<div className="">
<dl className="mt-10 divide-y divide-gray-800/10">
diff --git a/pages/ai.tsx b/pages/ai.tsx
index bc41c3b1..5bb5e09c 100644
--- a/pages/ai.tsx
+++ b/pages/ai.tsx
@@ -67,6 +67,50 @@ const features = [
},
];
+const faqs = [
+ {
+ question: "What is Papermark AI?",
+ answer:
+ "Papermark AI is an innovative AI document assistant that enables users to interact with a variety of documents, such as pitch decks, sales decks, and PDFs, in a more efficient and secure manner.",
+ },
+ {
+ question: "How can I use Papermark AI?",
+ answer:
+ "You can use it on shared with you document and on received. You can chat with the document, ask question, find information without checking whole document.",
+ },
+ {
+ question: "Is Papermark AI free?",
+ answer:
+ "Yes, Papermark AI offers an open-source version, giving you the freedom to use and modify it according to your needs, under the terms of our license.",
+ },
+ {
+ question: "How can Papermark AI help me reach more investors?",
+ answer:
+ "Papermark AI provides recommendations and analytics to help you fine-tune your pitch decks, increasing your chances of making a successful connection with potential investors.",
+ },
+ {
+ question: "How I as an investor can use Papermark AI?",
+ answer:
+ "VCs can utilize Papermark AI to efficiently analyze and summarize data from various pitch decks, streamlining their investment decision-making process. Search inside the pitch deck, summarise and turn it into Memo.",
+ },
+ {
+ question: "Can I contribute to the Papermark AI project?",
+ answer:
+ "Definitely! We welcome contributions to Papermark AI. Whether it's improving the code, adding new features, or reporting bugs, your input is highly valued.",
+ },
+ {
+ question: "How to summarise document with Papermark AI?",
+ answer:
+ "You can use one of the starting commands and get the summary of received docuement. If you want that documents shared with you.",
+ },
+ {
+ question: "How to turn Pitch Deck into Memo?",
+ answer:
+ "You can use Papermark AI and ask it to create Memo from Pitch Deck received. You can also uplaod your own Pitch deck there.",
+ },
+
+ // More questions...
+];
const tiers = [
{
@@ -428,7 +472,7 @@ export default function Home() {
<h2 className="text-2xl font-bold leading-10 tracking-tight text-black">
Frequently asked questions
</h2>
- <Faq />
+ <Faq faqs={faqs}/>
</div>
</div>
</div>
diff --git a/pages/share-notion-page.tsx b/pages/share-notion-page.tsx
index 2ef4adef..8eedf686 100644
--- a/pages/share-notion-page.tsx
+++ b/pages/share-notion-page.tsx
@@ -52,6 +52,45 @@ const features = [
},
];
+const faqs = [
+ {
+ question: "What is Papermark?",
+ answer:
+ "Papermark is an innovative platform designed to extend the capabilities of Notion pages. It allows users to share Notion documents or pages with custom domain support, password protection, email capture, and comprehensive analytics tracking.",
+ },
+ {
+ question: "How can I use Papermark for Notion?",
+ answer:
+ "Using Papermark is straightforward. Set up your Notion page, then use Papermark to share it with enhanced features like custom domains, password protection, and more. It's perfect for professionals who need secure and trackable document sharing.",
+ },
+ {
+ question: "Is Papermark free to use?",
+ answer:
+ "Papermark offers both free and premium options. The open-source nature of Papermark allows for flexibility and customization, with advanced features available in our premium plans.",
+ },
+ {
+ question: "Can I add my custom domain to Papermark?",
+ answer:
+ "Absolutely! Papermark supports custom domains, enabling you to maintain your brand's identity while sharing your Notion pages or documents.",
+ },
+ {
+ question: "How can I track visitor engagement on my shared Notion pages?",
+ answer:
+ "Papermark provides detailed analytics for your shared Notion pages, including visitor insights, engagement metrics, and more, helping you understand your audience better.",
+ },
+ {
+ question: "Can I secure my Notion pages with Papermark?",
+ answer:
+ "Yes, Papermark offers robust password protection for your Notion pages, ensuring that your shared documents are accessed only by intended recipients.",
+ },
+ {
+ question: "Can I contribute to improving Papermark?",
+ answer:
+ "We welcome contributions to Papermark! Our GitHub repository is open for developers to contribute, whether it's through code enhancements, feature additions, or bug reporting.",
+ },
+ // More questions...
+];
+
export default function Home() {
return (
<div>
@@ -208,7 +247,7 @@ export default function Home() {
<h2 className="text-2xl font-bold leading-10 tracking-tight text-black">
Frequently asked questions
</h2>
- <Faq/>
+ <Faq faqs={faqs}/>
</div>
</div>
</div>