Skip to content

Commit

Permalink
ui: add icon to FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyAsh5114 committed Oct 12, 2024
1 parent abdb545 commit 2763bf8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/routes/(components)/page/FAQ.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<script lang="ts">
import * as Accordion from '$lib/components/ui/accordion/index.js';
import CircleHelp from 'virtual:icons/lucide/message-circle-question';
import { cn } from '$lib/utils';
let className: string | undefined = undefined;
export { className as class };
</script>

<div class={cn('flex w-full flex-col', className)}>
<span class="text-center text-xl font-bold">FAQ</span>
<span class="mx-auto flex items-center gap-4 text-xl font-bold">
FAQ
<CircleHelp />
</span>
<Accordion.Root class="w-full">
<Accordion.Item value="item-1">
<Accordion.Trigger>Is it really free?</Accordion.Trigger>
Expand Down

0 comments on commit 2763bf8

Please sign in to comment.