11import TopicsProvider from '../../providers/TopicsProvider/TopicsProvider'
22import TopicsTable from '../../components/TopicsTable/TopicsTable'
33import { TopicState } from '../../requests/responses/topic'
4- import { Button , Group , Stack , Center } from '@mantine/core'
4+ import { Alert , Button , Group , Stack , Center } from '@mantine/core'
55import { Link , useParams , useSearchParams } from 'react-router'
66import PublishedTheses from './components/PublishedTheses/PublishedTheses'
77import { usePageTitle } from '../../hooks/theme'
88import LandingPageHeader from './components/LandingPageHeader/LandingPageHeader'
9- import { ListIcon , SquaresFourIcon } from '@phosphor-icons/react'
9+ import { InfoIcon , ListIcon , SquaresFourIcon } from '@phosphor-icons/react'
1010import { useEffect , useMemo , useState } from 'react'
1111import { useDebouncedValue } from '@mantine/hooks'
1212import { GLOBAL_CONFIG } from '../../config/global'
@@ -16,6 +16,7 @@ import { doRequest } from '../../requests/request'
1616import { showSimpleError } from '../../utils/notification'
1717import { getApiResponseErrorMessage } from '../../requests/handler'
1818import TopicSearchFilters from '../../components/TopicSearchFilters/TopicSearchFilters'
19+ import { TOPIC_DISCLAIMER_TEXT } from '../../components/TopicDisclaimerAlert/TopicDisclaimerAlert'
1920
2021const LandingPage = ( ) => {
2122 usePageTitle ( 'Find a Thesis Topic' )
@@ -135,6 +136,10 @@ const LandingPage = () => {
135136 }
136137 />
137138
139+ < Alert variant = 'light' color = 'blue' icon = { < InfoIcon /> } style = { { flexShrink : 0 } } >
140+ { TOPIC_DISCLAIMER_TEXT }
141+ </ Alert >
142+
138143 < TopicSearchFilters
139144 searchKey = { searchKey }
140145 setSearchKey = { setSearchKey }
0 commit comments