show case banner updated

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-03 14:54:42 +05:00
parent 2babb32e6a
commit 41ae5e4c49
2 changed files with 4 additions and 4 deletions

View File

@@ -29,13 +29,13 @@ export function BannerSlider() {
},
];
return (
<div className="relative z-30 h-full mt-20">
<div className="max-w-7xl mx-auto relative z-30 h-full mt-20 flex items-center justify-center ">
{/* Custom buttons */}
<button
className={`${navigationPrevEl.replace(
".",
"",
)} w-10 h-10 absolute z-10 left-[10%] top-50 rounded-full p-0 bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition`}
)} w-10 h-10 absolute z-10 left-[5%] top-[40vh] rounded-full p-0 bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition`}
>
<ChevronLeft size={30} />
</button>
@@ -43,7 +43,7 @@ export function BannerSlider() {
className={`${navigationNextEl.replace(
".",
"",
)} w-10 h-10 absolute z-10 right-[10%] top-50 rounded-full bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition `}
)} w-10 h-10 absolute z-10 right-[5%] top-[40vh] rounded-full bg-primary text-center text-white lg:flex hidden items-center justify-center hover:bg-red-600 hover:cursor-pointer transition `}
>
<ChevronRight size={30} />
</button>

View File

@@ -43,7 +43,7 @@ export function Statistics() {
];
const [stat, setStat] = useState<Statistics[]>(stats);
const { data, isLoading } = useQuery({
const { data } = useQuery({
queryKey: ["statistics"],
queryFn: () => httpClient(endPoints.statistics),
select: (data) => data?.data?.results,