Skip to content

Commit

Permalink
Create API to fetch career page images and show them on career page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 4, 2023
1 parent b382666 commit 6246433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ replace leave => ./leave

replace notification => ./notification

replace career => ./career

require (
blogs v0.0.0-00010101000000-000000000000
career v0.0.0-00010101000000-000000000000
contact v0.0.0-00010101000000-000000000000
contribution v0.0.0-00010101000000-000000000000
db v0.0.0
Expand Down
4 changes: 2 additions & 2 deletions nuxt-frontend/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function setGithubStars(contributions, githubRepos) {
.filter(
(repo) =>
repo.name ==
contribution.link.slice(contribution.link.lastIndexOf("/") + 1)
contribution.link.slice(contribution.link.lastIndexOf("/") + 1),
)
.map((repo) => repo.stargazers_count.toString())[0];
});
Expand Down Expand Up @@ -77,7 +77,7 @@ function getJobDates() {
currentDay <= maxDays
? startDateOfMonth
: new Date(
startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays)
startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays),
);

const datePosted = jobPosted.toISOString().split("T")[0];
Expand Down

0 comments on commit 6246433

Please sign in to comment.