mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
перенесла отображение команды и фотогалереи в aboutUs
This commit is contained in:
1 parent
880e0be5e9
commit
c563fa077f
2 files changed
+8
-12
No files matched your search
@@ -1,8 +1,5 @@
|
||||
import { usePosts } from "@/modules/posts/hooks/usePosts";
|
||||
import { PagePost } from "@/widgets/PostPage";
|
||||
import Team from "../Team";
|
||||
import PhotoGallery from "../PhotoGallery";
|
||||
|
||||
|
||||
interface CategoryPageProps {
|
||||
category: string;
|
||||
@@ -28,13 +25,7 @@ export function CategoryPage({ category }: CategoryPageProps) {
|
||||
<PagePost key={post.id} post={post}>
|
||||
{/* <div className="btn">Показать еще</div> */}
|
||||
</PagePost>
|
||||
))}
|
||||
{category === "aboutus" && <>
|
||||
<Team />
|
||||
<PhotoGallery />
|
||||
</>
|
||||
}
|
||||
|
||||
))}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user