updated navbar, fixed map

This commit is contained in:
anime committed 2024-06-13 17:36:48 +06:00
1 parent 981c5863ee
commit 6508bc0258
11 files changed
+80 -54

No files matched your search

+2 -7
View File
@@ -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