File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ const BlogPage = () => {
3939 < p className = "mt-6 text-lg leading-8 text-gray-300" >
4040 Catch up on the latest news and insights.
4141 </ p >
42+ < div className = "mt-2 text-center" >
43+ < span className = "ml-2 px-2 py-1 text-base font-medium text-gray-200 bg-gray-800 rounded-full" > Total: { posts . length } </ span >
44+ </ div >
4245 </ div >
4346 < div className = "mt-16" >
4447 < div className = "" >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
33import PostItem from '../components/PostItem' ;
44import ProjectCard from '../components/ProjectCard' ;
55import { useProjects } from '../utils/projectParser' ;
6- import { FaThumbtack , FaBlog , FaArrowRight } from 'react-icons/fa' ;
6+ import { FaThumbtack , FaBook , FaArrowRight } from 'react-icons/fa' ;
77
88const HomePage = ( ) => {
99 const [ posts , setPosts ] = useState ( [ ] ) ;
@@ -52,7 +52,7 @@ const HomePage = () => {
5252
5353 < div className = "mt-16" >
5454 < h2 className = "text-2xl font-semibold tracking-tight text-white text-center flex items-center justify-center gap-2" >
55- < FaThumbtack className = "text-primary-400" /> Pinned Projects
55+ < FaThumbtack className = "text-primary-400 text-lg " /> Pinned Projects
5656 </ h2 >
5757 < div className = "mt-8 grid grid-cols-1 md:grid-cols-2 gap-8" >
5858 { pinnedProjects . map ( project => (
@@ -68,7 +68,7 @@ const HomePage = () => {
6868
6969 < div className = "mt-8" >
7070 < h2 className = "text-2xl font-semibold tracking-tight text-white text-center flex items-center justify-center gap-2" >
71- < FaBlog className = "text-primary-400" /> Recent Blog Posts
71+ < FaBook className = "text-primary-400 text-lg " /> Recent Blog Posts
7272 </ h2 >
7373 < div className = "mt-8" >
7474 { posts . slice ( 0 , 5 ) . map ( post => (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const ProjectsPage = () => {
1717
1818 return (
1919 < div className = "py-16 sm:py-24" >
20- < div className = "mx-auto max-w-7xl px-6 lg:px-8 " >
20+ < div className = "mx-auto max-w-7xl px-8 lg:px-12 " >
2121 < div className = "mx-auto max-w-2xl text-center" >
2222 < Link to = "/" className = "text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4" >
2323 < FaArrowLeft className = "text-xl" /> Back to Home
@@ -28,6 +28,9 @@ const ProjectsPage = () => {
2828 < p className = "mt-6 text-lg leading-8 text-gray-300" >
2929 A collection of my work and experiments.
3030 </ p >
31+ < div className = "mt-2 text-center" >
32+ < span className = "ml-2 px-2 py-1 text-base font-medium text-gray-200 bg-gray-800 rounded-full" > Total: { projects . length } </ span >
33+ </ div >
3134 </ div >
3235 < div className = "mt-16 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" >
3336 { projects . map ( project => (
You can’t perform that action at this time.
0 commit comments