GithubHelp home page GithubHelp logo

Resume addition about simplefolio HOT 5 CLOSED

cobiwave avatar cobiwave commented on May 18, 2024
Resume addition

from simplefolio.

Comments (5)

abhi526691 avatar abhi526691 commented on May 18, 2024

@aditya2712 upload your resume into drive and add that link into href tag into resume button thts it....

from simplefolio.

hadi-mirza avatar hadi-mirza commented on May 18, 2024

Apologies if it's redundant but this is my solution from another issue in this repo:

I've only tested this on Chrome.

  1. Add this in gatsby-config inside plugins array with the other resolve objects:
   {
      resolve: 'gatsby-source-filesystem',
      options: {
        name: 'pdf',
        path: '${__dirname}/src/pdf/',
      },
    },
  1. Create directory in src folder called pdf and drop your resume in there: /src/pdf/My-Resume.pdf
  2. In /src/Components/About/About.jsx add to the top of the page: import File from '../../pdf/My-Resume.pdf'
  3. On line 58 of About.jsx, change to :
                  <span className="d-flex mt-3">
                    <a
                      target="_blank"
                      rel="noopener noreferrer"
                      className="cta-btn cta-btn--resume"
                      href={File}
                    >
                      Resume
                    </a>
                  </span>
  1. In data.js, change to resume: "My-Resume.pdf" under aboutData. I'm pretty sure you can put anything here as long as it's not empty so the button shows up, I haven't tested it.

Browser's download option is in the top right when clicked.

from simplefolio.

cobiwave avatar cobiwave commented on May 18, 2024

@aditya2712 can we talk on this thread: #9 ?

@hadi-mirza please send that approach as an issue for the Gatsby Simplefolio repository.

Hence I will close this issue. Let's talk about this on: #9

from simplefolio.

aditya2712 avatar aditya2712 commented on May 18, 2024

Ok sure!! @cobidev

from simplefolio.

hadi-mirza avatar hadi-mirza commented on May 18, 2024

@cobidev I apologize, I will forward this to the Gatsby version from now on!

from simplefolio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.