Skip to content

Commit

Permalink
Add 聘牧信息 with old listing
Browse files Browse the repository at this point in the history
Fix #54
  • Loading branch information
saintfish committed Jun 18, 2023
1 parent c623813 commit 2c9ae29
Show file tree
Hide file tree
Showing 34 changed files with 231 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
32 changes: 32 additions & 0 deletions src/components/section/JobPostingList.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
import { Icon } from "astro-icon";
import { CollectionEntry, getCollection } from "astro:content";
const jobs = (await getCollection("jobs")).sort(
(a, b) => b.data.date.valueOf() - a.data.date.valueOf()
);
function getJobLink(job: CollectionEntry<"jobs">) {
return job.data.file || `/zh/student-life/job-posting/${job.slug}`;
}
---

<div class="not-prose flex flex-col gap-4 text-black">
{
jobs.map((job) => (
<a
class="bg-white flex flex-row gap-4 px-4 py-3"
href={getJobLink(job)}
target="_blank"
>
<div class="grow flex flex-col md:flex-row items-baseline">
<div class="text-2xl font-light grow">{job.data.title}</div>
<div class="text-lg font-medium grow-0">{job.data.location}</div>
</div>
<div class="grow-0 shrink self-center">
<Icon class="inline-block w-4 h-4" name="angle-right" />
</div>
</a>
))
}
</div>
10 changes: 10 additions & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,20 @@ const degreesPrograms = defineCollection({
}),
});

const jobs = defineCollection({
schema: z.object({
title: z.string(),
location: z.string(),
date: z.date(),
file: z.optional(z.string()),
}),
});

export const collections = {
pages,
news,
faculty,
jobs,
"degrees-widget": degreesWidget,
"study-mode-widget": studyModeWidget,
"degrees-programs": degreesPrograms,
Expand Down
6 changes: 6 additions & 0 deletions src/content/jobs/2022-07-28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Education Center Supervisor (Salvation Army)
location: Oakland, CA
date: 2022-07-28
file: https://recruiting2.ultipro.com/SAL1002/JobBoard/bcc2e2d1-d94c-2041-4126-28086417eb0a/OpportunityDetail?opportunityId=2b2070a2-0dbd-4cc2-8625-ca0645f1911e
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-08-23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 全職中文部牧師/波特蘭華人福音教會
location: Hillsboro, OR
date: 2022-08-23
file: /docs/jobs/2022-08-23-CEC-中文牧師尋牧廣告-Andrew-Lo.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-09-05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 誠徵傳道/門訓牧師, 砵崙華人基督教宣道會
location: Portland, OR
date: 2022-09-05
file: /docs/jobs/2022-09-05-Portland-CCMA-Pastoral-Search-Andrew-Lo.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-09-06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Children Ministry Director, Atlanta Chinese Christian Church (ACCC)
location: Tucker, GA
date: 2022-09-06
file: /docs/jobs/2022-09-06-ACCC-Childrens-Director-Position.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-10-10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---

title: 中文牧師 (Chinese Pastor) Gilbert AZ
location: Gilbert, AZ
date: 2022-10-10
file: /docs/jobs/2022-10-10-Advertisement-for-GCC-Andrew-Lo.pdf
6 changes: 6 additions & 0 deletions src/content/jobs/2022-10-26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Senior Pastor- SFCBC Bilingual Cantonese-English
location: San Francisco, CA
date: 2022-10-26
file: /docs/jobs/2022-10-26-SFCBC-Senior-Pastor-–-Bilingual-English-Cantonese.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-10-27.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Youth Pastor, North Dallas, TX
location: North Dallas, TX
date: 2022-10-27
file: /docs/jobs/2022-10-27-Youth-Pastor-TCC-Job-Description.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-11-01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 聘牧消息 Mandarin Assistant Minister
location: Los Angeles, CA
date: 2022-11-01
file: /docs/jobs/2022-11-01-FEC-Glendale-Mandarin-Assistant-Minister-AD-Andrew-Lo.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-11-04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 國語堂牧師招聘短版
location: Davis, CA
date: 2022-11-04
file: /docs/jobs/2022-11-04-DCCC-Pastor-Search.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2022-12-02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 主任牧師
location: Las Vegas, NV
date: 2022-12-02
file: /docs/jobs/2022-12-02-聘牧-拉斯維加斯生命河靈糧堂-Andrew-Lo.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2023-01-05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 全職或半職,牧師/傳道人 Full Time Pastor
location: Brooklyn, NY
date: 2023-01-05
file: /docs/jobs/2023-01-05-紐約華人播道會誠聘資料-Andrew-Lo.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2023-01-31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 長者及外展事工主任(粵語)
location: Boston, MA
date: 2023-01-31
file: /docs/jobs/2023-01-31-Boston-Chinese-Evangelical-Church-Job-Open.pdf
---
18 changes: 18 additions & 0 deletions src/content/jobs/2023-03-10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: 全職傳道同工 (國語)
location: San Francisco, CA
date: 2023-03-10
---

美國三藩巿路德會聖靈堂 (Lutheran Church of the Holy Spirit, LCMS)誠聘全職傳道同工壹名,協助拓展教會國語事工。

申請人具有:

- 有路德會信仰背景,或願意經過詮敍加入路德會成為同工者
- 具有神學院道碩或同等學歷 (路德宗神學院畢業資格更佳)
- 能以中文書寫,具有文書處理和教會服事經驗 (教會實習也計算在內)
- 國語為主,能用英語溝通,(懂粵語更佳)
- 具有關懷和造就門徒的負擔
- 能講道、教導,和熱心傳揚福音

有意者請將個人簡歷,事奉異象和負擔,及蒙召見證,電郵至 adminoffice@lcholyspirit.org
24 changes: 24 additions & 0 deletions src/content/jobs/2023-03-17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: 國語堂全職青年牧師/傳道
location: Campbell, CA
date: 2023-03-17
---

聖荷西華人浸信會 (北加州)

誠聘國語堂全職青年牧師/傳道

- 牧養國語堂事工
- 具道學碩士學位
- 善於門徒訓練,探訪關懷並拓展職青與家庭事工
- 流利國語講道及英語溝通
- 認同美南浸會信仰宣言及具浸會背景更佳
- 兩年或以上牧養教會經驗者更佳

有意者請與朱海玲姊妹 聯絡(408)838.7208

電郵: cbcsj.mpsc@gmail.com

地址:2215 Curtner Ave., Campbell, CA 95008

网址:www.cbcsj.org
6 changes: 6 additions & 0 deletions src/content/jobs/2023-03-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Cantonese Pastor/Minister
location: Raleigh, NC
date: 2023-03-20
file: /docs/jobs/2023-03-20-Cantonese-Pastor-RespQua.pdf
---
6 changes: 6 additions & 0 deletions src/content/jobs/2023-04-06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: English Track Next Generation Director
location: Philadelphia, PA
date: 2023-04-06
file: /docs/jobs/2023-04-06-Chinese-Christian-Church-and-Center-English-Track-Next-Generation-Director-Job-Description-Andrew-Lo.pdf
---
2 changes: 2 additions & 0 deletions src/content/pages/zh/student-life/job-posting.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ order: 405
coverImage: "/images/covers/student-life/job-posting.cover.jpg"
thumbnail: "/images/covers/student-life/job-posting.thumbnail.jpg"
---

特別说明:基神在此發佈的信息均來源於各個肢體教會和機構發來的聯繫郵件,然而基神有最後發佈訊息與否的權利。招聘機會的張貼期限只有一年,如無特別通知,超過一年後,我們將從網頁上移除。
32 changes: 32 additions & 0 deletions src/pages/[language]/student-life/job-posting/[slug].astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
import SectionNoCover from "@layouts/SectionNoCover.astro";
import { CollectionEntry, getCollection } from "astro:content";
export async function getStaticPaths() {
return (await getCollection("jobs", (job) => job.data.file == null)).map(
(job) => ({
params: {
language: "zh",
slug: job.slug,
},
props: {
job,
},
})
);
}
export interface Props {
job: CollectionEntry<"jobs">;
}
const { job } = Astro.props;
const slug = `zh/student-life/job-posting/${job.slug}`;
const { Content } = await job.render();
---

<SectionNoCover language={"zh"} title={job.data.title} slug={slug}>
<div class="prose my-4">
<Content />
</div>
</SectionNoCover>
29 changes: 29 additions & 0 deletions src/pages/[language]/student-life/job-posting/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
import JobPostingList from "@components/section/JobPostingList.astro";
import SectionNoCover from "@layouts/SectionNoCover.astro";
import type { Language } from "@libs/language";
import { getEntryBySlug } from "astro:content";
export function getStaticPaths() {
return ["zh"].map((language) => ({
params: {
language,
},
}));
}
const language = Astro.params.language as Language;
const slug = `${language}/student-life/job-posting`;
const page = await getEntryBySlug("pages", slug);
if (page == null) {
return;
}
const { Content } = await page.render();
---

<SectionNoCover language={language} title={page.data.title} slug={slug}>
<div class="prose my-4">
<Content />
<JobPostingList />
</div>
</SectionNoCover>

0 comments on commit 2c9ae29

Please sign in to comment.