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

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

No files matched your search

+7 -2
View File
@@ -1,6 +1,11 @@
import { CategoryPage } from "@/widgets/CategoryPage/CategoryPage"; import { CategoryPage } from "@/widgets/CategoryPage/CategoryPage";
import Team from "@/widgets/Team";
import PhotoGallery from "@/widgets/PhotoGallery";
export default function AboutUs() { export default function AboutUs() {
return <CategoryPage category="aboutus" />; return <>
<CategoryPage category="aboutus" />
< Team />
< PhotoGallery />
</>
} }
@@ -1,8 +1,5 @@
import { usePosts } from "@/modules/posts/hooks/usePosts"; import { usePosts } from "@/modules/posts/hooks/usePosts";
import { PagePost } from "@/widgets/PostPage"; import { PagePost } from "@/widgets/PostPage";
import Team from "../Team";
import PhotoGallery from "../PhotoGallery";
interface CategoryPageProps { interface CategoryPageProps {
category: string; category: string;
@@ -29,12 +26,6 @@ export function CategoryPage({ category }: CategoryPageProps) {
{/* <div className="btn">Показать еще</div> */} {/* <div className="btn">Показать еще</div> */}
</PagePost> </PagePost>
))} ))}
{category === "aboutus" && <>
<Team />
<PhotoGallery />
</>
}
</> </>
); );
} }