File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11import React , { useState , useEffect } from 'react' ;
2+ import { Link } from 'react-router-dom' ;
23import PostItem from '../components/PostItem' ;
34import ProjectCard from '../components/ProjectCard' ;
45import { useProjects } from '../utils/projectParser' ;
5- import { FaThumbtack , FaBlog } from 'react-icons/fa' ;
6+ import { FaThumbtack , FaBlog , FaArrowRight } from 'react-icons/fa' ;
67
78const HomePage = ( ) => {
89 const [ posts , setPosts ] = useState ( [ ] ) ;
@@ -44,6 +45,11 @@ const HomePage = () => {
4445 < ProjectCard key = { project . slug } project = { { ...project , description : project . shortDescription } } />
4546 ) ) }
4647 </ div >
48+ < div className = "mt-8 text-center" >
49+ < Link to = "/projects" className = "text-primary-400 hover:underline flex items-center justify-center gap-2" >
50+ View All Projects < FaArrowRight />
51+ </ Link >
52+ </ div >
4753 </ div >
4854
4955 < div className = "mt-8" >
@@ -55,6 +61,11 @@ const HomePage = () => {
5561 < PostItem key = { slug } slug = { slug } />
5662 ) ) }
5763 </ div >
64+ < div className = "mt-8 text-center" >
65+ < Link to = "/blog" className = "text-primary-400 hover:underline flex items-center justify-center gap-2" >
66+ See All Blog Posts < FaArrowRight />
67+ </ Link >
68+ </ div >
5869 </ div >
5970
6071 </ div >
You can’t perform that action at this time.
0 commit comments