feat: add curriculum vitae (cv)

This commit is contained in:
Alvalen 2024-02-12 18:51:36 +07:00
parent 3bde717fff
commit 8cc498ad6e
3 changed files with 9 additions and 1 deletions

View file

@ -100,7 +100,7 @@ const MyPage = () => {
type: "spring",
}}>
<Button variation="primary">
Download CV
<Link href={"/docs/cv.pdf"}>Download CV</Link>
</Button>
<Button variation="secondary">
<a href="#contact">Contact Me</a>

View file

@ -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 [
{

BIN
public/docs/cv.pdf Normal file

Binary file not shown.