diff --git a/.env b/.env
index 6be99cd..58d9706 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,3 @@
-COSCUP_AGENDA_YEAR=2023
-COSCUP_AGENDA_DATE_D1=20230729
-COSCUP_AGENDA_DATE_D2=20230730
+COSCUP_AGENDA_YEAR=2024
+COSCUP_AGENDA_DATE_D1=20240803
+COSCUP_AGENDA_DATE_D2=20240804
diff --git a/README.md b/README.md
index 5a6cd0a..8874305 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[COSCUP ~~2020~~ 2023 行動議程表](https://qbane.github.io/COSCUP_Agenda/)
+[COSCUP ~~2020~~ 2024 行動議程表](https://qbane.github.io/COSCUP_Agenda/)
=================
參加 COSCUP 許多年,老是在找下一場該去聽什麼?
diff --git a/index.html b/index.html
index 2307832..ac39bdc 100644
--- a/index.html
+++ b/index.html
@@ -38,7 +38,7 @@
COSCUP %COSCUP_AGENDA_YEAR% ▸ 下一場聽什麼?
|
清理離線資料 🗑
@@ -51,13 +51,15 @@ COSCUP %COSCUP_AGENDA_YEAR% ▸ 下一場聽什麼?
hcl.add(theme);
}
- if (!('theme' in localStorage)) {
- localStorage.theme = window.matchMedia('(prefers-color-scheme: dark)').matches
+ let theme;
+ if ('theme' in localStorage) {
+ theme = localStorage.theme;
+ } else {
+ theme = window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light';
}
-
- __set_theme__(localStorage.theme);
+ __set_theme__(theme);
} catch (e) {
console.error(e);
}
diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest
index 300008c..9ad595d 100644
--- a/public/manifest.webmanifest
+++ b/public/manifest.webmanifest
@@ -1,6 +1,6 @@
{
- "name": "COSCUP 2023 下一場聽什麼?",
- "short_name": "COSCUP 2023",
+ "name": "COSCUP 2024 下一場聽什麼?",
+ "short_name": "COSCUP 2024",
"display": "standalone",
"start_url": ".",
"theme_color": "#ffffff",
diff --git a/src/components/Agenda.vue b/src/components/Agenda.vue
index ab1c62d..e745134 100644
--- a/src/components/Agenda.vue
+++ b/src/components/Agenda.vue
@@ -14,6 +14,12 @@
跳
更
{{ currentThemeText }}
+
@@ -33,9 +39,8 @@
試試看在議程上往左滑動來標註!
-