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