-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesigning overall layout and home page
- Loading branch information
Showing
18 changed files
with
1,630 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ gem 'rake' | |
gem 'ronn' | ||
gem 'kramdown' | ||
gem 'builder' | ||
gem 'bootstrap-sass' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.row | ||
.col-md-12 | ||
%img.img-responsive.bg-dark-blue{src: "/images/header_transparent_bg.png"} | ||
.row | ||
.col-md-12 | ||
.content-padding.large-font | ||
%p | ||
Bundler provides a consistent environment for Ruby projects by tracking | ||
and installing the exact gems and versions that are needed. | ||
%p | ||
Bundler is an exit from dependency hell, and ensures that the gems | ||
you need are present in development, staging, and production. | ||
Starting work on a project is as simple as <code>bundle install</code>. | ||
|
||
%p.text-center | ||
= link_to 'What\'s new in Bundler (to change)', './whats_new.html', class: 'btn btn-primary btn-lg' | ||
|
||
.bg-light-blue | ||
.row | ||
.col-md-12 | ||
%h2#getting-started | ||
%b Getting Started | ||
|
||
.contents | ||
.bullet | ||
.description | ||
%p | ||
Getting started with bundler is easy! Open a terminal window and run this command: | ||
:code | ||
$ gem install bundler | ||
.bullet | ||
.description | ||
%p | ||
Specify your dependencies in a Gemfile in your project's root: | ||
:code | ||
# lang: ruby | ||
source 'https://rubygems.org' | ||
gem 'nokogiri' | ||
gem 'rack', '~>1.1' | ||
gem 'rspec', :require => 'spec' | ||
= link_to 'Learn More: Gemfiles', './gemfile.html', class: 'btn btn-primary btn-lg pull-right' | ||
.clearfix | ||
|
||
.bullet | ||
.description | ||
%p | ||
Install all of the required gems from your specified sources: | ||
:code | ||
$ bundle install | ||
$ git add Gemfile Gemfile.lock | ||
= link_to 'Learn More: bundle install', './bundle_install.html', class: 'btn btn-primary btn-lg pull-right' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%nav.navbar.navbar-default | ||
.container | ||
%b= link_to "Bundler", "/", class: 'navbar-brand' | ||
|
||
%ul.nav.navbar-nav.navbar-right | ||
%li= link_to "Docs", "/#{current_version}" | ||
%li= link_to "Team", "/contributors.html" | ||
%li= link_to "Blog", "/blog" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
- v = current_page.url.scan(/v\d\.\d+/).first || current_version | ||
|
||
~ wrap_layout :base do | ||
#body | ||
= partial 'partials/header' | ||
#container | ||
#contents | ||
~ yield | ||
= partial 'partials/sidebar' if v == current_version | ||
= partial 'partials/footer', locals: { v: v } | ||
.container | ||
~ yield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
!!! 5 | ||
%html(lang="en") | ||
%head | ||
%meta(charset="utf-8") | ||
%meta(http-equiv="X-UA-Compatible" content="IE=edge") | ||
%meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no") | ||
%meta(name="globalsign-domain-verification" content="276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL") | ||
|
||
%title | ||
- page_title = current_page.data.title | ||
= "Bundler: #{ page_title || "The best way to manage a Ruby application's gems"}" | ||
|
||
%link(rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic|Source+Code+Pro") | ||
|
||
= yield_content :head | ||
|
||
= stylesheet_link_tag "old_application" | ||
|
||
= favicon_tag 'images/favicon.png' | ||
|
||
= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" | ||
|
||
%body{class: current_page.data.page_classes || ''} | ||
|
||
~ yield | ||
|
||
= yield_content :tail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- v = current_page.url.scan(/v\d\.\d+/).first || current_version | ||
|
||
~ wrap_layout :old_base do | ||
#body | ||
= partial 'partials/header' | ||
#container | ||
#contents | ||
~ yield | ||
= partial 'partials/sidebar' if v == current_version | ||
= partial 'partials/footer', locals: { v: v } |
Oops, something went wrong.