Skip to content

Commit

Permalink
Add resume link to .env.local.example and update resume file location
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Kwan committed Dec 19, 2023
1 parent fe77cff commit 40471b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id
NEXT_PUBLIC_EMAILJS_PUBLIC_KEY=your_public_key
NEXT_PUBLIC_CONTACT_EMAIL=your_email
NEXT_PUBLIC_ADOBE_CLIENT_ID=your_adobe_client_id
NEXT_PUBLIC_RESUME_LINK=your_resume_link
4 changes: 3 additions & 1 deletion pages/resume.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export default function Resume() {
adobeDCView.previewFile(
{
content: {
location: { url: '/documents/Kevin_Kwan_Resume_2024.pdf' },
location: {
url: process.env.NEXT_PUBLIC_RESUME_LINK,
},
},
metaData: { fileName: 'Kevin_Kwan_Resume_2024.pdf' },
},
Expand Down

0 comments on commit 40471b1

Please sign in to comment.