added banner

This commit is contained in:
Batyr 2025-06-07 17:33:43 +05:00
parent cdff2652a3
commit a131100bc5
4 changed files with 16 additions and 8 deletions

View File

@ -37,7 +37,7 @@ export const Burger: FC<Props> = () => {
</div> </div>
</SheetTrigger> </SheetTrigger>
<SheetContent className="overflow-y-auto"> <SheetContent className="overflow-y-auto z-[100]">
<SheetClose /> <SheetClose />
<SheetHeader className="mt-16 flex flex-col gap-2"> <SheetHeader className="mt-16 flex flex-col gap-2">

View File

@ -32,13 +32,19 @@ const Hero = () => {
return ( return (
<section className=""> <section className="">
<img {pathname === "/imressions-tm" ? (
src={ <img
lang === "ru" ? "/impressions-cover.png" : "/impressions-cover-en.png" src={
} lang === "ru"
alt="" ? "/impressions-cover.png"
className="w-full object-cover object-top max-h-[610px]" : "/impressions-cover-en.png"
/> }
alt=""
className="w-full object-cover object-top max-h-[610px]"
/>
) : (
<img src={t("impressions.banner")} />
)}
<h1 className="absolute opacity-0 top-0 left-0">Модные показы</h1> <h1 className="absolute opacity-0 top-0 left-0">Модные показы</h1>
<div className="bg-[url('/impressions-bg.png')]"> <div className="bg-[url('/impressions-bg.png')]">

View File

@ -1,5 +1,6 @@
{ {
"impressions": { "impressions": {
"banner": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/new/web_eng.jpg",
"hero": { "hero": {
"title": "TurkmenTextile Expo-2025 A Crossroads of Style on the Silk Road!", "title": "TurkmenTextile Expo-2025 A Crossroads of Style on the Silk Road!",
"texts": [ "texts": [

View File

@ -1,5 +1,6 @@
{ {
"impressions": { "impressions": {
"banner": "https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/new/web_ru.jpg",
"hero": { "hero": {
"title": "TurkmenTextile Expo-2025 Перекресток стиля на Шелковом Пути!", "title": "TurkmenTextile Expo-2025 Перекресток стиля на Шелковом Пути!",
"texts": [ "texts": [