Giter Club home page Giter Club logo

kevisual's Introduction

Personal portfolio website.

Running locally

There are two options:

  1. Just double click the index.html and the site should load.
  2. If you're in a linux environment and have Python 3 installed, just navigate to the src directory and run python3 -m http.server 1234 to run it on port 1234. It should then be accessible at http://localhost:1234/

Note:

HTML pages lose their .html suffix when deployed, for instance a deployed address might be kevisual.com/3d and not kevisual.com/3d.html. As such, when running locally, links won't work correctly.

Making modifications

This is a fairly straight forward vanilla HTML, CSS and JavaScript however, to make html files reusable, they need to be converted to JavaScript components. I have included shell script file: escapeHTML.sh to streamline this step. The process is as follows:

  • Make sure there is at least one blank line at the bottom of the html file you wish to convert (e.g.header.html)
  • In a linux terminal, navigate to the folder with the file
  • Convert it to JavaScript by running ../escapeHTML.sh <file_name>.html
  • Now the component can be used inside the main HTML file by including the following code: <script src="<file_name>.js"></script>

Converting images to .webp

  • In a Linux terminal install webp with sudo apt install webp
  • Navigate to the media folder
  • Run cwebp -q 90 <file_name>.png -o <file_name>.webp

kevisual's People

Watchers

 avatar  avatar

kevisual's Issues

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.