Skip to content

arinspunk/cv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

:bowtie: A simple personal site

Hi, this is the code of my personal site. Really It's quite simple and it was made with HTML, CSS (SCSS) and some JavaScript, but inside it there are some features that maybe could interest you:

So if you want to see the code, try it or reuse for another project, feel free to do it 😉

🚜 How to run this

Well, this is quite old school 😬

  1. Fork this repository clicking on the Fork button on the top right of this page.

  2. Clone your forked repository to download it in your local machine.

    git clone https://github.com/[YOUR-USERNAME]/cv.git
  3. Open the index.html in your favourite browser.

Easy, isn't it?

🧙 How to compile the CSS

There are many ways to compile CSS but for this project I tested node-sass, a package of node.js that do it really well.

If you want to test it, follow this instructions:

  1. Install Node in your computer.

  2. Go to the project and initialize npm:

    cd the/path/of/project/
    npm init

    You will be prompted to answer several questions about the project, after which npm will generate a package.json file in your folder.

  3. Install node-sass:

    npm install node-sass --save-dev

    By using --dev we are specifying in the package.json the node-sass like devDependencies because in this case it only needed for local development and testing.

  4. Open the package.json and add the node-sass command in the scripts section, under the test command:

    "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1",
        "compile": "node-sass --watch scss -o css --output-style compressed"
    }
    • node-sass: Refers to the node-sass package.
    • --watch: Flag which means “watch all .scss files in the scss/ folder and recompile them every time there’s a change.”
    • scss: The folder where we put all our .scss files.
    • -o css: The output folder for our compiled CSS.
    • --output-style compressed: Flag that indicates how the css should compile.
  5. Now, the magic: Run the Script!

    npm run compile

©️ Licenses

This project is under GNU GPLv3 license

Sawton, the beautiful font from Atipo Foundry, is under its own license. If you want to use it, you need to buy it.

About

CV de Xúlio Zé

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published