From 06de61ce685f9141c15033470f99c36b58a2b02d Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 2 Jun 2025 09:22:18 +0100 Subject: [PATCH] feat: add faqs answers --- apps/web/src/views/home/components/Faqs.tsx | 111 +++++++++++++++++--- 1 file changed, 97 insertions(+), 14 deletions(-) diff --git a/apps/web/src/views/home/components/Faqs.tsx b/apps/web/src/views/home/components/Faqs.tsx index cfdbc929..ddd98d5e 100644 --- a/apps/web/src/views/home/components/Faqs.tsx +++ b/apps/web/src/views/home/components/Faqs.tsx @@ -6,45 +6,130 @@ import { } from "@headlessui/react"; import { HiMiniMinusSmall, HiMiniPlusSmall } from "react-icons/hi2"; -const LORUM_IPSUM = - "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."; +const Text = ({ children }: { children: React.ReactNode }) => { + return ( +

+ {children} +

+ ); +}; const faqs = [ { question: "Why make an open source Trello?", - answer: LORUM_IPSUM, + answer: ( + + When Trello launched in 2011, it blew everyone away with its carefully + designed simplicity, but over time (and atlassification) it lost its + magic and grew into something closer to "Jira Lite". This project is our + attempt to recapture the original magic of Trello’s simplicity, in open + source. + + ), }, { question: "What's the difference between Kan and Trello?", - answer: LORUM_IPSUM, + answer: ( + + The main difference between Kan and Trello is that Kan is open source, + allowing anyone to view, modify, and contribute to our code. Our cloud + offering also offers no restrictions on features for individual use, + whereas Trello locks basic features such as the number of boards you can + create behind a paywall. + + ), }, { question: "How is the project funded?", - answer: LORUM_IPSUM, + answer: ( + + For long-term sustainability, we recognise all good open source projects + need a source of revenue. Ours comes from the paid cloud offering for + workspaces with multiple users (free during the beta) and for custom + workspace slugs. There's no obligation to use it, and you can self-host + the software on your own infrastructure free of charge. + + ), }, { question: "How do I import my Trello boards?", - answer: LORUM_IPSUM, + answer: ( + + Importing your Trello boards into Kan is easy. You can follow our + step-by-step guide{" "} + + here + + . + + ), }, { question: "How do I get a custom URL?", - answer: LORUM_IPSUM, + answer: ( + + You can get a custom workspace URL, like{" "} + + kan.bn/kan + + , by going into your{" "} + + workspace settings + {" "} + and purchasing a pro workspace subscription. All subscriptions help fund + the development of the project! + + ), }, { question: "Do you offer a free plan?", - answer: LORUM_IPSUM, + answer: ( + + Yes, we offer an forever free plan for individual use. No restrictions, + no paywalls, no limits. + + ), }, { question: "What license are you using?", - answer: LORUM_IPSUM, + answer: ( + + We are using the{" "} + + AGPL-3.0 license + + . + + ), }, { question: "How do I invite team members?", - answer: LORUM_IPSUM, + answer: ( + + You can invite team members by clicking the "Invite" button in the top + right corner of the{" "} + + members page + {" "} + and entering their email address. They will receive an email with a link + to join the workspace. + + ), }, { question: "How do I self-host?", - answer: LORUM_IPSUM, + answer: ( + + You can self-host by following the instructions in our{" "} + + repo + + . + + ), }, ]; @@ -96,9 +181,7 @@ const Faqs = () => { -

- {faq.answer} -

+ {faq.answer}
))}