-
-
-
-
-
-
-
+
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
diff --git a/i18n/i18n.config.ts b/i18n/i18n.config.ts
new file mode 100644
index 0000000..26ca22f
--- /dev/null
+++ b/i18n/i18n.config.ts
@@ -0,0 +1,4 @@
+export default defineI18nConfig(() => ({
+ legacy: false,
+ locale: "en",
+}));
diff --git a/i18n/locales/de.json b/i18n/locales/de.json
index 205fd3d..baafd17 100644
--- a/i18n/locales/de.json
+++ b/i18n/locales/de.json
@@ -1,4 +1,4 @@
{
- "dailybriefing": "",
- "Welcome": ""
-}
\ No newline at end of file
+ "dailybriefing": "",
+ "Welcome": ""
+}
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 7969a9a..17981df 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -1,11 +1,12 @@
{
- "core": {
- "sitename": "BlindSpec"
- },
- "nav": {
- "home": "Home"
- },
- "dailybriefing": "Daily Briefing",
- "Welcome": "Welcome",
- "loading": "Loading..."
-}
\ No newline at end of file
+ "core": {
+ "sitename": "BlindSpec"
+ },
+ "nav": {
+ "home": "Home",
+ "dailybriefing": "Daily Briefing"
+ },
+ "dailybriefing": "Daily Briefing",
+ "Welcome": "Welcome",
+ "loading": "Loading..."
+}
diff --git a/i18n/locales/i18n.config.ts b/i18n/locales/i18n.config.ts
deleted file mode 100644
index 7d8fbf9..0000000
--- a/i18n/locales/i18n.config.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export default defineI18nConfig(() => ({
- legacy: false,
- locale: 'en',
- }))
\ No newline at end of file
diff --git a/i18n/locales/zh-tw.json b/i18n/locales/zh-tw.json
index 9b49287..c0aaf52 100644
--- a/i18n/locales/zh-tw.json
+++ b/i18n/locales/zh-tw.json
@@ -1,11 +1,12 @@
{
- "core": {
- "sitename": "新聞盲點平台"
- },
- "nav": {
- "home": "首頁"
- },
- "dailybriefing": "今日報導",
- "Welcome": "歡迎",
- "loading": "載入中..."
-}
\ No newline at end of file
+ "core": {
+ "sitename": "新聞盲點平台"
+ },
+ "nav": {
+ "home": "首頁",
+ "dailybriefing": "今日報導"
+ },
+ "dailybriefing": "今日報導",
+ "Welcome": "歡迎",
+ "loading": "載入中..."
+}
diff --git a/layouts/default.vue b/layouts/default.vue
index 0d2fa0e..3be07b1 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -1,15 +1,15 @@
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
diff --git a/layouts/newsorg.vue b/layouts/newsorg.vue
index 0d2fa0e..3be07b1 100644
--- a/layouts/newsorg.vue
+++ b/layouts/newsorg.vue
@@ -1,15 +1,15 @@
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 7facdd4..5d2e862 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -1,19 +1,25 @@
export default defineNuxtConfig({
- compatibilityDate: '2025-05-06',
+ compatibilityDate: "2025-05-06",
devtools: { enabled: true },
routeRules: {
- "/": { redirect: "/home"},
- "/zh_tw": { redirect: "/zh_tw/home"},
- } ,
- css: ['~/styles/main.css'],
- modules: ['@nuxt/image', '@nuxtjs/robots', '@nuxtjs/seo', '@nuxtjs/i18n', "@nuxtjs/tailwindcss"],
+ "/": { redirect: "/home" },
+ "/zh_tw": { redirect: "/zh_tw/home" },
+ },
+ css: ["~/styles/main.css"],
+ modules: [
+ "@nuxt/image",
+ "@nuxtjs/robots",
+ "@nuxtjs/seo",
+ "@nuxtjs/i18n",
+ "@nuxtjs/tailwindcss",
+ ],
i18n: {
- defaultLocale: 'en',
- vueI18n: './i18n.config.ts',
+ defaultLocale: "en",
+ vueI18n: "./i18n.config.ts",
locales: [
- { code: 'en', name: 'English', file: 'en.json' },
- { code: 'zh_tw', name: 'Chinese Tradional', file: 'zh-tw.json' },
- ]
+ { code: "en", name: "English", file: "en.json" },
+ { code: "zh_tw", name: "Chinese Tradional", file: "zh-tw.json" },
+ ],
},
site: {
url: "https://news.yuanhau.com",
@@ -22,20 +28,23 @@ export default defineNuxtConfig({
},
app: {
head: {
- title: "",
+ title: "",
meta: [
{ "http-equiv": "X-UA-Compatible", content: "IE=edge" },
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "og:author", content: "@hpware on GitHub" },
- { name: "og:author:email", content: "public+newscompareauthor@yuanhau.com" },
- ]
- }
+ {
+ name: "og:author:email",
+ content: "public+newscompareauthor@yuanhau.com",
+ },
+ ],
+ },
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
- },// Add your content paths here
+ }, // Add your content paths here
},
-})
\ No newline at end of file
+});
diff --git a/package.json b/package.json
index f293603..adb7986 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"@nuxtjs/tailwindcss": "6.14.0",
"@tailwindcss/vite": "^4.1.5",
"@uploadthing/nuxt": "^7.1.7",
+ "animate.css": "^4.1.1",
"bootstrap-icons": "^1.12.1",
"gsap": "^3.13.0",
"nuxt": "^3.17.2",
@@ -33,4 +34,4 @@
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3"
}
-}
\ No newline at end of file
+}
diff --git a/pages/home.vue b/pages/home.vue
index 8676ac0..cf68daa 100644
--- a/pages/home.vue
+++ b/pages/home.vue
@@ -1,7 +1,5 @@
-
-
- 嗨!
-
-
-
\ No newline at end of file
+
+
嗨!
+
+
diff --git a/pages/newsOrgAbout/[slug].vue b/pages/newsOrgAbout/[slug].vue
index dff4cf9..b7fe7a6 100644
--- a/pages/newsOrgAbout/[slug].vue
+++ b/pages/newsOrgAbout/[slug].vue
@@ -1,17 +1,21 @@