File tree 5 files changed +56
-6
lines changed
5 files changed +56
-6
lines changed Original file line number Diff line number Diff line change
1
+ const ProjectGallery = ( ) => {
2
+ return (
3
+ < div class = "grid grid-cols-1 sm:grid-cols-3 sm:gap-10 mt-12" >
4
+ < div class = "mb-10 sm:mb-0" >
5
+ < img
6
+ src = ""
7
+ class = "rounded-2xl cursor-pointer shadow-lg sm:shadow-none"
8
+ alt = ""
9
+ />
10
+ </ div >
11
+ </ div >
12
+ ) ;
13
+ } ;
14
+
15
+ export default ProjectGallery ;
Original file line number Diff line number Diff line change
1
+ import { singleProjectHeader } from '../utils/SingleProjectData' ;
2
+
3
+ const ProjectSingleHeader = ( ) => {
4
+ return (
5
+ < div >
6
+ < p className = "text-left text-3xl sm:text-4xl font-bold text-primary-dark dark:text-primary-light mt-7 sm:mt-20 mb-7" >
7
+ { singleProjectHeader . title }
8
+ </ p >
9
+ < div className = "flex" >
10
+ < div className = "flex items-center mr-10" >
11
+ < i
12
+ data-feather = "clock"
13
+ className = "w-4 h-4 text-ternary-dark dark:text-ternary-light"
14
+ > </ i >
15
+ < span className = "ml-2 leading-none text-primary-dark dark:text-primary-light" >
16
+ { singleProjectHeader . publishDate }
17
+ </ span >
18
+ </ div >
19
+ < div className = "flex items-center" >
20
+ < i
21
+ data-feather = "tag"
22
+ className = "w-4 h-4 text-ternary-dark dark:text-ternary-light"
23
+ > </ i >
24
+ < span className = "ml-2 leading-none text-primary-dark dark:text-primary-light" >
25
+ { singleProjectHeader . tags }
26
+ </ span >
27
+ </ div >
28
+ </ div >
29
+ </ div >
30
+ ) ;
31
+ } ;
32
+
33
+ export default ProjectSingleHeader ;
Original file line number Diff line number Diff line change
1
+ import ProjectSingleHeader from '../components/ProjectSingleHeader' ;
2
+
1
3
const ProjectSingle = ( ) => {
2
4
return (
3
- < div className = "container mx-auto sm:flex py-5 sm:py-10 mt-5 sm:mt-10" >
4
- < h1 > This is the single page </ h1 >
5
+ < div className = "container mx-auto mt-5 sm:mt-10" >
6
+ < ProjectSingleHeader / >
5
7
</ div >
6
8
) ;
7
9
} ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const ProjectsData = [
32
32
} ,
33
33
{
34
34
id : 5 ,
35
- title : 'Kabul Social App' ,
35
+ title : 'React Social App' ,
36
36
category : 'Mobile Application' ,
37
37
img : MobileImage1 ,
38
38
} ,
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import Image5 from '../images/web-project-1.jpg';
6
6
import Image6 from '../images/ui-project-2.jpg' ;
7
7
8
8
export const singleProjectHeader = {
9
- singleProjectTitle : 'Kabul Project Management UI' ,
10
- singleProjectDate : 'Jul 26, 2021' ,
11
- singleProjectTag : 'UI / Frontend' ,
9
+ title : 'Project Management UI' ,
10
+ publishDate : 'Jul 26, 2021' ,
11
+ tags : 'UI / Frontend' ,
12
12
} ;
13
13
14
14
export const projectImages = [
You can’t perform that action at this time.
0 commit comments