diff --git a/next.config.mjs b/next.config.mjs index 2300ff4..5770f76 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,3 +1,5 @@ +import pkg from './package.json' with { type: 'json' }; + /** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', @@ -9,6 +11,9 @@ const nextConfig = { ], }, serverExternalPackages: ['pdf-parse'], + env: { + NEXT_PUBLIC_VERSION: pkg.version, + }, }; export default nextConfig; diff --git a/src/components/Settings/SettingsDialogue.tsx b/src/components/Settings/SettingsDialogue.tsx index ba097a9..f42ce9c 100644 --- a/src/components/Settings/SettingsDialogue.tsx +++ b/src/components/Settings/SettingsDialogue.tsx @@ -3,6 +3,7 @@ import { ArrowLeft, BrainCog, ChevronLeft, + ExternalLink, Search, Sliders, ToggleRight, @@ -115,35 +116,52 @@ const SettingsDialogue = ({ ) : (