π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: trial information
Nevo David4558d2f91687
diff --git a/apps/frontend/src/components/billing/faq.component.tsx b/apps/frontend/src/components/billing/faq.component.tsxindex fff38e762..eef57eb2e 100644--- a/apps/frontend/src/components/billing/faq.component.tsx+++ b/apps/frontend/src/components/billing/faq.component.tsx@@ -4,13 +4,28 @@ import { FC, useCallback, useState } from 'react';import clsx from 'clsx';import interClass from '@gitroom/react/helpers/inter.font';import { useVariables } from '@gitroom/react/helpers/variable.context';+import { useUser } from '@gitroom/frontend/components/layout/user.context';const useFaqList = () => {- const {isGeneral} = useVariables();+ const { isGeneral } = useVariables();+ const user = useUser();return [+ ...(user?.allowTrial+ ? [+ {+ title: 'Am I going to be charged by Postiz?',+ description:+ 'To confirm credit card information Postiz will hold $2 and release it immediately',+ },+ ]+ : []),{title: `Can I trust ${isGeneral ? 'Postiz' : 'Gitroom'}?`,- description: `${isGeneral ? 'Postiz' : 'Gitroom'} is proudly open-source! We believe in an ethical and transparent culture, meaning that ${isGeneral ? 'Postiz' : 'Gitroom'} will live forever. You can check out the entire code or use it for personal projects. To view the open-source repository, <a href="https://github.com/gitroomhq/postiz-app" target="_blank" style="text-decoration: underline;">click here</a>.`,+ description: `${+ isGeneral ? 'Postiz' : 'Gitroom'+ } is proudly open-source! We believe in an ethical and transparent culture, meaning that ${+ isGeneral ? 'Postiz' : 'Gitroom'+ } will live forever. You can check out the entire code or use it for personal projects. To view the open-source repository, <a href="https://github.com/gitroomhq/postiz-app" target="_blank" style="text-decoration: underline;">click here</a>.`,},{title: 'What are channels?',@@ -29,7 +44,7 @@ For example, you can schedule your posts on X, Facebook, Instagram, TikTok, YouTdescription: `We automate ChatGPT to help you write your social posts and articles`,},];-}+};export const FAQSection: FC<{ title: string; description: string }> = (props