Git Product home page Git Product logo

Comments (6)

frankoadeleye avatar frankoadeleye commented on May 15, 2024 1

After several hours of fruastration (lol), I got it to work, by removing the quotes from the url(), i.e. changing url("") to url().
Thanks everyone, might be helpful to someone

from simplefolio.

frankoadeleye avatar frankoadeleye commented on May 15, 2024 1

Also if you're having problem getting your resume to showup when you click the view resume button, this worked for me:
In your template.html: target the resume with the href attribute:

<a target="_blank" class="cta-btn cta-btn--resume" href="./assets/name_of_pdf_file.pdf">
                  View Resume
</a>

then in your index.js:
(1.) import the resume

import MyResume from './assets/FranksResume2020.pdf';

(2.)Then modify the addResume function like this, using whatever name of your resume as parameter(in my case, I named it MyResume as you can see):

function addResume(MyResume){
  const elements = document.getElementsByClassName('.cta-btn--resume');
  for(let el of elements){
    el.href = url(MyResume);
  }
}

also remember to call addResume function at the bottom... or I think it should already be there... well check to see:

...

addResume();     
initSr();
initTilt();

from simplefolio.

sotomaque avatar sotomaque commented on May 15, 2024

hey did you manage to change the background to an image?

from simplefolio.

sotomaque avatar sotomaque commented on May 15, 2024

if so can you post the css / scss

from simplefolio.

frankoadeleye avatar frankoadeleye commented on May 15, 2024

In your _hero.scss, under hero id: (don't include quotes in your url( ) )

background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.7)),  url(../assets/background.jpg) center no-repeat;
  background-attachment: fixed;
  background-size: cover;

from simplefolio.

maryjane08 avatar maryjane08 commented on May 15, 2024

After several hours of fruastration (lol), I got it to work, by removing the quotes from the url(), i.e. changing url("") to url().
Thanks everyone, might be helpful to someone

yes thanks

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.