forked from Transparency/kgroad-frontend2
updated navbar, fixed map
This commit is contained in:
1 parent
981c5863ee
commit
6508bc0258
11 files changed
+80
-54
No files matched your search
@@ -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<HTMLInputElement> {
|
||||
interface ISearchFormProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
handleSubmit: (e: React.MouseEvent<HTMLFormElement>) => void;
|
||||
}
|
||||
|
||||
@@ -20,11 +19,7 @@ const SearchForm: React.FC<ISearchFormProps> = ({
|
||||
}: ISearchFormProps) => {
|
||||
const t = useTranslations("general");
|
||||
return (
|
||||
<form
|
||||
style={style}
|
||||
className="search-form"
|
||||
onSubmit={handleSubmit}
|
||||
>
|
||||
<form style={style} className="search-form" onSubmit={handleSubmit}>
|
||||
<div className="search-form__input">
|
||||
<Image src={search} alt="Search Icon" />
|
||||
<input
|
||||
|
||||
Reference in new issue
Block a user