We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffddb2 commit 32d8120Copy full SHA for 32d8120
src/components/Jobs.jsx
@@ -3,6 +3,15 @@ import React from "react";
3
import Job from './Job';
4
5
const Jobs = ({ jobs }) => {
6
+ if (jobs.length == 0) {
7
+ return (
8
+ <div className="jobList">
9
+ <div className="noJobs">
10
+ No jobs currently listed 😢 <a href="https://github.com/numfocus/jobs-board#posting-a-job">Make a PR!</a>
11
+ </div>
12
13
+ )
14
+ }
15
return (
16
<div className="jobList">
17
{
src/styles/global.css
@@ -141,3 +141,8 @@ a {
141
.badge:hover .tooltip {
142
visibility: visible;
143
}
144
+.noJobs {
145
+ padding: 2rem;
146
+ font-size: 200%;
147
+ color: gray;
148
+}
0 commit comments