From 08116d4507a25087a4c219ef2496808978eced0a Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 17 Sep 2025 13:27:14 +0000 Subject: [PATCH] Auto commit: 2025-09-17T13:27:14.550Z --- assets/css/custom.css | 11 +++++++++++ assets/js/main.js | 25 ++++++++++++++++++++++++- careers.php | 34 ++++++++++++++++++++++++++++++---- 3 files changed, 65 insertions(+), 5 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 3ecdc18..bf22522 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -105,4 +105,15 @@ body { text-align: center; font-size: 0.9rem; color: #666; +} + +/* Search Form Toggle */ +#search-toggle-btn { + display: inline-flex; + align-items: center; + gap: 0.5rem; +} + +#job-search-form { + transition: all 0.3s ease-in-out; } \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js index 948ecf2..2bf8f8a 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -31,4 +31,27 @@ style.innerHTML = ` } } `; -document.head.appendChild(style); \ No newline at end of file +document.head.appendChild(style); + +// Toggle for the job search form +document.addEventListener('DOMContentLoaded', function () { + const searchToggleBtn = document.getElementById('search-toggle-btn'); + const jobSearchForm = document.getElementById('job-search-form'); + + if (searchToggleBtn && jobSearchForm) { + searchToggleBtn.addEventListener('click', function () { + jobSearchForm.classList.toggle('d-none'); + // Optional: Change button text/icon + const isHidden = jobSearchForm.classList.contains('d-none'); + if (isHidden) { + searchToggleBtn.innerHTML = ` + + Search Job Listings`; + } else { + searchToggleBtn.innerHTML = ` + + Close Search`; + } + }); + } +}); \ No newline at end of file diff --git a/careers.php b/careers.php index 05c7a6c..1665efa 100644 --- a/careers.php +++ b/careers.php @@ -72,11 +72,37 @@ $jobs = [

Find Your Next Opportunity

Join our team and help us build the future of work.

-
-
- - +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+