diff --git a/client/src/components/Layout/LayoutHeader.tsx b/client/src/components/Layout/LayoutHeader.tsx index 20fa9c9..3a56a97 100644 --- a/client/src/components/Layout/LayoutHeader.tsx +++ b/client/src/components/Layout/LayoutHeader.tsx @@ -1,11 +1,10 @@ -import { Button, Input, Sheet, SheetContent, SheetTrigger } from "@/ui"; +import { Button, Sheet, SheetContent, SheetTrigger } from "@/ui"; -import { t } from "i18next"; -import { MenuIcon, Package2Icon, SearchIcon } from "lucide-react"; +import { MenuIcon, Package2Icon } from "lucide-react"; import { Trans } from "react-i18next"; import { Link } from "react-router-dom"; import { UeckoLogo } from "../UeckoLogo"; -import { UserButton } from "./components/UserButton"; +import { UserButton } from "./components"; export const LayoutHeader = () => { return ( @@ -71,17 +70,7 @@ export const LayoutHeader = () => { -
-
-
- - -
-
+
diff --git a/client/src/components/Layout/components/GlobalSearchForm.tsx b/client/src/components/Layout/components/GlobalSearchForm.tsx new file mode 100644 index 0000000..ab30c60 --- /dev/null +++ b/client/src/components/Layout/components/GlobalSearchForm.tsx @@ -0,0 +1,17 @@ +import { Input } from "@/ui"; + +import { t } from "i18next"; +import { SearchIcon } from "lucide-react"; + +export const GlobalSearchForm = () => ( +
+
+ + +
+
+); diff --git a/client/src/components/Layout/components/index.tsx b/client/src/components/Layout/components/index.tsx new file mode 100644 index 0000000..38a8dfc --- /dev/null +++ b/client/src/components/Layout/components/index.tsx @@ -0,0 +1,2 @@ +export * from "./GlobalSearchForm"; +export * from "./UserButton";