mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 02:29:45 +00:00
16 lines
438 B
React
16 lines
438 B
React
import { Link } from 'react-router-dom';
|
|
|
|
import "./ProjectCard.styles.scss";
|
|
|
|
function ProjectCard({ project }) {
|
|
return (
|
|
<Link className="card" to={ `/projects/` + project.id }>
|
|
<img className="image" alt="project_image" src={project.preview}></img>
|
|
<div className="label">
|
|
{ `Проект "${project.name}"` }
|
|
</div>
|
|
</Link>
|
|
);
|
|
}
|
|
|
|
export default ProjectCard; |