From dc56a0f7cc10eea3f7a681e53bad274a03f24668 Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 23 Aug 2024 14:20:28 +0200 Subject: [PATCH] #27 - fix: code review fixes --- resources/js/Pages/Public/Faq.vue | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/resources/js/Pages/Public/Faq.vue b/resources/js/Pages/Public/Faq.vue index 19ef6e6..ff097fc 100644 --- a/resources/js/Pages/Public/Faq.vue +++ b/resources/js/Pages/Public/Faq.vue @@ -2,20 +2,13 @@ import PublicLayout from '@/Layouts/PublicLayout.vue' import BackgroundGrid from '@/Components/BackgroundGrid.vue' import SectionHeader from '@/Components/SectionHeader.vue' -import { PlusCircleIcon, MinusCircleIcon, NoSymbolIcon } from '@heroicons/vue/24/outline' +import { NoSymbolIcon } from '@heroicons/vue/24/outline' import { Head } from '@inertiajs/inertia-vue3' -import { ref } from 'vue' import DOMPurify from 'dompurify' defineProps({ faqs: Object, }) - -const openedIndex = ref(null) - -function toggleAnswer(index) { - openedIndex.value = openedIndex.value === index ? null : index -} -
-
+
+
{{ faq.question }}
-
- -
-
- -
-
+