diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index f1679def..dbec03bc 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -9,6 +9,7 @@ import config from "@/config"; const { title } = config; const { description } = config; const { author } = config; +const { keywords } = config; import "./globals.css"; @@ -18,7 +19,7 @@ export const metadata: Metadata = { title: title, description: description, authors: [{ name: author }], - keywords: ["Hugo ChunHo Lin", "1chooo", "Software Engineering", "Next.js", "React"], + keywords: keywords, openGraph: { url: "https://1chooo.com/", type: "website", diff --git a/apps/web/src/config/index.ts b/apps/web/src/config/index.ts index d89acb49..0625375a 100644 --- a/apps/web/src/config/index.ts +++ b/apps/web/src/config/index.ts @@ -11,6 +11,7 @@ const config: Config = { title: "Chun-Ho (Hugo) Lin - 1chooo | Open Source Enthusiast", description: "I'm Chun-Ho (Hugo) Lin, a graduate with a Bachelor's degree from National Central University (NCU) 🐿️, driven by a sincere passion for Software Engineering 💻.", author: "Chun-Ho (Hugo) Lin - 1chooo", + keywords: ["Hugo ChunHo Lin", "1chooo", "Software Engineering", "Next.js", "React"], status: "Day ONE ⚡️", navItems: [ { path: '/', label: 'About' }, diff --git a/apps/web/src/types/config.d.ts b/apps/web/src/types/config.d.ts index c1a93b5b..9edea45e 100644 --- a/apps/web/src/types/config.d.ts +++ b/apps/web/src/types/config.d.ts @@ -16,6 +16,7 @@ export type Config = { title: string; description: string; author: string; + keywords: string[]; status: string; navItems: NavItem[]; socialMedia: SocialMedia;