GithubHelp home page GithubHelp logo

isabella232 / mycrypto-static-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mycryptohq/mycrypto-static-template

0.0 0.0 0.0 633 KB

Template for static subdomain sites

JavaScript 26.70% HTML 30.11% CSS 43.19%

mycrypto-static-template's Introduction

MyCrypto Static Template

Copyable repo for spinning up a new static page subdomain. Unlike our more code heavy repos, this template aims to be very simple and easily edited by everyone on the team. The goal is also to keep these pages as light as possible, so there are no libraries included by default. There are, however, some preprocessors at work:

  • HTML is compiled with EJS to allow for variables and reusable components
  • JS is compiled with Babel to allow for file bundling and language features
  • CSS is compiled with SCSS to allow for variables, mixins, and file bundling

Gulp is used for compilation because this template is not meant for JS-first websites, so Webpack / Rollup didn't seem like the right tool for the job.

Running the Project

First install dependencies

npm install

Run in development and watch for file changes

npm start

Build for production

npm run build

Running either of those will generate a folder in dist/, which you can run by opening dist/index.html in your browser.

Project Layout

├── gulpfile.js  # Gulp configuration
├── src          # Source files
│   ├── data.js  # Provides variables for ejs templates
│   ├── assets   # Static assets (images, fonts etc.)
│   ├── ejs      # EJS templates, compiles to HTML
│   ├── js       # JS scripts, uses babel for compilation
│   └── scss     # SCSS files, starting at index.scss
└── dist         # Template generated from source files

mycrypto-static-template's People

Contributors

wbobeirne avatar

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.