diff --git a/src/app/(root)/(routes)/(home)/components/BannerSection.tsx b/src/app/(root)/(routes)/(home)/components/BannerSection.tsx index 2406cdb7..cdf41f65 100644 --- a/src/app/(root)/(routes)/(home)/components/BannerSection.tsx +++ b/src/app/(root)/(routes)/(home)/components/BannerSection.tsx @@ -8,7 +8,12 @@ const BannerSection = () => { { url: Assets.banner3 }, ] return ( - + ) } diff --git a/src/components/domain/header/components/AvatarWithDropdown.tsx b/src/components/domain/header/components/AvatarWithDropdown.tsx index 3a1cd6ef..9864d8dd 100644 --- a/src/components/domain/header/components/AvatarWithDropdown.tsx +++ b/src/components/domain/header/components/AvatarWithDropdown.tsx @@ -31,7 +31,10 @@ const AvatarWithDropdown = ({ imageUrl }: { imageUrl?: string }) => { diff --git a/src/components/domain/header/sections/RightSide.tsx b/src/components/domain/header/sections/RightSide.tsx index 4980cb91..1885adec 100644 --- a/src/components/domain/header/sections/RightSide.tsx +++ b/src/components/domain/header/sections/RightSide.tsx @@ -1,7 +1,6 @@ 'use client' import React from 'react' -import Link from 'next/link' import { useRouter } from 'next/navigation' import Button from '@/components/ui/button' import AppPath from '@/config/appPath' diff --git a/src/components/domain/slider/Slider.tsx b/src/components/domain/slider/Slider.tsx index 81b538fa..1a11ea78 100644 --- a/src/components/domain/slider/Slider.tsx +++ b/src/components/domain/slider/Slider.tsx @@ -12,6 +12,7 @@ type SliderProps = { imageData: { url: string | StaticImageData }[] imageAspectRatio: string loading?: 'lazy' | 'eager' + priority?: boolean } /** @@ -22,6 +23,7 @@ const Slider = ({ imageData, imageAspectRatio, loading = 'lazy', + priority = false, }: SliderProps) => { SwiperCore.use([Pagination, Autoplay]) return ( @@ -46,6 +48,7 @@ const Slider = ({ quality={50} style={{ width: '100%' }} loading={loading} + priority={priority} /> ))}