mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 06:19:45 +00:00
исправила карточки новостей
This commit is contained in:
1 parent
586d3c64e8
commit
a600e91744
5 files changed
+88
-34
No files matched your search
@@ -12,6 +12,7 @@ import Slider from "@/widgets/Slider/Slider";
|
||||
export const vkWallUrl = "https://vk.com/skbkit?w=wall-172789021";
|
||||
import { useEffect } from "react";
|
||||
import { useLocation } from "react-router-dom";
|
||||
import { stripHtmlTags } from "@/shared/utils/sanitizeText";
|
||||
|
||||
export const ScrollToTop = () => {
|
||||
const { pathname } = useLocation();
|
||||
@@ -86,7 +87,7 @@ function NewsItem() {
|
||||
<meta name="robots" content="index,follow" />
|
||||
</Helmet>
|
||||
<PageHeader className="header">
|
||||
<h1>{news.heading}</h1>
|
||||
<h1>{stripHtmlTags(news.heading)}</h1>
|
||||
</PageHeader>
|
||||
<PageContent className="content" id="news-item-page">
|
||||
{news.photos.length !== 0 &&
|
||||
|
||||
Reference in new issue
Block a user