From 41068fe53e13728a2cab1c72150f07277bb5ec05 Mon Sep 17 00:00:00 2001 From: Savepong Date: Thu, 12 Sep 2024 17:42:53 +0700 Subject: [PATCH 1/2] feat: add Google Analytics script --- .vitepress/config.mts | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index f3f7d1c..c6820e2 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -67,6 +67,23 @@ export default defineConfig({ provider: "local", }, }, + lang: 'th-TH', + lastUpdated: true, + head: [ + ['link', { rel: 'icon', href: '/favicon.webp' }], + [ + 'script', + { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-9C4TR30ETP' } + ], + [ + 'script', + {}, + `window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', 'G-9C4TR30ETP');` + ] + ] }); function sidebarASPNetCore(): DefaultTheme.SidebarItem[] { @@ -546,7 +563,7 @@ function sidebarCareer(): DefaultTheme.SidebarItem[] { { text: "Product Designer", link: "product" }, { text: "UX Designer ", link: "ux" }, { text: "UI Designer", link: "ui" }, - + ], }, { @@ -569,11 +586,11 @@ function sidebarCareer(): DefaultTheme.SidebarItem[] { { text: "Full-stack Developer", link: "fullstack" }, { text: "Mobile Developer", link: "mobile" }, { text: "Game Developer", link: "game" }, - { text: "IoT Developer", link: "iot" }, - { text: "DevOps Engineer", link: "devops" }, - { text: "Platform Engineer", link: "platform" }, - { text: "AI Engineer", link: "aiengineer" }, - { text: "Blockchain Developer", link: "blockchain" }, + { text: "IoT Developer", link: "iot" }, + { text: "DevOps Engineer", link: "devops" }, + { text: "Platform Engineer", link: "platform" }, + { text: "AI Engineer", link: "aiengineer" }, + { text: "Blockchain Developer", link: "blockchain" }, ], }, { @@ -640,7 +657,7 @@ function sidebarCareer(): DefaultTheme.SidebarItem[] { { text: "Sales Engineer", link: "sale" }, { text: "Solution Architect", link: "solution" }, { text: "Technical Consultant", link: "technical" }, - ], + ], } ], }, @@ -748,8 +765,8 @@ function sidebarTechMeetup(): DefaultTheme.SidebarItem[] { base: "/paths/meetup/softskills/", items: [ { text: "จิตวิทยากับการเขียนโปรแกรม", link: "20240521.happyprogrammer" }, - { text: "การปรับตัวในยุค Digital Disruption", link: "20231219.digitallife"}, - { text: "การ Learning Path ของสายงาน Tech", link: "20231212.techreskill"} + { text: "การปรับตัวในยุค Digital Disruption", link: "20231219.digitallife" }, + { text: "การ Learning Path ของสายงาน Tech", link: "20231212.techreskill" } ], }, ], From 7040420747f8ff14f2b4be18153028f9b3a0cd85 Mon Sep 17 00:00:00 2001 From: Savepong Date: Thu, 12 Sep 2024 17:43:39 +0700 Subject: [PATCH 2/2] feat: add favicon image --- favicon.webp | Bin 0 -> 2320 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 favicon.webp diff --git a/favicon.webp b/favicon.webp new file mode 100644 index 0000000000000000000000000000000000000000..17a52f929b8333d45473dc47a91e8c5dec65512a GIT binary patch literal 2320 zcmV+r3Gen&Nk&Ep2><|BMM6+kP&gp`2mk=EG605106s}1jzuD(ArtESs3-)4 zvA1;b6Ytsp{Q%Zr_+dU>ee3dbn!}iUAI?QHd3tz{=zrz@-#zB~fb#(TPXAN=m#jCK z585x-?{`n|AFv+h{R2One^cu>^dj=n{e<{g{i6Ms_My#v?CX*X*)%wNRpQ-C#Dd>=#WnXRr{oGhF`{AVlvQ#B5<&+T8+$oEe2 zny?_oUgB>+yWWOV!yL!}kgCUz#qzP8(W#u0f9cc$CAC87h^gV|6Q?Qojh&N(UO3F4 z*_Ge+mgnVGommXht3*ZPZ|S>wF^)vPY_)fAS@^;kd09B>U-2my4kc2FLt(MjGRTv> z1okw8yCJQ7wYX5U`uP4vtHJDQW&}sY0092~et-ZvKwdCe!l&b@)StM+Y<_KmtSx2) zNxQ+af?<&e@4yy3LpE|{3Nl{sO zGNHyjs1V|JvfovAh0V|r8~&}(#qDf$a#dc69)P~C$1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