soumyajit4419 / Portfolio

My self coded personal website build with React.js
https://soumyajit.vercel.app/
4.37k stars 2.33k forks source link

Failed to load pdf file #62

Open priyacshah opened 2 years ago

priyacshah commented 2 years ago

Hi,

After cloning and updating the code for the resume, I am getting the "Failed to load pdf file" in the resume section. Can you please help me to resolve this?

Screen Shot 2022-06-28 at 12 33 19 PM

Thanks, Priya Shah

somanyadav commented 2 years ago

I was also facing the same issue. Try following these steps:

1) Upload your resume in a GitHub repository. The URL will look like this. eg: https://github.com/soumyajit4419/Portfolio/blob/master/src/Assets/Soumyajit_Behera-BIT_MESRA.pdf

2) Now change github.com to raw.githubusercontent.com and remove blob/ from the URL

3) Now you can paste the newly changed URL into ResumeNew.js file. eg: const resumeLink = "https://raw.githubusercontent.com/soumyajit4419/Portfolio/master/src/Assets/Soumyajit_Behera-BIT_MESRA.pdf";

It worked for me. Hope it will work for you too :)

-Soman

Jeet48 commented 2 years ago

Can anyone please tell me how to increase the loading time in the portfolio site?

-Jeet

mmansoornano commented 2 years ago

How to increase the size of the Resume or make it scrollable in a readable size.

Kannxnravi commented 1 year ago

Run .py program

  1. Create a repo public for your resume
  2. In your repo Settings->Pages change it to Main Branch and save it Note: It takes 1 Minute to takes action
  3. After that copy the resume link address
  4. Run the below command in any Python online compiler or your IDE

Command

//Your link goes here

link = "https://github.com/knightlab-analyses/qurro-mackerel-analysis/blob/master/AnalysisOutput/qurro-plot.qzv"

//Paste the link of your resume copy link address above

print(link.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/"))

//Then run it and copy the output.paste it in ResumeNew.js //example output link:

https://raw.githubusercontent.com/knightlab-analyses/qurro-mackerel-analysis/master/AnalysisOutput/qurro-plot.qzv

Any Doubts regarding this feel free to contact me!

speedywarp commented 1 month ago

is the issue resolved?

Kannxnravi commented 1 month ago

Yes, please follow the steps posted previously @speedywarp