call api to get projects images
This commit is contained in:
1 parent
44fca77fa9
commit
42341538d1
1 file changed
+3
-1
@@ -14,7 +14,9 @@ function SingleProject({ image, title, description, skills, id, school, beginnin
|
||||
return (
|
||||
<div className="single-project" onClick={clickProject}>
|
||||
<div className="single-project-top">
|
||||
<img src={`/assets/images/projects/${image}/${image}_1.png`} alt={image}/>
|
||||
<img
|
||||
src={`http://localhost:8000/api/media/public/images/projects/${image}/${image}_1.png`}
|
||||
alt={image}/>
|
||||
</div>
|
||||
<div className="single-project-bottom">
|
||||
<div className="single-project-bottom-header">
|
||||
|
||||
Reference in new issue
Block a user