Skip to content

Commit

Permalink
Merge pull request #363 from IgorKowalczyk/version-mismatch
Browse files Browse the repository at this point in the history
Fix version mismatch
  • Loading branch information
IgorKowalczyk authored Mar 26, 2023
2 parents 640a285 + 2b79439 commit 00002ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/elements/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Footer() {
<Link href="/" legacyBehavior>
<p className="flex cursor-pointer items-center font-inter text-2xl font-semibold">
Igor Kowalczyk
<span className="bg-gradient-to-r from-[#6310ff] to-[#1491ff] box-decoration-clone bg-clip-text text-fill-transparent dark:from-[#a2facf] dark:to-[#64acff]">.</span> <span className="mx-1 mr-2 rounded-lg bg-black/[7%] px-2 py-1 text-xs dark:bg-white/10">v{process.env.npm_package_version}</span>
<span className="bg-gradient-to-r from-[#6310ff] to-[#1491ff] box-decoration-clone bg-clip-text text-fill-transparent dark:from-[#a2facf] dark:to-[#64acff]">.</span> <span className="mx-1 mr-2 rounded-lg bg-black/[7%] px-2 py-1 text-xs dark:bg-white/10">v{process.env.VERSION}</span>
</p>
</Link>
</div>
Expand Down
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const nextConfig = {
experimental: {
appDir: true,
},
env: {
VERSION: process.env.npm_package_version,
},
async headers() {
return [
{
Expand Down

0 comments on commit 00002ec

Please sign in to comment.