Skip to content

UltrawideSnowboards/ultrawidesnowboards.com

Repository files navigation

Live Site

Please take a look at the live site

Author

Cody Lewis

Notes

To install, you'll need to

sudo apt install ruby ruby-dev ruby-bundler zlib1g-dev
sudo gem install jekyll
cd /path/to/repo
bundle install --path vendor/bundle

To run use

bundle exec jekyll serve --drafts --watch

The site will appear at http://127.0.0.1:4000, and you can develop drafts in the _drafts folder.

This site is based on the Millennial template here. Take a look there for markdown examples.

Setup

Enable git hooks to run:

git config --local core.hooksPath .githooks/

License

Code is open sourced under the MIT license.

Development

Set image to a height of 600px, keep proportional.

mogrify -geometry x600 superpig.jpeg

Resize all board images:

find . -type f -name \*.jpg -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.jpeg -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.png -not -name "logo.*" -exec bash -c 'mogrify -geometry x400 {}' \;
find . -type f -name \*.png -not -name "logo.*" -exec bash -c 'optipng {}' \;

Resize all logos:

find . -type f -name logo.jpg -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.jpeg -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.png -exec bash -c 'mogrify -geometry x200 {}' \;
find . -type f -name logo.png -exec bash -c 'optipng {}' \;
mogrify -quality "40%" -filter Lanczos -interlace Plane -gaussian-blur 0.15 background.jpg

Extra resources

This site has a list of all the different snowboard manufacturers:

http://www.zuzupopo.com/xe/index.php?mid=brand&listStyle=viewer&l=zh-CN&search_target=tag&search_keyword=Snowboards&document_srl=235083

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors