Skip to content

Commit f99580e

Browse files
authored
setting up faq + detail component (#55)
* commands page + detail component * feat: add faq component * Update faq.mdx
1 parent 7352ff2 commit f99580e

File tree

15 files changed

+181
-108
lines changed

15 files changed

+181
-108
lines changed

apps/docs/content/dotnet/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/go/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/help/faq.mdx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@ Get quick answers to your related questions about Zerops from frequently asked q
1010
### General
1111

1212
<FAQ>
13-
<FAQItem>
14-
<span>Where can I find the Zerops Dashboard GUI?</span>
15-
<span>You can access the Zerops Dashboard GUI directly at <a href="https://app.zerops.io">app.zerops.io</a></span>
13+
<FAQItem question="Where can I find the Zerops Dashboard GUI?">
14+
You can access the Zerops Dashboard GUI directly at <a href="https://app.zerops.io">app.zerops.io</a>
1615
</FAQItem>
17-
<FAQItem>
18-
<span>How much does it cost to get started?</span>
19-
<span>It's free to get started, and no credit card is required! However, we recommend visiting our <a href="https://zerops.io/#pricing">pricing page</a> to explore the options that best suit your needs.</span>
16+
<FAQItem question="How much does it cost to get started?">
17+
It's free to get started, and no credit card is required! However, we recommend visiting our <a href="https://zerops.io/#pricing">pricing page</a> to explore the options that best suit your needs.
2018
</FAQItem>
21-
<FAQItem>
22-
<span>I have more questions. Where can I reach out to get help?</span>
23-
<span>You can reach us on our <a href="https://discord.gg/xxzmJSDKPT" target="_blank">Discord server</a> for support. For additional contact options, please visit our <a href="http://localhost:3001/help/contacts">contacts page</a>.</span>
19+
<FAQItem question="I have more questions. Where can I reach out to get help?">
20+
You can reach us on our <a href="https://discord.gg/xxzmJSDKPT" target="_blank">Discord server</a> for support. For additional contact options, please visit our <a href="http://localhost:3001/help/contacts">contacts page</a>.
2421
</FAQItem>
2522
</FAQ>
2623

apps/docs/content/java/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/keydb/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/mariadb/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/nginx/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/nodejs/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/php/faq.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
25

3-
<details>
4-
<summary>1. SAMPLE QUESTION</summary>
5-
<p>
6-
sample answer
7-
</p>
8-
</details>
6+
<FAQ>
7+
<FAQItem question="Sample Question">
8+
sample answer
9+
</FAQItem>
10+
</FAQ>

apps/docs/content/postgresql/faq.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# FAQ
1+
---
2+
title: Frequently Asked Questions
3+
---
4+
import { FAQ, FAQItem } from "/src/components/Faq"
5+
6+
<FAQ>
7+
<FAQItem question="Why is my connection to PostgreSQL from a 3rd party software failing?">
8+
*One of possible causes*: <br/>The connection string in Zerops always starts with <code>postgresql://</code>.
9+
10+
While the official PostgreSQL documentation states that both <code>postgresql://</code> and <code>postgres://</code> URIs are valid, some softwares require the shorter <code>postgres://</code> version.
11+
12+
To fix that, create your own environment variable with the correct URI, e.g. when your PostgreSQL service is called <code>db</code> - <code>postgres://`${db_user}`:`${db_password}`@`${db_hostname}`:`${db_port}`</code>.
13+
</FAQItem>
14+
</FAQ>
215

3-
<details>
4-
<summary>1. Connecting to PostgreSQL from a 3rd party software fails.</summary>
5-
<p>
6-
*One of possible causes*: <br/>The connection string in Zerops always starts with <code>postgresql://</code>. While the official PostgreSQL documentation states that both <code>postgresql://</code> and <code>postgres://</code> URIs are valid, some softwares require the shorter <code>postgres://</code> version.
7-
<br/>To fix that, create your own environment variable with the correct URI, e.g. when your PostgreSQL service is called <code>db</code> - <code>postgres://`${db_user}`:`${db_password}`@`${db_hostname}`:`${db_port}`</code>.
8-
</p>
9-
</details>

0 commit comments

Comments
 (0)