kyx236 0ad5881259 feat(header): Display active S2A profile information in header
- Add Server icon import from lucide-react for profile display
- Import useConfig hook and S2AProfile type for configuration access
- Implement activeProfile state to track currently selected S2A profile
- Add useEffect hook to fetch and match S2A profiles against current API base configuration
- Replace spacer div with active profile information display component
- Show profile name and API base URL when profile is matched
- Display API base URL directly when configured but profile not found
- Add responsive styling with dark mode support for profile info badge
- Use truncation and flex-shrink to prevent layout overflow on smaller screens
- Provides users with clear visibility of which S2A profile is currently active
2026-02-07 14:29:55 +08:00
1
2026-02-05 22:03:04 +08:00
Description
No description provided
45 MiB
Languages
TypeScript 57.7%
Go 40.7%
CSS 0.9%
Dockerfile 0.3%
JavaScript 0.3%