img alt seo
This commit is contained in:
parent
aaf77f3847
commit
f5ecf91b9c
|
|
@ -22,7 +22,7 @@ const AsideNews = ({ title, date, img, category, link }: Props) => {
|
|||
<div className="aside-news-image">
|
||||
<LazyLoadImage
|
||||
src={img}
|
||||
alt="image"
|
||||
alt={img}
|
||||
useIntersectionObserver
|
||||
effect="blur"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const ContentItem = ({ type = "small", img, title, id }: IProps) => {
|
|||
<div className={`main-content-item main-content-item__${type}`}>
|
||||
<LazyLoadImage
|
||||
src={img}
|
||||
alt=""
|
||||
alt={img}
|
||||
effect="blur"
|
||||
useIntersectionObserver
|
||||
style={{ background: `url(${img})` }}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ const News = ({ id, title, text, categories, date, img }: Props) => {
|
|||
<div className="news-image">
|
||||
<LazyLoadImage
|
||||
src={img}
|
||||
alt="image"
|
||||
alt={img}
|
||||
useIntersectionObserver
|
||||
effect="blur"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,12 @@ interface IProps {
|
|||
const NewsArticleImg = ({ img }: IProps) => {
|
||||
return (
|
||||
<div className={"news-article-image"}>
|
||||
<LazyLoadImage src={img} alt="" effect="blur" useIntersectionObserver />
|
||||
<LazyLoadImage
|
||||
src={img}
|
||||
alt={img}
|
||||
effect="blur"
|
||||
useIntersectionObserver
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue