diff --git a/landing/keyserver-faq-data.js b/landing/keyserver-faq-data.js new file mode 100644 --- /dev/null +++ b/landing/keyserver-faq-data.js @@ -0,0 +1,90 @@ +// @flow + +import classNames from 'classnames'; +import * as React from 'react'; + +import css from './keyserver-faq.css'; +import typography from './typography.css'; + +const answerClassName = classNames([typography.paragraph1, css.answerText]); + +type FAQItem = { + +question: string, + +answer: React.Node, +}; + +export const faqData: $ReadOnlyArray<FAQItem> = [ + { + question: 'What’s a keyserver?', + answer: ( + <p className={answerClassName}> + Comm uses the term “keyserver” to refer to a personal, + private server. It’s worth admitting that the more common usage of + the term is for a server that vends keys in the context of enterprise + key management… you may get confused if you Google it! + </p> + ), + }, + { + question: 'Where does a keyserver run?', + answer: ( + <p className={answerClassName}> + That’s up to you! You can run a keyserver in the cloud, or on + personal hardware (such as a spare laptop) at home. What’s + important is that keyserver is always available: turned on and connected + to the Internet. + </p> + ), + }, + { + question: 'How do I run my own keyserver?', + answer: ( + <p className={answerClassName}> + <span> + Comm is still in beta, and as such it’s only possible to run on + a keyserver using our Docker Compose config. If you’re + sufficiently technical, check out + </span> + <a + href="https://github.com/CommE2E/comm/tree/master/docs/nix_keyserver_deployment.md" + target="_blank" + rel="noreferrer" + className={css.link} + > + this doc + </a> + <span> to give it a try.</span> + </p> + ), + }, + { + question: 'What happens if my keyserver is lost?', + answer: ( + <p className={answerClassName}> + <span> + In the future, Comm will automatically back up all of your + keyserver’s data. Right now your best bet is to configure manual + backups of the underlying database, which are explained in + </span> + <a + href="https://github.com/CommE2E/comm/tree/master/docs/nix_keyserver_deployment.md" + target="_blank" + rel="noreferrer" + className={css.link} + > + this doc + </a> + </p> + ), + }, + { + question: 'What else can I do with my keyserver?', + answer: ( + <p className={answerClassName}> + Hosting chat communities is just the start. Your keyserver is your + personal cloud, and in the future it can be your password manager, your + file storage, your email server, and your crypto wallet. Stay tuned! + </p> + ), + }, +]; diff --git a/landing/keyserver-faq.css b/landing/keyserver-faq.css new file mode 100644 --- /dev/null +++ b/landing/keyserver-faq.css @@ -0,0 +1,15 @@ +.answerText { + color: var(--white-100); + margin-top: 16px; +} + +.link { + color: inherit; + text-decoration: underline; + transition: color 150ms; +} + +.link:hover { + color: var(--violet-dark-100); + transition: color 150ms; +}