diff --git a/.vitepress/config.ts b/.vitepress/config.ts index c4063b4..0d2297b 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -14,7 +14,7 @@ export default defineConfig({ plugins: [ Components({ // Auto import components and icons in Vue and Markdown files - dirs: ['../components'], + dirs: ['../components', '.'], include: [/\.vue($|\?)/, /\.md($|\?)/], resolvers: [ IconsResolver({ diff --git a/content/event.md b/content/event.md deleted file mode 100644 index b90663d..0000000 --- a/content/event.md +++ /dev/null @@ -1,154 +0,0 @@ - - -# 活動資訊 - -::: info 日期 - -## {{ start }} – {{ end }} - -
- - Google 日曆 - - - Outlook - - - Yahoo - - - ICS - -
- -::: - -::: info 位置 - -## 國立臺灣科技大學 - -{{ venueAddress }} - - - -
- - 開放街圖 - - - Google 地圖 - - - Apple 地圖 - -
-::: - -## 交通資訊 - - diff --git a/components/LeafletMap.vue b/content/event/LeafletMap.vue similarity index 100% rename from components/LeafletMap.vue rename to content/event/LeafletMap.vue diff --git a/content/event/index.md b/content/event/index.md new file mode 100644 index 0000000..c363c5a --- /dev/null +++ b/content/event/index.md @@ -0,0 +1,5 @@ + + + diff --git a/content/event/index.vue b/content/event/index.vue new file mode 100644 index 0000000..faa2da9 --- /dev/null +++ b/content/event/index.vue @@ -0,0 +1,155 @@ + + + + +