Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/hide upcoming #713

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"admin.map": "/assets/js/admin-77FHK54G.js.map",
"app.js": "/assets/js/app-U5OIPSUD.js",
"app.map": "/assets/js/app-U5OIPSUD.js.map",
"positions.js": "/assets/js/positions-VVHKRLDJ.js",
"positions.map": "/assets/js/positions-VVHKRLDJ.js.map",
"positions.js": "/assets/js/positions-JSZISVTK.js",
"positions.map": "/assets/js/positions-JSZISVTK.js.map",
"subnav.js": "/assets/js/subnav-3QHQ2EX4.js",
"subnav.map": "/assets/js/subnav-3QHQ2EX4.js.map",
"uswds.js": "/assets/js/uswds-init.js",
"styles.css": "/assets/styles/styles-WFQMHBOR.css",
"styles.map": "/assets/styles/styles-WFQMHBOR.css.map"
"styles.css": "/assets/styles/styles-VHE4JBMV.css",
"styles.map": "/assets/styles/styles-VHE4JBMV.css.map"
}
2 changes: 1 addition & 1 deletion _includes/layouts/jointts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>{{ title }}</h1>
{% include "layouts/jointts/jobs.html" %}

<!-- Other Opportunities -->
<h2>Other GSA Opportunities</h2>
<h2 id="other-opportunities">Other GSA Opportunities</h2>
<p>Check out <a href="https://www.gsa.gov/about-us/find-apply-for-and-land-a-job-at-gsa">careers at GSA</a> and more <a href="https://www.usajobs.gov/Search/Results?j=2210&d=GS&p=1">Information Technology opportunities.</a></p>

<!-- Application Process -->
Expand Down
6 changes: 1 addition & 5 deletions js/positions.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,7 @@ function addUpcomingJobsToDOM(upcomingJobs) {

upcomingJobsSection.appendChild(jobList);
} else {
const noJobsText = document.createElement("p");
noJobsText.innerHTML =
'No upcoming positions at this time. Sign up for <a href="/join/newsletter/">job alerts!</a>';

openJobsSection.appendChild(noJobsText);
upcomingJobsSection.remove();
}
}

Expand Down
5 changes: 5 additions & 0 deletions styles/tts-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,9 @@ h4#specialized-requirements {
ul p {
font-weight: 400;
}
}

/* Job Sections */
.open-jobs + #other-opportunities {
margin-top: 1.5em;
}
Loading