Giter VIP home page Giter VIP logo

name-card's Introduction

Name Card

Screenshot

A generic name card built on Sinatra and styled with Sass with a custom 404 page. Plus, it's responsive and is ready to be deployed to Heroku. See my own site for an example.

Setup

Just download all the necessary gems with Bundler.

bundle install

How to Run the Test Server

Start Sinatra with:

ruby web.rb

And then tell Compass to watch your Sass files to compile them on-the-fly into CSS.

compass watch

The default page will be available at localhost:4567.

How to Customize

There are a number of changes to make.

  • To change the color scheme, look in in sass/_base.scss
  • Change the head in three places: 1) the title tag, 2) the author meta tag, 3) and the description meta tag.
  • Any colors changes should probably match Favicon.ico, which is simply a 16x16 image.
  • Add a picture in place of the default portrait.png. The dimensions should be 128x128.
  • Fill in the page with a few sentences and links of your choosing.
  • Finally, choose social-media icons from Font Awesome. Currently, the CSS supports only three icons. Pick wisely.
  • Finally, wrap everything up in a git commit and deploy to heroku!

Contributing

There is lots of room for improvement here. If you would like to improve on the responsive design and make the setup less brittle, please fork this repo, make your changes, and send me a pull-request. I would be delighted to have the help.

License

Released under the MIT License.

name-card's People

Contributors

enocom avatar

Watchers

James Cloos avatar Stephen Nguyen avatar  avatar

Forkers

ezy023

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.