Your Name
feat: UI improvements and error suppression - Enhanced dashboard and market pages with improved header buttons, logo, and currency symbol display - Stopped animated ticker - Removed pie chart legends - Added error suppressor for external service errors (SSE, Permissions-Policy warnings) - Improved header button prominence and icon appearance - Enhanced logo with glow effects and better design - Fixed currency symbol visibility in market tables
8b7b267
| """ | |
| Resources Endpoint - API router for resource statistics | |
| """ | |
| from fastapi import APIRouter | |
| from typing import Dict, Any | |
| from datetime import datetime | |
| import logging | |
| logger = logging.getLogger(__name__) | |
| router = APIRouter(prefix="/api/resources", tags=["resources"]) | |
| async def resources_stats() -> Dict[str, Any]: | |
| """Get resource statistics""" | |
| return { | |
| "total": 0, | |
| "active": 0, | |
| "categories": [], | |
| "timestamp": datetime.utcnow().isoformat() + "Z" | |
| } | |
| async def resources_list() -> Dict[str, Any]: | |
| """Get list of all resources""" | |
| return { | |
| "resources": [], | |
| "total": 0, | |
| "timestamp": datetime.utcnow().isoformat() + "Z" | |
| } | |