diff --git a/apps/web/src/lib/utils/faq.ts b/apps/web/src/lib/utils/faq.ts
index f8336574..6190568e 100644
--- a/apps/web/src/lib/utils/faq.ts
+++ b/apps/web/src/lib/utils/faq.ts
@@ -1,14 +1,10 @@
-import config from '$lib/config';
-
-export const websiteName = config.about.hostname;
-
export const faqs: {
title: string;
- description?: string;
+ description: string;
}[] = [
{
- title: `Is ${websiteName} free to use?`,
- description: `Yes, ${websiteName} is completely free to use as long as you permissions to do so with any copyright material.`
+ title: `Is this site free to use?`,
+ description: `Yes, it is completely free to use as long as you permissions to do so with any copyright material.`
},
{
title: 'Is there a limit to the number of videos I can convert?',
@@ -37,7 +33,7 @@ export const faqs: {
},
{
title: 'Can I convert videos on my mobile device?',
- description: `Yes, ${websiteName} supports converting and downloading files on mobile devices.`
+ description: `Yes, this site supports converting and downloading files on mobile devices.`
},
{
title: 'My download is stuck on (waiting, downloading, processing), what should I do?',
diff --git a/apps/web/src/routes/faq/+page.svelte b/apps/web/src/routes/faq/+page.svelte
index 0cac59b8..0d9a5f8a 100644
--- a/apps/web/src/routes/faq/+page.svelte
+++ b/apps/web/src/routes/faq/+page.svelte
@@ -1,5 +1,5 @@
@@ -11,5 +11,9 @@
FAQ
Frequently Asked Questions
-
+
+ {#each faqs as faq (faq.title)}
+
+ {/each}
+
diff --git a/packages/ui/src/lib/components/Faq.svelte b/packages/ui/src/lib/components/Faq.svelte
new file mode 100644
index 00000000..84146988
--- /dev/null
+++ b/packages/ui/src/lib/components/Faq.svelte
@@ -0,0 +1,32 @@
+
+
+
+
+
+ {question}
+
+ (open = !open)}
+ class="h-10 w-10"
+ />
+
+ {#if open}
+
+ {answer}
+
+ {/if}
+
diff --git a/packages/ui/src/lib/icons.ts b/packages/ui/src/lib/icons.ts
index 0266d808..138b7d63 100644
--- a/packages/ui/src/lib/icons.ts
+++ b/packages/ui/src/lib/icons.ts
@@ -14,6 +14,7 @@ export {
MinusCircle as MinusCircleIcon,
Moon as MoonIcon,
Plus as PlusIcon,
+ PlusCircle as PlusCircleIcon,
ArrowPath as RotateIcon,
Sun as SunIcon,
Trash as TrashIcon,
diff --git a/packages/ui/src/lib/index.ts b/packages/ui/src/lib/index.ts
index d97dfd44..df86ca61 100644
--- a/packages/ui/src/lib/index.ts
+++ b/packages/ui/src/lib/index.ts
@@ -6,6 +6,7 @@ export { Description, List, Title } from './components/typography';
export { default as Alert, type AlertVariants } from './components/Alert.svelte';
export { default as Badge, type BadgeVariants } from './components/Badge.svelte';
export { default as Confirm, type ConfirmVariants } from './components/Confirm.svelte';
+export { default as Faq } from './components/Faq.svelte';
export { default as Footer } from './components/Footer.svelte';
export { default as IconButton } from './components/IconButton.svelte';
export { default as Select } from './components/Select.svelte';