diff --git a/public/icons/search.svg b/public/icons/search.svg index 045492d0..48c14f1d 100644 --- a/public/icons/search.svg +++ b/public/icons/search.svg @@ -1,3 +1,4 @@ - + diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 97824a78..8cfdc076 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -289,6 +289,7 @@ "Send": "Send", "Send link again": "Send link again", "Settings": "Settings", + "Site search": "Site search", "Share": "Share", "Show": "Show", "Show lyrics": "Show lyrics", diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index 87576d99..1c379fac 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -305,6 +305,7 @@ "Send": "Отправить", "Send link again": "Прислать ссылку ещё раз", "Settings": "Настройки", + "Site search": "Поиск по сайту", "Share": "Поделиться", "Short opening": "Расскажите вашу историю...", "Show": "Показать", diff --git a/src/components/Nav/Header/Header.tsx b/src/components/Nav/Header/Header.tsx index 7dbe5026..22179cee 100644 --- a/src/components/Nav/Header/Header.tsx +++ b/src/components/Nav/Header/Header.tsx @@ -24,6 +24,7 @@ import { apiClient } from '../../../utils/apiClient' import { RANDOM_TOPICS_COUNT } from '../../Views/Home' import { Link } from './Link' import { Subscribe } from '../../_shared/Subscribe' +import { SearchModal } from '../SearchModal/SearchModal' type Props = { title?: string @@ -183,6 +184,10 @@ export const Header = (props: Props) => { + + + +