diff --git a/assets/css/custom.css b/assets/css/custom.css index 5311005..8f70b14 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -20,7 +20,7 @@ body { left: 0; right: 0; bottom: 0; - background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(40, 167, 69, 0.8)); + background: linear-gradient(45deg, rgba(32, 222, 110, 0.8), rgba(40, 167, 69, 0.8)); } .hero-section .container { @@ -37,16 +37,16 @@ body { } .btn-primary { - background-color: #007BFF; - border-color: #007BFF; + background-color: #20de6e; + border-color: #20de6e; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; } .btn-primary:hover { - background-color: #0056b3; - border-color: #0056b3; + background-color: #18b35a; + border-color: #18b35a; } .how-it-works { @@ -55,7 +55,7 @@ body { .step-icon { font-size: 3rem; - color: #007BFF; + color: #20de6e; } /* Auth pages styling */ @@ -67,3 +67,24 @@ body { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important; } + +.text-primary { + color: #20de6e !important; +} + +.btn-outline-primary { + --bs-btn-color: #20de6e; + --bs-btn-border-color: #20de6e; + --bs-btn-hover-color: #fff; + --bs-btn-hover-bg: #20de6e; + --bs-btn-hover-border-color: #20de6e; + --bs-btn-active-color: #fff; + --bs-btn-active-bg: #20de6e; + --bs-btn-active-border-color: #20de6e; + --bs-btn-disabled-color: #20de6e; + --bs-btn-disabled-bg: transparent; +} + +.navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(32, 222, 110, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} \ No newline at end of file diff --git a/db/migrations/005_add_location_to_users_table.sql b/db/migrations/005_add_location_to_users_table.sql new file mode 100644 index 0000000..a55d949 --- /dev/null +++ b/db/migrations/005_add_location_to_users_table.sql @@ -0,0 +1 @@ +ALTER TABLE `users` ADD `location` VARCHAR(255) NULL DEFAULT NULL AFTER `user_type`; diff --git a/index.php b/index.php index 3a90696..a1eaf16 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,5 @@ query("SELECT * FROM service_categories ORDER BY name"); - $search_categories = $categories_stmt->fetchAll(); -} catch (PDOException $e) { - $search_categories = []; -} ?> @@ -68,12 +59,10 @@ try {