From 7e11d7dcb4ba090d16b7910b616c7408f49a7afd Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Sat, 2 Mar 2024 14:14:38 +0100 Subject: [PATCH] implement updating --- README.md | 9 ++------- jobsdata.json | 1 - src/layouts/Layout.astro | 2 +- src/pages/index.astro | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 jobsdata.json diff --git a/README.md b/README.md index 0d7d460..646e41c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ Steps to update: - open jobs.csv - add new openings -- save file in csv format -- open csvjson [website](https://csvjson.com/csv2json) -- open new csv file and click convert -- click on copy to clipboard button -- open jobs.json from this repository src/data folder -- paste (ctrl+v) content of new json - save (Commit changes button) - wait like one minute and try to reload page -Profit :-) \ No newline at end of file +Profit :-) +Editing csv files in githug could be tricky. If you struggle with that, download the file, change in Google Sheets or Excel and upload it back. \ No newline at end of file diff --git a/jobsdata.json b/jobsdata.json deleted file mode 100644 index cdec1ca..0000000 --- a/jobsdata.json +++ /dev/null @@ -1 +0,0 @@ -[{"id":"sienna1","joburl":"https://sienna.network/jobs/","jobcategory":"MARKETING","companyurl":"https://sienna.network/jobs/","companycategory":"DeFi","companyname":"Sienna","jobname":"Community manager"},{"joburl":"https://www.elusiv.io/jobs/424e6d1c","companycategory":"DeFi","companyname":"Elusiv","companyurl":"https://elusiv.io/jobs","jobcategory":"CRYPTOGRAPHY","id":"elusiv1","jobname":"Cryptography Working Student"},{"joburl":"https://jobs.lever.co/Espresso/6131872c-dbad-4b89-8fa3-a5412d844bbd","jobcategory":"ENGINEERING","companycategory":"DeFi","jobname":"Full-Stack Engineer","id":"espresso1","companyname":"Espresso Systems","companyurl":"https://jobs.lever.co/Espresso"},{"companycategory":"DeFi","companyurl":"https://jobs.lever.co/Espresso","jobname":"DevOps Engineer","id":"espresso2","joburl":"https://jobs.lever.co/Espresso/6131872c-dbad-4b89-8fa3-a5412d844bbd","jobcategory":"ENGINEERING","companyname":"Espresso Systems"},{"companyname":"Espresso Systems","companycategory":"DeFi","joburl":"https://jobs.lever.co/Espresso/6131872c-dbad-4b89-8fa3-a5412d844bbd","companyurl":"https://jobs.lever.co/Espresso","id":"espresso3","jobname":"Senior Software Engineer, Infrastructure","jobcategory":"ENGINEERING"},{"jobname":"Software Engineer, Infrastructure","joburl":"https://jobs.lever.co/Espresso/6131872c-dbad-4b89-8fa3-a5412d844bbd","jobcategory":"ENGINEERING","companyname":"Espresso Systems","companyurl":"https://jobs.lever.co/Espresso","id":"espresso4","companycategory":"DeFi"},{"jobcategory":"ENGINEERING","companycategory":"DeFi","joburl":"https://jobs.lever.co/Espresso/6131872c-dbad-4b89-8fa3-a5412d844bbd","id":"espresso5","jobname":"Software Engineer, Smart Contracts","companyurl":"https://jobs.lever.co/Espresso","companyname":"Espresso Systems"},{"companyurl":"https://jobs.lever.co/Espresso","companycategory":"DeFi","companyname":"Espresso Systems","jobname":"Software Engineer, Cryptography","id":"espresso6","joburl":"https://jobs.lever.co/Espresso/c32cd9f2-7f6d-46e8-ac80-ed1499d19330","jobcategory":"CRYPTOGRAPHY"},{"jobcategory":"ENGINEERING","companyname":"Silent Research Labs","joburl":"https://www.silentresearchlabs.org/jobs/backend-system-engineer","companycategory":"DeFi","jobname":"Front End Developer","companyurl":"https://www.silentresearchlabs.org/company/careers","id":"silent1"},{"joburl":"https://www.silentresearchlabs.org/jobs/backend-system-engineer","jobname":"BackEnd Engineer","jobcategory":"ENGINEERING","companyname":"Silent Research Labs","id":"silent2","companyurl":"https://www.silentresearchlabs.org/company/careers","companycategory":"DeFi"},{"jobcategory":"PRODUCT","jobname":"Digital Designer","companyname":"Silent Research Labs","id":"silent3","joburl":"https://www.silentresearchlabs.org/jobs/digital-designer","companyurl":"https://www.silentresearchlabs.org/company/careers","companycategory":"DeFi"},{"companyurl":"https://www.silentresearchlabs.org/company/careers","joburl":"https://www.silentresearchlabs.org/jobs/growth-marketer","companycategory":"DeFi","jobcategory":"MARKETING","companyname":"Silent Research Labs","id":"silent4","jobname":"Growth Marketer"},{"id":"silent5","jobname":"Legal Counsel","jobcategory":"OTHER","companyurl":"https://www.silentresearchlabs.org/company/careers","companycategory":"DeFi","joburl":"https://www.silentresearchlabs.org/jobs/legal-counsel","companyname":"Silent Research Labs"}] \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 86e3b6d..79c58f1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -101,7 +101,7 @@ const { banner, title, metaTitle, description, image } = Astro.props; valuable use cases & advocacy. This is a project by Web3Privacy. + >. diff --git a/src/pages/index.astro b/src/pages/index.astro index ad5ea18..b1ba7bd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,6 @@ --- import Layout from "../layouts/Layout.astro"; -import jobs from "@data/jobs.json"; +import jobs from "@data/jobsdata.json"; import JobItem from "../components/JobItem.astro"; // Get all unique categories