2025-03-12 17:36:44 +08:00
|
|
|
import { useTranslation } from 'react-i18next'
|
2025-03-11 15:49:41 +08:00
|
|
|
import Input from '@/app/components/base/input'
|
|
|
|
import {
|
|
|
|
PortalToFollowElem,
|
|
|
|
PortalToFollowElemContent,
|
|
|
|
PortalToFollowElemTrigger,
|
|
|
|
} from '@/app/components/base/portal-to-follow-elem'
|
|
|
|
|
|
|
|
const SearchInput = () => {
|
2025-03-12 17:36:44 +08:00
|
|
|
const { t } = useTranslation()
|
|
|
|
|
2025-03-11 15:49:41 +08:00
|
|
|
return (
|
|
|
|
<PortalToFollowElem>
|
2025-03-12 10:05:10 +08:00
|
|
|
<PortalToFollowElemTrigger className='block w-full'>
|
|
|
|
<Input
|
|
|
|
className='w-full'
|
2025-03-12 17:36:44 +08:00
|
|
|
placeholder={t('education.form.schoolName.placeholder')}
|
2025-03-12 10:05:10 +08:00
|
|
|
/>
|
2025-03-11 15:49:41 +08:00
|
|
|
</PortalToFollowElemTrigger>
|
|
|
|
<PortalToFollowElemContent>
|
|
|
|
<div className='p-1 border-[0.5px] border-components-panel-border bg-components-panel-bg-blur rounded-xl'>
|
|
|
|
<div
|
|
|
|
className='flex items-center px-2 py-1.5 h-8 system-md-regular text-text-secondary truncate'
|
|
|
|
title='Harvard University'
|
|
|
|
>
|
|
|
|
Harvard University
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</PortalToFollowElemContent>
|
|
|
|
</PortalToFollowElem>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default SearchInput
|