File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import { useEffect , useState } from 'react' ;
22import LazyImage from '../lazy-image' ;
3- import { PiNewspaper } from 'react-icons/pi' ;
3+ import { PiBriefcase } from 'react-icons/pi' ;
44import { SanitizedBlog } from '../../interfaces/sanitized-config' ;
55import { ga , skeleton } from '../../utils' ;
66import { Article } from '../../interfaces/article' ;
@@ -172,7 +172,7 @@ const BlogCard = ({
172172 ) )
173173 ) : (
174174 < div className = "text-center mb-6" >
175- < PiNewspaper className = "mx-auto h-12 w-12 opacity-30" />
175+ < PiBriefcase className = "mx-auto h-12 w-12 opacity-30" />
176176 < p className = "mt-1 text-sm opacity-50 text-base-content" >
177177 No recent post
178178 </ p >
@@ -194,7 +194,7 @@ const BlogCard = ({
194194 } )
195195 ) : (
196196 < div className = "flex items-center justify-center w-12 h-12 bg-primary/10 rounded-xl" >
197- < PiNewspaper className = "text-2xl" />
197+ < PiBriefcase className = "text-2xl" />
198198 </ div >
199199 ) }
200200 < div className = "min-w-0 flex-1" >
Original file line number Diff line number Diff line change @@ -239,6 +239,13 @@ const GitProfile = ({ config }: { config: Config }) => {
239239 </ div >
240240 < div className = "lg:col-span-2 col-span-1" >
241241 < div className = "grid grid-cols-1 gap-6" >
242+ { sanitizedConfig . blog . display && (
243+ < BlogCard
244+ loading = { loading }
245+ googleAnalyticsId = { sanitizedConfig . googleAnalytics . id }
246+ blog = { sanitizedConfig . blog }
247+ />
248+ ) }
242249 { sanitizedConfig . projects . github . display && (
243250 < GithubProjectCard
244251 header = { sanitizedConfig . projects . github . header }
@@ -264,13 +271,6 @@ const GitProfile = ({ config }: { config: Config }) => {
264271 googleAnalyticId = { sanitizedConfig . googleAnalytics . id }
265272 />
266273 ) }
267- { sanitizedConfig . blog . display && (
268- < BlogCard
269- loading = { loading }
270- googleAnalyticsId = { sanitizedConfig . googleAnalytics . id }
271- blog = { sanitizedConfig . blog }
272- />
273- ) }
274274 </ div >
275275 </ div >
276276 </ div >
You can’t perform that action at this time.
0 commit comments