mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:59:45 +00:00
Рефакторинг: Projects, News, индексирование, папки
This commit is contained in:
1 parent
e4dd391568
commit
e164d515bb
19 files changed
+140
-62
No files matched your search
+36
@@ -0,0 +1,36 @@
|
||||
import BlockHeading from '../BlockHeading';
|
||||
import ProjectCard from './ProjectCard';
|
||||
import './Projects.styles.scss';
|
||||
import { projectMock } from '../../../../images';
|
||||
|
||||
const mock = [
|
||||
{
|
||||
image: projectMock,
|
||||
link: "/projects",
|
||||
},
|
||||
{
|
||||
image: projectMock,
|
||||
link: "/projects",
|
||||
},
|
||||
{
|
||||
image: projectMock,
|
||||
link: "/projects",
|
||||
},
|
||||
{
|
||||
image: projectMock,
|
||||
link: "/projects",
|
||||
},
|
||||
];
|
||||
|
||||
function Projects({ projects = mock }) {
|
||||
return (
|
||||
<div className="block projects">
|
||||
<BlockHeading heading="Наши проекты" linkText="Все проекты" link="/projects"/>
|
||||
<div className="row">
|
||||
{ mock.map(item => <ProjectCard project={ item } />) }
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Projects;
|
||||
Reference in new issue
Block a user