diff --git a/apps/docs/content/help/contacts.mdx b/apps/docs/content/help/contacts.mdx index b5a76fcf..96e49d5a 100644 --- a/apps/docs/content/help/contacts.mdx +++ b/apps/docs/content/help/contacts.mdx @@ -15,7 +15,7 @@ In the meantime, if you have any troubles setting up your application, or if you { type: 'link', href: 'https://discord.com/invite/WDvCZ54', - label: 'Discord - recommended', + label: 'Discord (recommended)', customProps: { icon: Icons['discord'], description: 'The fastest way to get help from our team and other community members.', @@ -29,5 +29,14 @@ In the meantime, if you have any troubles setting up your application, or if you icon: Icons['envelope'], description: 'Reach the team directly, this might take longer as the community won\'t be included.', } + }, + { + type: 'link', + href: 'https://x.com/zeropsio', + label: 'Twitter', + customProps: { + icon: Icons['twitter'], + description: 'Reach out to us by direct messagining or by tagging @zeropsio in your tweets for a response.', + } } ]} /> diff --git a/apps/docs/content/help/faq.mdx b/apps/docs/content/help/faq.mdx index a640f73f..e320b203 100644 --- a/apps/docs/content/help/faq.mdx +++ b/apps/docs/content/help/faq.mdx @@ -1,9 +1,17 @@ --- title: Frequently Asked Questions --- +import Accordion from "/src/components/Accordion" ## General +What is the Zerops GUI URL + + + Docusaurus is an open-source static site generator that helps you build optimized websites quickly, focusing on documentation sites. + + +
1. What is the Zerops GUI URL?

@@ -11,10 +19,10 @@ title: Frequently Asked Questions

+
2. What is the current Zerops pricing?

See our pricing.

- diff --git a/apps/docs/src/components/Accordion/index.tsx b/apps/docs/src/components/Accordion/index.tsx new file mode 100644 index 00000000..0f3a18a0 --- /dev/null +++ b/apps/docs/src/components/Accordion/index.tsx @@ -0,0 +1,29 @@ +import React, { useState, ReactNode } from 'react'; + +interface AccordionProps { + title: string; + children: ReactNode; +} + +const Accordion: React.FC = ({ title, children }) => { + const [isOpen, setIsOpen] = useState(false); + + const toggleAccordion = () => { + setIsOpen(!isOpen); + }; + + return ( +
+ + {isOpen &&
{children}
} +
+ ); +}; + +export default Accordion; diff --git a/apps/docs/src/css/components/sidebar.css b/apps/docs/src/css/components/sidebar.css index cb972260..34011055 100644 --- a/apps/docs/src/css/components/sidebar.css +++ b/apps/docs/src/css/components/sidebar.css @@ -159,3 +159,7 @@ .service-sidebar-item .menu__link { padding-left: 24px !important; } + +.menu__list { + @apply pt-0.5; +}