diff --git a/cms/src/lib/data/qualify-exam.json b/cms/src/lib/data/qualify-exam.json index 52e214b..a14550c 100644 --- a/cms/src/lib/data/qualify-exam.json +++ b/cms/src/lib/data/qualify-exam.json @@ -4,14 +4,14 @@ "date":"24 เม.ย. 2566","institute":"สำนักงาน ก.ก.","institute_id":1, "start":"2023-04-24", "title":"ด่วน !! ประกาศวัน เวลา สถานที่ และระเบียบการคัดเลือกลูกจ้างกทม.", - "detail":"ด่วน !! ประกาศวัน เวลา สถานที่ และระเบียบการคัดเลือกลูกจ้างกทม.", + "detail":"

สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานคร ประกาศกำหนดวัน เวลา สถานที่คัดเลือก และระเบียบ เกี่ยวกับการคัดเลือกบุคลากรกรุงเทพมหานครหรือผู้ปฏิบัติงานอื่นในกรุงเทพมหานครเพื่อบรรจุและแต่งตั้ง เป็นข้าราชการกรุงเทพมหานครสามัญ ครั้งที่ 1 / 2565

", "img":"/images/sel1.png", "docurl":"https://webportal.bangkok.go.th/public/user_files_editor/305/%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%81%E0%B8%B2%E0%B8%A8%E0%B8%84%E0%B8%B1%E0%B8%94%E0%B9%80%E0%B8%A5%E0%B8%B7%E0%B8%AD%E0%B8%81%E0%B8%A5%E0%B8%B9%E0%B8%81%E0%B8%88%E0%B9%89%E0%B8%B2%E0%B8%87.pdf" }, { "id":"20", - "date":"3 เม.ย. 2566","institute":"สำนักอนามัย","institute_id":2, + "date":"3 เม.ย. 2566","institute":"สำนักงาน ก.ก.","institute_id":1, "start":"2023-04-03", "title":"วัน เวลา สถานที่ และระเบียบการคัดเลือกลูกจ้างกทม.", "detail":"ด่วน !! ประกาศวัน เวลา สถานที่ และระเบียบการคัดเลือกลูกจ้างกทม.", diff --git a/cms/src/routes/+page.svelte b/cms/src/routes/+page.svelte index b73c313..c218274 100644 --- a/cms/src/routes/+page.svelte +++ b/cms/src/routes/+page.svelte @@ -114,7 +114,7 @@ อ่านต่อ @@ -151,7 +151,7 @@ อ่านต่อ @@ -186,7 +186,7 @@ อ่านต่อ @@ -244,7 +244,7 @@ อ่านต่อ @@ -281,7 +281,7 @@ อ่านต่อ @@ -316,7 +316,7 @@ อ่านต่อ diff --git a/cms/src/routes/competitive/+page.server.ts b/cms/src/routes/competitive/+page.server.ts index 129a7a6..a5cdf73 100644 --- a/cms/src/routes/competitive/+page.server.ts +++ b/cms/src/routes/competitive/+page.server.ts @@ -6,11 +6,9 @@ export const load: PageServerLoad = async () => { const exams = await getCompetitiveExams() const events:CalendarEvent[]=[] exams.forEach(({id,title,start})=>{ - const backgroundColor ="#1111EE" + const backgroundColor ="#9999FF" const url = "/competitive/"+id events.push({id,title,start,url,backgroundColor}) }) return {content,exams,events} -} - - +} \ No newline at end of file diff --git a/cms/src/routes/competitive/+page.svelte b/cms/src/routes/competitive/+page.svelte index 36dfe3d..957bddf 100644 --- a/cms/src/routes/competitive/+page.svelte +++ b/cms/src/routes/competitive/+page.svelte @@ -1,7 +1,9 @@
@@ -9,13 +11,7 @@
-
-
-
- {@html data.content} -
-
-
+
{@html data.content}
-
-
- - - + \ No newline at end of file