fix: restore original Feather icons across UI
- Add components/Icons.js with SVG paths extracted verbatim from the original index.html (14 unique icons) - Restore icons on navbar menu, sidebar, feed actions, post/reply, modals, admin tabs and settings - Replaces emoji placeholders from the initial migration
This commit is contained in:
1 parent
3e9d004fb6
commit
70a198ae32
14 files changed
+160
-35
No files matched your search
@@ -4,6 +4,7 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { API, generateCaptcha, uploadImage } from '@/lib/api';
|
||||
import { useApp } from './AppProvider';
|
||||
import { Icon } from './Icons';
|
||||
|
||||
export default function NewPost() {
|
||||
const { currentUser, navigate, refresh } = useApp();
|
||||
@@ -67,7 +68,7 @@ export default function NewPost() {
|
||||
return (
|
||||
<div className="page-slide active">
|
||||
<div className="page-header" style={{ maxWidth: 600, margin: '0 auto', width: '100%' }}>
|
||||
<h2>发布新帖</h2>
|
||||
<h2><Icon name="plus" size={20} /> 发布新帖</h2>
|
||||
</div>
|
||||
<div style={{ maxWidth: 600, margin: '0 auto', width: '100%' }}>
|
||||
<input
|
||||
|
||||
Reference in new issue
Block a user