feat: add curriculum vitae (cv)
This commit is contained in:
parent
3bde717fff
commit
8cc498ad6e
3 changed files with 9 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ const MyPage = () => {
|
||||||
type: "spring",
|
type: "spring",
|
||||||
}}>
|
}}>
|
||||||
<Button variation="primary">
|
<Button variation="primary">
|
||||||
Download CV
|
<Link href={"/docs/cv.pdf"}>Download CV</Link>
|
||||||
</Button>
|
</Button>
|
||||||
<Button variation="secondary">
|
<Button variation="secondary">
|
||||||
<a href="#contact">Contact Me</a>
|
<a href="#contact">Contact Me</a>
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,14 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
||||||
});
|
});
|
||||||
module.exports = withBundleAnalyzer({
|
module.exports = withBundleAnalyzer({
|
||||||
// your Next.js configuration
|
// your Next.js configuration
|
||||||
|
webpack: (config, options) => {
|
||||||
|
config.module.rules.push({
|
||||||
|
test: /\.pdf$/i,
|
||||||
|
type: "asset/source",
|
||||||
|
});
|
||||||
|
|
||||||
|
return config;
|
||||||
|
},
|
||||||
async headers() {
|
async headers() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
BIN
public/docs/cv.pdf
Normal file
BIN
public/docs/cv.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue