From 6508bc025848d8616e59ac8b4be33b5691f48150 Mon Sep 17 00:00:00 2001 From: ariari04 Date: Thu, 13 Jun 2024 17:36:48 +0600 Subject: [PATCH] updated navbar, fixed map --- src/app/[locale]/layout.tsx | 5 +-- src/features/SearchForm/SearchForm.tsx | 9 +--- src/widgets/Footer/Footer.tsx | 4 +- src/widgets/Navbar/NavAuth/NavAuth.scss | 45 ++++++++++++++++--- .../Navbar/NavLanguage/NavLanguage.tsx | 17 +++---- src/widgets/Navbar/Navbar.scss | 26 +++++++---- src/widgets/Navbar/Navbar.tsx | 4 +- src/widgets/forms/ReportForm/ReportForm.tsx | 1 - src/widgets/home/Header/Header.scss | 2 +- .../home/MapSection/HomeMap/HomeMap.scss | 2 +- .../home/MapSection/HomeMap/HomeMap.tsx | 19 +++----- 11 files changed, 80 insertions(+), 54 deletions(-) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 41aa513..bc3773c 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -17,10 +17,7 @@ export default function LocaleLayout({ return ( - +
{children}
diff --git a/src/features/SearchForm/SearchForm.tsx b/src/features/SearchForm/SearchForm.tsx index b93dba5..5ac495d 100644 --- a/src/features/SearchForm/SearchForm.tsx +++ b/src/features/SearchForm/SearchForm.tsx @@ -5,8 +5,7 @@ import Image from "next/image"; import search from "./icons/search.svg"; import { useTranslations } from "next-intl"; -interface ISearchFormProps - extends React.InputHTMLAttributes { +interface ISearchFormProps extends React.InputHTMLAttributes { handleSubmit: (e: React.MouseEvent) => void; } @@ -20,11 +19,7 @@ const SearchForm: React.FC = ({ }: ISearchFormProps) => { const t = useTranslations("general"); return ( -
+
Search Icon { return (