@@ -2,8 +2,7 @@ import React, {useState, useEffect} from 'react';
22import { Link } from 'react-router-dom' ;
33import PostItem from '../components/PostItem' ;
44import useSeo from '../hooks/useSeo' ;
5- import { ArrowLeftIcon , ArticleIcon , MagnifyingGlassIcon , FunnelIcon , XCircle , X } from '@phosphor-icons/react' ;
6- import colors from '../config/colors' ;
5+ import { ArrowLeftIcon , ArticleMediumIcon , MagnifyingGlassIcon , FunnelIcon , XCircle , X } from '@phosphor-icons/react' ;
76
87const iconColors = [
98 "text-red-500" ,
@@ -198,7 +197,7 @@ const BlogPage = () => {
198197 < div className = "flex flex-col md:flex-row md:items-end justify-between gap-6 mb-12" >
199198 < div >
200199 < h1 className = "text-4xl font-bold font-mono tracking-tight sm:text-6xl mb-4 flex items-center text-white" >
201- < ArticleIcon
200+ < ArticleMediumIcon
202201 size = { 48 }
203202 weight = "fill"
204203 className = { `mr-4 mt-2 ${ iconColor } ` }
@@ -212,7 +211,8 @@ const BlogPage = () => {
212211 < span className = "text-gray-500" > ]</ span >
213212 </ h1 >
214213 < p className = "text-gray-400 text-lg max-w-2xl font-mono" >
215- Catch up on the latest news and insights.
214+ From the < span style = { { color : 'var(--fzcdx-spanner)' } } > Blog</ span > : Catch up on the latest news and
215+ insights.
216216 </ p >
217217 </ div >
218218
@@ -265,27 +265,16 @@ const BlogPage = () => {
265265 { id : 'd&d' , label : 'D&D' } ,
266266 ] . map ( ( filter ) => {
267267 const isSelected = activeFilter === filter . id ;
268-
269- // Determine color key for mapping
270- let colorKey = filter . id ;
271- if ( filter . id === 'rant' ) colorKey = 'takes' ; // 'rant' maps to 'takes' color vars
272-
273268 // Resolve specific color using colors.js logic approximation or CSS vars
274269 // Since we are using style prop with vars in the previous version, let's stick to that pattern or use colors.js if available
275270 // Note: colors.js has keys like 'feat', 'series', etc.
276271 // Let's try to use the hex codes from colors.js if possible, or fallback to a default.
277272
278- let categoryColor = colors . primary [ 400 ] ; // Default
279- if ( filter . id === 'all' ) categoryColor = '#9ca3af' ; // gray-400
280- else if ( filter . id === 'rant' ) categoryColor = '#065f46' ; // hardcoded matching index.css roughly or use colors.js
281- // Actually, let's use the CSS variables for consistency with badges
282-
283273 // Construct style object
284274 const activeColor = filter . id === 'all' ? '#4b5563' :
285- filter . id === 'rant' ? 'var(--color-takes -badge)' :
275+ filter . id === 'rant' ? 'var(--color-rant -badge)' :
286276 filter . id === 'd&d' ? 'var(--color-dnd-badge)' :
287277 `var(--color-${ filter . id } -badge)` ;
288-
289278 const style = isSelected ? {
290279 backgroundColor : activeColor ,
291280 borderColor : activeColor ,
@@ -316,7 +305,7 @@ const BlogPage = () => {
316305 </ div >
317306
318307 { /*mt-12 max-w-3xl mx-auto space-y-8*/ }
319- < div className = "mt-12 mx-auto space-y-8 " >
308+ < div className = "mt-12 mx-auto space-y-6 " >
320309 { filteredItems . map ( ( item ) =>
321310 item . isSeries ? (
322311 < PostItem
0 commit comments