🔧 Enhance Middleware and Admin Features

 Updated Middleware Logic:
- Enhanced admin route protection with Basic Auth for legacy routes and session-based auth for `/manage` and `/editor`.

 Improved Admin Panel Styles:
- Added glassmorphism styles for admin components to enhance UI aesthetics.

 Refined Rate Limiting:
- Adjusted rate limits for admin dashboard requests to allow more generous access.

 Introduced Analytics Reset API:
- Added a new endpoint for resetting analytics data with rate limiting and admin authentication.

🎯 Overall Improvements:
- Strengthened security and user experience for admin functionalities.
- Enhanced visual design for better usability.
- Streamlined analytics management processes.
This commit is contained in:
2025-09-09 19:50:52 +02:00
parent 0ae1883cf4
commit be01ee2adb
26 changed files with 4518 additions and 1103 deletions

View File

@@ -72,9 +72,9 @@ The website was designed with a focus on user experience, performance, and acces
colorScheme: "Dark with glassmorphism",
accessibility: true,
performance: {
lighthouse: 95,
bundleSize: "45KB",
loadTime: "1.2s"
lighthouse: 0,
bundleSize: "0KB",
loadTime: "0s"
},
analytics: {
views: 1250,
@@ -136,9 +136,9 @@ Built with a focus on scalability and user experience. Implemented proper error
colorScheme: "Professional and clean",
accessibility: true,
performance: {
lighthouse: 92,
bundleSize: "78KB",
loadTime: "1.8s"
lighthouse: 0,
bundleSize: "0KB",
loadTime: "0s"
},
analytics: {
views: 890,
@@ -266,9 +266,9 @@ Built with a focus on user experience and visual appeal. Implemented proper erro
colorScheme: "Light and colorful",
accessibility: true,
performance: {
lighthouse: 91,
bundleSize: "52KB",
loadTime: "1.3s"
lighthouse: 0,
bundleSize: "0KB",
loadTime: "0s"
},
analytics: {
views: 423,