diff --git a/src/pages/HelpSupport.tsx b/src/pages/HelpSupport.tsx index 12d27dc..40319a0 100644 --- a/src/pages/HelpSupport.tsx +++ b/src/pages/HelpSupport.tsx @@ -1,15 +1,17 @@ import React, { useState } from 'react'; -import { ArrowLeft, HelpCircle, Info, ExternalLink, ShieldQuestion } from 'lucide-react'; +import { ArrowLeft, HelpCircle, Book, ExternalLink, ShieldQuestion } from 'lucide-react'; import { useNavigate } from 'react-router-dom'; import { Button } from '@/components/ui/button'; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'; import { Card } from '@/components/ui/card'; import { toast } from 'sonner'; +import WelcomeDialog from '@/components/onboarding/WelcomeDialog'; const HelpSupport = () => { const navigate = useNavigate(); const [messageText, setMessageText] = useState(''); + const [showWelcomeDialog, setShowWelcomeDialog] = useState(false); const faqItems = [ { @@ -44,6 +46,18 @@ const HelpSupport = () => { setMessageText(''); }; + const handleShowWelcomeDialog = () => { + setShowWelcomeDialog(true); + }; + + const handleCloseWelcomeDialog = (dontShowAgain: boolean) => { + setShowWelcomeDialog(false); + + if (dontShowAgain) { + toast.info('환영 화면이 더 이상 표시되지 않도록 설정되었습니다.'); + } + }; + return (
@@ -66,11 +80,14 @@ const HelpSupport = () => {

자주 묻는 질문

- +
- +
-

앱 정보

+

초기 화면 보기

@@ -118,7 +135,7 @@ const HelpSupport = () => { - + 이용약관 @@ -130,6 +147,9 @@ const HelpSupport = () => {
+ + {/* 환영 다이얼로그 */} + ); };