diff --git a/app/(root)/page.tsx b/app/(root)/page.tsx index c001f39..b556791 100644 --- a/app/(root)/page.tsx +++ b/app/(root)/page.tsx @@ -11,7 +11,7 @@ export default async function HomePage() { const lang = cookies().get("lang")?.value ?? "ru"; return ( -
+
}> diff --git a/components/shared/Events.tsx b/components/shared/Events.tsx index 7babf23..43f8d70 100644 --- a/components/shared/Events.tsx +++ b/components/shared/Events.tsx @@ -1,18 +1,20 @@ import { getEvents } from "@/services/home"; -import { EventsMobile } from "./events-mobile"; const events = [ { + link: "https://kids.turkmenexpo.com/", video: "https://editor.turkmenexpo.com/storage/app/media/video/KidsExpo%202024_%20Turkmenistan.mp4", logo: "https://kids.turkmenexpo.com/logo.svg", }, { + link: "https://turkmentextile.turkmenexpo.com/", video: "https://turkmentextile.turkmenexpo.com/app/storage/app/media/video/Textile2025.mp4", logo: "/assets/icons/turkmen-textile.png", }, { + link: "https://itse.turkmenexpo.com/", video: "https://itse.turkmenexpo.com/app/storage/app/media/video/itse2025.mp4", logo: "https://itse.turkmenexpo.com/logo.svg", @@ -81,7 +83,7 @@ export const Events = async ({ lang }: { lang: string }) => { className="h-10 w-auto object-cover" /> diff --git a/components/shared/Header.tsx b/components/shared/Header.tsx index cefa6fd..5917a6c 100644 --- a/components/shared/Header.tsx +++ b/components/shared/Header.tsx @@ -56,112 +56,118 @@ export const Header = () => { {/* Mobile */} -
- поиск - - { - dispatch(setBurgerOpen(false)); - dispatch(setShowInput(false)); - }} - href={"/"} + {/*
*/} +
+
лого - -
- - - -
+ { + dispatch(setBurgerOpen(false)); + dispatch(setShowInput(false)); + }} + href={"/"} + > + лого + - {burgerOpen && } -
- - {/* Desktop */} - -
-
-
-
- - logo - -
- - - - поиск dispatch(setShowInput(true))} - className="cursor-pointer" - /> -
-
- - +
+ + +
-
-
+ + {burgerOpen && } +
+ {/*
*/} + + {/* Desktop */} + + {/*
*/} +
+
+
+
+ + logo + +
+ + + + поиск dispatch(setShowInput(true))} + className="cursor-pointer" + /> +
+
+ + +
+
+
+
+ {/*
*/} ); }; diff --git a/components/ui/burger-menu.tsx b/components/ui/burger-menu.tsx index f0923b5..a2837c4 100644 --- a/components/ui/burger-menu.tsx +++ b/components/ui/burger-menu.tsx @@ -103,7 +103,7 @@ export const BurgerMenu = () => { x: "100%", opacity: 0, }} - className="bg-green overflow-auto fixed w-full z-[900] top-[74px] bottom-0 left-0 min-h-[100vh] h-full px-4 py-10 flex flex-col overflow-y-auto" + className="bg-green overflow-auto fixed w-full z-50 top-[66px] bottom-0 left-0 min-h-[100vh] h-full px-4 py-10 flex flex-col overflow-y-auto" > {activeMenu && (