Skip to content

Commit ff995e5

Browse files
committed
links.
1 parent 756fb69 commit ff995e5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/pages/HomePage.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import React, { useState, useEffect } from 'react';
2+
import { Link } from 'react-router-dom';
23
import PostItem from '../components/PostItem';
34
import ProjectCard from '../components/ProjectCard';
45
import { useProjects } from '../utils/projectParser';
5-
import { FaThumbtack, FaBlog } from 'react-icons/fa';
6+
import { FaThumbtack, FaBlog, FaArrowRight } from 'react-icons/fa';
67

78
const 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>

0 commit comments

Comments
 (0)