From 722cf08c35c7a6b7fd14085db813163df685b029 Mon Sep 17 00:00:00 2001
From: Thomas Smith <49042513+tsmitty11@users.noreply.github.com>
Date: Thu, 4 May 2023 14:44:34 +0200
Subject: [PATCH 1/2] Add a 'no jobs available' if not jobs in breezy.
---
src/layouts/page/careers.html | 136 ++++++++++++++++++----------------
1 file changed, 73 insertions(+), 63 deletions(-)
diff --git a/src/layouts/page/careers.html b/src/layouts/page/careers.html
index d78c53c..bfea41c 100644
--- a/src/layouts/page/careers.html
+++ b/src/layouts/page/careers.html
@@ -27,74 +27,84 @@
-
+ cardBody.appendChild(showMoreLink);
+
+ // Add url link to card body
+ const urlLink = document.createElement("a");
+ urlLink.classList.add("teal");
+ urlLink.href = item.url;
+ urlLink.textContent = "View on BreezyHR";
+ cardBody.appendChild(urlLink);
+
+ // Add card body to card
+ card.appendChild(cardBody);
+
+ // Add card to container
+ const container = document.getElementById("card-container");
+ const row = document.createElement("div");
+ row.classList.add("row");
+ const col = document.createElement("div");
+ col.classList.add("col");
+ col.appendChild(card);
+ row.appendChild(col);
+ container.appendChild(row);
+ });
+ }
+ })
+ .catch(error => console.log(error));
+