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 35a11b7d..66a27c5e 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -298,6 +298,7 @@ "Show lyrics": "Show lyrics", "Show more": "Show more", "Show table of contents": "Show table of contents", + "Site search": "Site search", "Slug": "Slug", "Social networks": "Social networks", "Society": "Society", diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index a4daed51..61695ca5 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -315,6 +315,7 @@ "Show lyrics": "Текст песни", "Show more": "Читать дальше", "Show table of contents": "Показать главление", + "Site search": "Поиск по сайту", "Slug": "Постоянная ссылка", "Social networks": "Социальные сети", "Society": "Общество", diff --git a/src/components/Nav/Header/Header.tsx b/src/components/Nav/Header/Header.tsx index ab5c524d..85c95fd1 100644 --- a/src/components/Nav/Header/Header.tsx +++ b/src/components/Nav/Header/Header.tsx @@ -23,6 +23,11 @@ import { Snackbar } from '../Snackbar' import { Link } from './Link' import styles from './Header.module.scss' +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 @@ -182,6 +187,10 @@ export const Header = (props: Props) => { + + + +