Compare commits
2 Commits
178d1259b5
...
3e8778a776
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e8778a776 | ||
|
|
061516c9ae |
@ -8,23 +8,25 @@ import Link from "next/link"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { Badge } from "@/components/ui/badge"
|
||||
import {
|
||||
LayoutDashboard,
|
||||
Shield,
|
||||
FileText,
|
||||
Folder,
|
||||
Search,
|
||||
Users,
|
||||
Settings,
|
||||
Shield,
|
||||
MessageSquare,
|
||||
Search,
|
||||
MessageCircle,
|
||||
Bell,
|
||||
User,
|
||||
LogOut,
|
||||
Menu,
|
||||
X,
|
||||
TestTube,
|
||||
ChevronDown,
|
||||
ChevronRight,
|
||||
Home,
|
||||
Key,
|
||||
} from "lucide-react"
|
||||
LayoutDashboard,
|
||||
TestTube,
|
||||
} from "@/lib/icons"
|
||||
import UserStore from "@/lib/4nk/UserStore"
|
||||
import { iframeUrl } from "../page"
|
||||
import EventBus from "@/lib/4nk/EventBus"
|
||||
|
||||
@ -28,7 +28,7 @@ import {
|
||||
FolderPlus,
|
||||
XCircle,
|
||||
Info,
|
||||
} from "lucide-react"
|
||||
} from "@/lib/icons"
|
||||
import MessageBus from "@/lib/4nk/MessageBus"
|
||||
import Link from "next/link"
|
||||
import Chat from "@/components/4nk/Chat"
|
||||
|
||||
@ -11,30 +11,35 @@ import { Textarea } from "@/components/ui/textarea"
|
||||
import { Switch } from "@/components/ui/switch"
|
||||
import {
|
||||
User,
|
||||
Shield,
|
||||
Bell,
|
||||
Palette,
|
||||
Mail,
|
||||
Phone,
|
||||
MapPin,
|
||||
Calendar,
|
||||
Globe,
|
||||
Database,
|
||||
Save,
|
||||
Edit,
|
||||
Trash2,
|
||||
Eye,
|
||||
EyeOff,
|
||||
Shield,
|
||||
Key,
|
||||
Bell,
|
||||
Settings as SettingsIcon,
|
||||
Download,
|
||||
Upload,
|
||||
Trash2,
|
||||
Save,
|
||||
RefreshCw,
|
||||
AlertTriangle,
|
||||
CheckCircle,
|
||||
Eye,
|
||||
EyeOff,
|
||||
Copy,
|
||||
ExternalLink,
|
||||
HardDrive,
|
||||
Activity,
|
||||
XCircle,
|
||||
Info,
|
||||
Lock,
|
||||
Unlock,
|
||||
UserCheck,
|
||||
Users,
|
||||
Smartphone,
|
||||
Plus,
|
||||
X,
|
||||
} from "lucide-react"
|
||||
} from "@/lib/icons"
|
||||
|
||||
export default function SettingsPage() {
|
||||
const [activeTab, setActiveTab] = useState("profile")
|
||||
|
||||
105
lib/icons.ts
Normal file
105
lib/icons.ts
Normal file
@ -0,0 +1,105 @@
|
||||
// Centralized icon exports from lucide-react
|
||||
// This file helps optimize imports and provides a single source of truth for icons
|
||||
|
||||
// Layout & Navigation Icons
|
||||
export {
|
||||
Shield,
|
||||
ArrowLeft,
|
||||
ArrowRight,
|
||||
Home,
|
||||
Menu,
|
||||
X,
|
||||
ChevronRight,
|
||||
ChevronDown,
|
||||
ChevronUp,
|
||||
MoreHorizontal,
|
||||
LayoutDashboard
|
||||
} from "lucide-react"
|
||||
|
||||
// User & Authentication Icons
|
||||
export {
|
||||
Users,
|
||||
User,
|
||||
UserCheck,
|
||||
UserPlus,
|
||||
Key,
|
||||
Lock,
|
||||
Unlock,
|
||||
LogOut
|
||||
} from "lucide-react"
|
||||
|
||||
// Document & File Icons
|
||||
export {
|
||||
FileText,
|
||||
File,
|
||||
Files,
|
||||
Folder,
|
||||
FolderOpen,
|
||||
FolderPlus,
|
||||
Download,
|
||||
Upload,
|
||||
Share2,
|
||||
Edit,
|
||||
Copy,
|
||||
Archive,
|
||||
FileCheck
|
||||
} from "lucide-react"
|
||||
|
||||
// Status & Feedback Icons
|
||||
export {
|
||||
CheckCircle,
|
||||
XCircle,
|
||||
AlertCircle,
|
||||
AlertTriangle,
|
||||
Info,
|
||||
Clock,
|
||||
Activity,
|
||||
TrendingUp,
|
||||
Zap,
|
||||
ShieldCheck
|
||||
} from "lucide-react"
|
||||
|
||||
// Action Icons
|
||||
export {
|
||||
Plus,
|
||||
Search,
|
||||
Settings,
|
||||
Trash2,
|
||||
Eye,
|
||||
EyeOff,
|
||||
RefreshCw,
|
||||
Save,
|
||||
Send,
|
||||
Filter,
|
||||
SortAsc,
|
||||
SortDesc
|
||||
} from "lucide-react"
|
||||
|
||||
// Technology & Development Icons
|
||||
export {
|
||||
Code,
|
||||
Database,
|
||||
HardDrive,
|
||||
Globe,
|
||||
Monitor,
|
||||
Smartphone,
|
||||
TestTube,
|
||||
Calendar
|
||||
} from "lucide-react"
|
||||
|
||||
// Formation & Learning Icons
|
||||
export {
|
||||
BookOpen,
|
||||
Award,
|
||||
GraduationCap
|
||||
} from "lucide-react"
|
||||
|
||||
// Communication Icons
|
||||
export {
|
||||
Mail,
|
||||
MessageCircle,
|
||||
Phone,
|
||||
Video,
|
||||
Bell,
|
||||
MapPin
|
||||
} from "lucide-react"
|
||||
10
package.json
10
package.json
@ -41,24 +41,14 @@
|
||||
"bip39": "^3.1.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.0.4",
|
||||
"date-fns": "4.1.0",
|
||||
"embla-carousel-react": "8.5.1",
|
||||
"geist": "^1.3.1",
|
||||
"input-otp": "1.4.1",
|
||||
"lucide-react": "^0.454.0",
|
||||
"next": "15.2.4",
|
||||
"next-themes": "latest",
|
||||
"nodemailer": "latest",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^19",
|
||||
"react-day-picker": "9.8.0",
|
||||
"react-dom": "^19",
|
||||
"react-hook-form": "^7.60.0",
|
||||
"react-qr-code": "^2.0.18",
|
||||
"react-resizable-panels": "^2.1.7",
|
||||
"recharts": "2.15.4",
|
||||
"sonner": "^1.7.4",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"uuid": "latest",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user