Skip to content

A static html generator used to generate static landing pages for Nanobox bootstraps.

License

Notifications You must be signed in to change notification settings

mu-box/microbox-bootstrap-landing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microbox Bootstrap Landing Page Generator

This project is used to generate static HTML pages and accompanying assets for Microbox quickstarts/bootstraps. It's built using Middleman and is designed to run using Microbox. If you haven't already, create a free Microbox account and download and install Microbox.

Start the Project

From the root of the the project, run:

# add a convenient way to access the app in a browser
microbox dns add local bootstrap-landing.dev

# start Microbox and drop into a console
microbox run

# start the middleman server
middleman

Generating the Static Files

To generate all the static files, from inside the Microbox console, run:

middlman build

All static files will be generated in the build directory. When including them in the actual projects, be sure to update the stylesheet and favicon paths in the <head>.

Adding New Projects

Projects are organized by language. Each project needs the following files:

_logo.erb

This is simply an svg file renamed with the .erb so Middleman can load it into the template as a partial.

favicon.png

Simply favicon using the project icon. It should be 32px × 32px.

index.html.haml

While this is used to generate the actual page, it only contains yaml front-matter and basically serves as a variable declaration file. Each index.html.x must include the following:

---
project: Project Name
language: Runtime Language
more_info:
  links:
    - text: Link Text
      href: Link href
---

styles.scss

This to is used to generate the css for each landing page, but really only serves as a variable declaration file. It must contain the following:

@import "../../stylesheets/base";

// Colors
$bg-left: #333;     // Background Grandient Left
$bg-right: #000;    // Background Grandient Right
$burst: #fff;       // Burst Line Color
$shadow: #000;      // Icon Shadow Color
$heading: #fff;     // H2 $ H4 Color
$text: #999;        // Text Color
$link: #999;        // Link Color
$link-hover: #fff;  // Link Hover Color

@import "../../stylesheets/project-template"

About

A static html generator used to generate static landing pages for Nanobox bootstraps.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.7%
  • Haml 15.8%
  • SCSS 12.6%
  • Ruby 1.9%