All Projects → metafizzy → logo.pizza

metafizzy / logo.pizza

Licence: other
🍕 Logo Pizza site

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Makefile
30231 projects

logo.pizza

Logo Pizza site

Static site, built with Gulp for tasks, Handlebars for templating.

Tasks

  • gulp - build the production site, concatenate CSS and JS, minify JS
  • gulp dev - build the site, but use separate CSS and JS files for debugging

Structure

  • assets/ - files that get copied into build/
  • build/ - where static site gets built
  • css/ - global and base styles that don't fit in modules/
  • data/ - Site and logo data files.
  • img/ - Images (not included in repo)
  • js/ - boilerplate JS
  • modules/ - See below
  • sandbox/ - A place to demo

Images have been kept out of the repo.

Modules

Modules are re-usable components used throughout the site. A module may consist of template, JS, and CSS files.

modules/
  custom-colors/
    custom-colors.css
    custom-colors.js
    custom-colors.mustache
    custom-color.mustache

BEM is used for CSS code style.

.custom-color {} /* block */
.custom-color__preview {} /* element, child */
.custom-color--dark {} /* modifier */

JavaScript can be initialized for each element with data-js attribute.

<div class="custom-colors" data-js="custom-colors">
LogoPizza.modules['custom-colors'] = function( elem ) {
  // do something with elem
};

By Metafizzy

All logo SVG code is owned by Metafizzy or clients who have purchased the logo. All rights reserved.

Remaining code is MIT Licensed

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].