little update landing
This commit is contained in:
parent
e5771ae8f4
commit
5bae5603b7
|
|
@ -68,7 +68,9 @@ export default function ENewsPolri() {
|
|||
{article?.map((newsItem: any) => (
|
||||
<SwiperSlide key={newsItem.id}>
|
||||
<Card isFooterBlurred radius="lg" className="border-none">
|
||||
<img
|
||||
<Image
|
||||
width={720}
|
||||
height={480}
|
||||
alt="thumbnail"
|
||||
src={
|
||||
newsItem?.thumbnailUrl
|
||||
|
|
|
|||
|
|
@ -69,11 +69,13 @@ export default function HeaderNews() {
|
|||
{article?.map((newsItem: any) => (
|
||||
<SwiperSlide key={newsItem.id}>
|
||||
<Card isFooterBlurred radius="lg" className="border-none">
|
||||
<img
|
||||
<Image
|
||||
width={1920}
|
||||
height={1080}
|
||||
alt="headernews"
|
||||
src={
|
||||
newsItem?.thumbnailUrl == ""
|
||||
? "no-image.jpg"
|
||||
? "/no-image.jpg"
|
||||
: newsItem?.thumbnailUrl
|
||||
}
|
||||
className="h-[25vh] object-cover"
|
||||
|
|
|
|||
Loading…
Reference in New Issue