Skip to content

Commit 2bc0e23

Browse files
fix: update icon components and improve technical information display in settings page
1 parent fc89509 commit 2bc0e23

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

src/pages/SettingsPage.jsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { FiEye, FiEyeOff, FiTrash2, FiSave, FiRefreshCw } from 'react-icons/fi'
33
import { useApp } from '../context/AppContext'
44
import { C } from '../components/UI'
55
import { cacheClear } from '../services/github'
6-
import { BsFillInfoSquareFill } from "react-icons/bs";
7-
6+
import { AiOutlineInfoCircle } from "react-icons/ai";
87
export default function SettingsPage() {
98
const { pat, savePat, rateLimit } = useApp()
109
const [draft, setDraft] = useState(pat)
@@ -77,9 +76,9 @@ export default function SettingsPage() {
7776
<button
7877
onMouseEnter={()=> setOpen(true)}
7978
onMouseLeave={()=> setOpen(false)}
80-
className="p-2 rounded-full hover:bg-zinc-800 transition"
79+
className="p-2 rounded-full hover:bg-(--bg) transition"
8180
>
82-
<BsFillInfoSquareFill className="text-white cursor-pointer" />
81+
<AiOutlineInfoCircle className="text-(--text) cursor-pointer" />
8382
</button>
8483

8584
{open && (
@@ -244,9 +243,9 @@ export default function SettingsPage() {
244243
<div style={{ fontWeight: 600, fontSize: 15, marginBottom: 16, letterSpacing: '.03em' }}>Technical Information</div>
245244
<div style={{ display: 'flex', flexDirection: 'column', gap: 8, marginBottom: 16 }}>
246245
{[
247-
['Core Version', 'v1.0.0-stable'],
246+
['Version', 'v1.0.0-stable'],
248247
['Architecture', 'Client-side only, no backend'],
249-
['API strategy', '53 req/hr unauthenticated'],
248+
['API strategy', '60 req/hr unauthenticated'],
250249
['Cache', 'IndexedDB + React Context'],
251250
].map(([k, v]) => (
252251
<div key={k} style={{ display: 'flex', justifyContent: 'space-between', fontSize: 13 }}>
@@ -258,7 +257,7 @@ export default function SettingsPage() {
258257

259258
<div style={{ ...C.label, marginBottom: 10 }}>Stack Integrity</div>
260259
<div style={{ display: 'flex', flexDirection: 'column', gap: 6 }}>
261-
{['React 18 + Vite', 'React Router v6', 'D3.js v7 (network graph)', 'Recharts 2 (time-series)', 'react-icons', 'IndexedDB cache'].map(s => (
260+
{['React 18 + Vite', 'React Router v6', 'D3.js v7 (network graph)', 'Recharts 2 (time-series)', 'IndexedDB cache'].map(s => (
262261
<div key={s} style={{ display: 'flex', alignItems: 'center', gap: 8, fontSize: 13 }}>
263262
<div style={{ width: 6, height: 6, borderRadius: '50%', background: 'var(--green)', flexShrink: 0 }} />
264263
<span style={{ color: 'var(--text2)' }}>{s}</span>

0 commit comments

Comments
 (0)