перенесла отображение команды и фотогалереи в aboutUs

This commit is contained in:
xomimishka committed 2025-04-15 17:29:48 +03:00
1 parent 880e0be5e9
commit c563fa077f
2 files changed
+8 -12

No files matched your search

+1 -10
View File
@@ -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 />
</>
}
))}
</>
);
}