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