Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camp 2024 #2

Merged
merged 3 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" data-theme="synthwave">
<head>
<meta charset="utf-8" />
<link rel="icon" href="https://camp-storage.csie.cool/camp-icon.jpg" />
<link rel="icon" href="../favicon.png" />
<meta name="viewport" content="width=device-width" />
<script type="text/javascript">
(function (c, l, a, r, i, t, y) {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/admin/scoreboard/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { hash } from "$lib/hash";
import type { PageData } from "./$types";
let camp_admit_number: number = 80;
let camp_candidate_number: number = 160;
let camp_candidate_number: number = 1000;
export let data: PageData;
async function order(tp: string) {
data.applications.sort((a, b) => {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/auth/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<title>授權進行中 | 師大資工營</title>
<meta
name="description"
content="快來報名 2023 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
content="快來報名 2024 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
/>
</svelte:head>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/dash/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<title>報名儀表板 | 師大資工營</title>
<meta
name="description"
content="快來報名 2023 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
content="快來報名 2024 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
/>
</svelte:head>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/dash/profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
<title>填寫個人資料 | 師大資工營</title>
<meta
name="description"
content="快來報名 2023 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
content="快來報名 2024 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
/>
</svelte:head>

Expand Down
64 changes: 32 additions & 32 deletions src/routes/dash/quiz/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,58 +7,58 @@
let questions: Record<string, Field> = {
q1: {
display: "營隊舉辦的日期是哪時候呢?",
markdown: "(請參閱[報名資訊](https://camp.csie.cool/info))",
markdown: "(請參閱[報名資訊](https://camp.csie.cool/#info))",
value: "",
validate: () => true,
options: ["7/3 ~ 7/6", "7/3 ~ 7/7", "7/4 ~ 7/7"],
options: ["7/1 ~ 7/5", "7/3 ~ 7/7", "7/2~ 7/5"],
},
q2: {
display: "報名費用原價為多少新台幣呢?",
markdown: "(請參閱[報名資訊](https://camp.csie.cool/info))",
display: "報名費用原價為多少新臺幣呢?",
markdown: "(請參閱[報名資訊](https://camp.csie.cool/#info))",
value: "",
validate: () => true,
options: ["7900", "8900", "9900", "18900"],
options: ["8600", "9500", "9527", "免費"],
},
q3: {
display: "下列哪項「不是」你在營隊會學到的東西?",
markdown: "(請參閱[營隊介紹](https://camp.csie.cool/about))",
markdown: "(請參閱[營隊介紹](https://camp.csie.cool/#about))",
value: "",
validate: () => true,
options: ["製作網頁", "資訊安全與密碼學", "製作 Discord Bot", "製作虛擬實境遊戲"],
options: ["Python", "Pygame", "Papaya"],
},
// q4: {
// display: "營隊的住宿地點(旅居文旅-台北松山機場館)每房「沒有」什麼設施呢?",
// markdown: "(請參閱[報名資訊](https://camp.csie.cool/#info))",
// value: "",
// validate: () => true,
// options: [
// "高速網路連線",
// "乾溼分離式衛浴 / 浴缸式衛浴",
// "Panasonic 免治馬桶",
// "快煮壺",
// "吸收式無聲冰箱",
// "電子式保險箱",
// "液晶電視",
// "戶外游泳池",
// ],
// },
q4: {
display: "營隊的住宿地點(旅居文旅-台北松山機場館)每房「沒有」什麼設施呢?",
markdown: "(請參閱[報名資訊](https://camp.csie.cool/info))",
value: "",
validate: () => true,
options: [
"高速網路連線",
"乾溼分離式衛浴 / 浴缸式衛浴",
"Panasonic 免治馬桶",
"快煮壺",
"吸收式無聲冰箱",
"電子式保險箱",
"液晶電視",
"戶外游泳池",
],
},
q5: {
display: "請問以下程式碼中 d 的值為何?",
markdown:
"(參考 [let](https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Reference/Statements/let)、[jsconsole](https://jsconsole.com/)、[JavaScript 初探](https://developer.mozilla.org/zh-TW/docs/Learn/JavaScript/First_steps))",
image: "https://i.imgur.com/TJv69iQ.png",
"```python= \na = 0 \nb = a + 10 \nc = b + 30 \na = a + 4 \nd = a + b * c \n``` \n \
(參考 [The Python Tutorial](https://docs.python.org/zh-tw/3/tutorial/introduction.html#using-python-as-a-calculator))",
value: "",
validate: () => true,
options: ["0", "10", "20", "30", "40", "50"],
options: ["400", "404", "420", "560", "等式不成立"],
},
};

const ans: Record<string, string> = {
q1: "7/3 ~ 7/7",
q2: "8900",
q3: "製作虛擬實境遊戲",
q4: "戶外游泳池",
q5: "40",
q1: "7/1 ~ 7/5",
q2: "9500",
q3: "Papaya",
// q4: "戶外游泳池",
q4: "404",
};

async function check() {
Expand Down Expand Up @@ -95,7 +95,7 @@
<title>報名測驗 | 師大資工營</title>
<meta
name="description"
content="快來報名 2023 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
content="快來報名 2024 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
/>
</svelte:head>

Expand Down
2 changes: 1 addition & 1 deletion src/routes/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<title>報名登入 | 師大資工營</title>
<meta
name="description"
content="快來報名 2023 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
content="快來報名 2024 師大資工營吧!有趣的課程、有趣的人、有趣的營隊!"
/>
</svelte:head>

Expand Down
2 changes: 1 addition & 1 deletion static/email-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
>
<a
href="https://www.instagram.com/ntnucsiecamp2023"
href="https://www.instagram.com/ntnucsiecamp2024"
target="_blank"
rel="noreferrer"
class="hover-text-decoration-underline"
Expand Down
Binary file modified static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading