diff --git a/app/(root)/page.jsx b/app/(root)/page.jsx index 6a463c8..ab4628b 100644 --- a/app/(root)/page.jsx +++ b/app/(root)/page.jsx @@ -100,7 +100,7 @@ const MyPage = () => { type: "spring", }}> - Download CV + Download CV Contact Me diff --git a/next.config.js b/next.config.js index 8d000bd..d30af7d 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,14 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({ }); module.exports = withBundleAnalyzer({ // your Next.js configuration + webpack: (config, options) => { + config.module.rules.push({ + test: /\.pdf$/i, + type: "asset/source", + }); + + return config; + }, async headers() { return [ { diff --git a/public/docs/cv.pdf b/public/docs/cv.pdf new file mode 100644 index 0000000..446da2f Binary files /dev/null and b/public/docs/cv.pdf differ