Dashboard
+PENDING REVIEW
+ 1,204 +APPROVED TODAY
+ 852 +REJECTED TODAY
+ 49 +FLAGGED
+ 18 +Placeholder for recent activity feed or a chart.
+diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..e9c0462 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,151 @@ + +/* General Body Styles */ +body { + background-color: #f8f9fa; + font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; +} + +/* Sidebar Styles */ +.sidebar { + position: fixed; + top: 0; + left: 0; + bottom: 0; + width: 280px; + background-color: #fff; + border-right: 1px solid #dee2e6; + z-index: 1000; + transition: all 0.3s; +} + +.sidebar-header { + padding: 1.5rem; + border-bottom: 1px solid #dee2e6; + font-size: 1.5rem; + font-weight: 700; + color: #0d6efd; +} + +.sidebar .nav-link { + display: flex; + align-items: center; + padding: 0.75rem 1.5rem; + color: #495057; + font-weight: 500; + transition: all 0.2s ease-in-out; +} + +.sidebar .nav-link .bi { + margin-right: 1rem; + font-size: 1.2rem; + width: 20px; + text-align: center; +} + +.sidebar .nav-link:hover, +.sidebar .nav-link.active { + background-color: #e9ecef; + color: #0d6efd; +} + +/* Main Content Styles */ +.main-content { + margin-left: 280px; + padding: 2rem; + transition: all 0.3s; +} + +/* Header Styles */ +.header { + margin-bottom: 2rem; +} + +.header h1 { + font-weight: 700; +} + +/* Dashboard Stat Cards */ +.stat-card { + border: none; + border-radius: 0.5rem; + box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; +} + +.stat-card:hover { + transform: translateY(-5px); + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); +} + +.stat-card .card-body { + display: flex; + align-items: center; + justify-content: space-between; +} + +.stat-card .stat-icon { + font-size: 2.5rem; + opacity: 0.3; +} + +.stat-card .stat-number { + font-size: 2.25rem; + font-weight: 700; +} + +.stat-card .card-title { + font-weight: 500; + color: #6c757d; +} + +/* Responsive Styles */ +@media (max-width: 991.98px) { + .sidebar { + left: -280px; + } + .main-content { + margin-left: 0; + } + .sidebar.active { + left: 0; + } +} + +/* Custom Stat Card Colors for Readability (Variation 2) */ +.stat-card.text-bg-primary, +.stat-card.text-bg-success, +.stat-card.text-bg-danger, +.stat-card.text-bg-warning { + background-color: #f8f9fa !important; /* A very light grey, almost white */ + border: 1px solid #e9ecef; +} + +.stat-card.text-bg-primary .stat-number, +.stat-card.text-bg-primary .stat-icon { + color: #0d6efd !important; +} + +.stat-card.text-bg-success .stat-number, +.stat-card.text-bg-success .stat-icon { + color: #198754 !important; +} + +.stat-card.text-bg-danger .stat-number, +.stat-card.text-bg-danger .stat-icon { + color: #dc3545 !important; +} + +.stat-card.text-bg-warning .stat-number, +.stat-card.text-bg-warning .stat-icon { + color: #ffc107 !important; +} + +/* Titles and icons should have a consistent, readable color */ +.stat-card .card-title { + color: #6c757d !important; /* A neutral, secondary text color */ +} + +.stat-card .stat-icon { + opacity: 0.5; /* Soften the icon color slightly */ +} + diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..7e070a0 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,7 @@ +// Future javascript for interactivity +document.addEventListener('DOMContentLoaded', function() { + const sidebarToggler = document.querySelector('[data-bs-toggle="offcanvas"]'); + const sidebar = document.querySelector('.sidebar'); + + // You can add logic here if needed, for now Bootstrap handles the offcanvas +}); diff --git a/index.php b/index.php index 7205f3d..7932774 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,242 @@ - +
- - -= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-This page will update automatically as the plan is implemented.
-Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
Placeholder for recent activity feed or a chart.
+