File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
apps/client/src/pages/remind Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import FetchCard from './components/fetchCard/FetchCard';
2424import { useInfiniteScroll } from '@shared/hooks/useInfiniteScroll' ;
2525import Tooltip from '@shared/components/tooltip/Tooltip' ;
2626import Footer from './components/footer/Footer' ;
27+ import JobSelectionFunnel from '@shared/components/jobSelectionFunnel/JobSelectionFunnel' ;
2728
2829const Remind = ( ) => {
2930 useEffect ( ( ) => {
@@ -34,6 +35,9 @@ const Remind = () => {
3435 const [ activeBadge , setActiveBadge ] = useState < 'read' | 'notRead' > ( 'notRead' ) ;
3536 const [ isDeleteOpen , setIsDeleteOpen ] = useState ( false ) ;
3637 const [ deleteTargetId , setDeleteTargetId ] = useState < number | null > ( null ) ;
38+ const [ showJobSelectionFunnel , setShowJobSelectionFunnel ] = useState (
39+ ( ) => localStorage . getItem ( 'hasJob' ) === 'false'
40+ ) ;
3741 const scrollContainerRef = useRef < HTMLDivElement > ( null ) ;
3842
3943 const formattedDate = useMemo ( ( ) => {
@@ -242,6 +246,17 @@ const Remind = () => {
242246 </ div >
243247 </ div >
244248 ) }
249+
250+ { showJobSelectionFunnel && (
251+ < div className = "fixed inset-0 z-[2000] flex items-center justify-center bg-black/40 p-4" >
252+ < JobSelectionFunnel
253+ onComplete = { ( ) => {
254+ localStorage . setItem ( 'hasJob' , 'true' ) ;
255+ setShowJobSelectionFunnel ( false ) ;
256+ } }
257+ />
258+ </ div >
259+ ) }
245260 </ div >
246261 ) ;
247262} ;
You can’t perform that action at this time.
0 commit comments