bookends 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a2be50bc173de22f63c0da4738e922a37d988d2
|
4
|
+
data.tar.gz: a0b642ead1f8b990fbfed454f1274f19668dae03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7bc42156aac4e0ef61f1d85f6e50bcd560257dc4a7cbd4636309fed5513adca01c9e35c45b76900442836246d4c9c4b8681a9a2882e1a322dac156980a56382
|
7
|
+
data.tar.gz: c0235bf26327ae343d31cddf82925417d16687328ab65ad3c6b40dd33d31623f50c2c6456c49d2e971d83b477d4076568b7df134ae8ab293872685a4616db878
|
@@ -12,6 +12,7 @@ module Bookends
|
|
12
12
|
def install
|
13
13
|
copy :file, name: 'footer.scss', dest: '_sass/bookends', name_in_dest: '_footer.scss'
|
14
14
|
copy :file, name: 'footer.html', dest: '_includes/bookends'
|
15
|
+
copy :file, name: 'jekyll_header.html', dest: '_includes/bookends', name_in_dest: 'header.html'
|
15
16
|
copy :file, name: 'newsletter.js', dest: 'assets/js/bookends/'
|
16
17
|
copy :directory, name: 'footer_images', dest: 'assets/images/', name_in_dest: 'bookends/footer'
|
17
18
|
append_to_file '../js/bookends/newsletter.js', "$(function() { return window.Heroku.newsletterSignup = new Heroku.NewsletterSignup(); });"
|
@@ -12,6 +12,7 @@ module Bookends
|
|
12
12
|
def install(config)
|
13
13
|
copy :file, name: 'footer.scss', dest: 'app/assets/stylesheets/bookends', name_in_dest: '_footer.scss'
|
14
14
|
copy :file, name: 'footer.html', dest: 'app/views/bookends', name_in_dest: '_footer.html'
|
15
|
+
copy :file, name: 'rails_header.html.erb', dest: 'app/views/bookends', name_in_dest: '_header.html.erb'
|
15
16
|
copy :file, name: 'newsletter.js', dest: 'vendor/assets/javascripts/bookends'
|
16
17
|
copy :directory, name: 'footer_images', dest: 'app/assets/images/', name_in_dest: 'bookends/footer'
|
17
18
|
handle_templates_for_config(config)
|
@@ -0,0 +1,93 @@
|
|
1
|
+
<header id="header">
|
2
|
+
<div id="navigation" role="navigation">
|
3
|
+
<span class="mobile-nav">
|
4
|
+
Show nav
|
5
|
+
<span></span>
|
6
|
+
<span></span>
|
7
|
+
<span></span>
|
8
|
+
<span></span>
|
9
|
+
</span>
|
10
|
+
|
11
|
+
<div class="wrapper wrapper-full">
|
12
|
+
<h1 id="logo">
|
13
|
+
<a href="https://www.heroku.com/home">Heroku</a>
|
14
|
+
</h1>
|
15
|
+
|
16
|
+
<div class="nav-wrapper">
|
17
|
+
|
18
|
+
<ul class="main-nav">
|
19
|
+
<li class="has-dropdown">
|
20
|
+
<a href="https://www.heroku.com/platform">Products</a>
|
21
|
+
<ul class="dropdown">
|
22
|
+
<li><a href="https://www.heroku.com/platform" class="platform">Heroku Platform</a></li>
|
23
|
+
<li><a href="https://www.heroku.com/postgres" class="postgres">Heroku Postgres</a></li>
|
24
|
+
<li><a href="https://www.heroku.com/redis" class="redis">Heroku Redis</a></li>
|
25
|
+
<li><a href="https://www.heroku.com/connect" class="connect">Heroku Connect</a></li>
|
26
|
+
<li><a href="https://www.heroku.com/enterprise" class="enterprise">Heroku Enterprise</a></li>
|
27
|
+
</ul>
|
28
|
+
</li>
|
29
|
+
<li class="has-dropdown">
|
30
|
+
<a href="https://elements.heroku.com/">Elements</a>
|
31
|
+
<ul class="dropdown">
|
32
|
+
<li><a href="https://elements.heroku.com/addons" class="addons">Add-ons</a></li>
|
33
|
+
<li><a href="https://elements.heroku.com/buttons" class="buttons">Buttons</a></li>
|
34
|
+
<li><a href="https://elements.heroku.com/buildpacks" class="buildpacks">Buildpacks</a></li>
|
35
|
+
</ul>
|
36
|
+
</li>
|
37
|
+
<li><a href="https://www.heroku.com/pricing">Pricing</a></li>
|
38
|
+
<li><a href="https://devcenter.heroku.com">Documentation</a></li>
|
39
|
+
<li><a href="https://www.heroku.com/support">Support</a></li>
|
40
|
+
|
41
|
+
<li class="has-dropdown">
|
42
|
+
<a href="#" class="more">More</a>
|
43
|
+
<div class="dropdown more">
|
44
|
+
<section class="more-resources">
|
45
|
+
<span class="more-title">Additional Resources</span>
|
46
|
+
<ul>
|
47
|
+
<li><a href="https://www.heroku.com/what">What is Heroku?</a></li>
|
48
|
+
<li><a href="https://www.heroku.com/help">Help Center</a></li>
|
49
|
+
<li><a href="https://www.heroku.com/customers">Customers</a></li>
|
50
|
+
<li><a href="https://www.heroku.com/careers">Careers</a></li>
|
51
|
+
</ul>
|
52
|
+
</section>
|
53
|
+
<section class="more-languages">
|
54
|
+
<span class="more-title">Languages</span>
|
55
|
+
<ul>
|
56
|
+
<li><a href="https://www.heroku.com/node">Node</a></li>
|
57
|
+
<li><a href="https://www.heroku.com/ruby">Ruby</a></li>
|
58
|
+
<li><a href="https://www.heroku.com/java">Java</a></li>
|
59
|
+
<li><a href="https://www.heroku.com/php">PHP</a></li>
|
60
|
+
<li><a href="https://www.heroku.com/python">Python</a></li>
|
61
|
+
<li><a href="https://www.heroku.com/go">Go</a></li>
|
62
|
+
<li><a href="https://www.heroku.com/scala">Scala</a></li>
|
63
|
+
<li><a href="https://www.heroku.com/clojure">Clojure</a></li>
|
64
|
+
</ul>
|
65
|
+
</section>
|
66
|
+
<section id="more-blog" class="more-blog">
|
67
|
+
<span class="more-title">Heroku Blog</span>
|
68
|
+
<h3><a class="js-blog-link" href="https://blog.heroku.com">Heroku Blog</a></h3>
|
69
|
+
<p class="js-blog-date"></p>
|
70
|
+
<p class="js-blog-content">Find out what's new with Heroku on our blog.</p>
|
71
|
+
<a href="https://blog.heroku.com" class="button btn-default btn-sm btn-inline">Visit Blog</a>
|
72
|
+
</section>
|
73
|
+
</div>
|
74
|
+
</li>
|
75
|
+
</ul>
|
76
|
+
|
77
|
+
<ul class="tool-nav">
|
78
|
+
<li>
|
79
|
+
<form action="https://blog.heroku.com/search" class="site-search" id="site-search" method="get">
|
80
|
+
<div class="gsc-input">
|
81
|
+
<input name="utf8" type="hidden" value="✓">
|
82
|
+
<input autocomplete="off" type="text" name="q" title="search" class="gsc-input" style="width: 100%; padding: 0px; border: none; margin: -0.0625em 0px 0px; height: 1.25em; outline: none;" dir="ltr" spellcheck="false">
|
83
|
+
<span class="gsc-search-button">
|
84
|
+
<input type="submit" class="search-button">
|
85
|
+
</span>
|
86
|
+
</div>
|
87
|
+
</form>
|
88
|
+
</li>
|
89
|
+
</ul>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
</header>
|
@@ -0,0 +1,112 @@
|
|
1
|
+
<header id="header">
|
2
|
+
<nav id="navigation" role="navigation">
|
3
|
+
<span class="mobile-nav">
|
4
|
+
Show nav
|
5
|
+
<span></span>
|
6
|
+
<span></span>
|
7
|
+
<span></span>
|
8
|
+
<span></span>
|
9
|
+
</span>
|
10
|
+
|
11
|
+
<div class="wrapper-full">
|
12
|
+
<h1 id="logo">
|
13
|
+
<a href="https://www.heroku.com/home">Heroku</a>
|
14
|
+
</h1>
|
15
|
+
<div class="nav-wrapper">
|
16
|
+
<ul class="main-nav">
|
17
|
+
<li class="has-dropdown">
|
18
|
+
<a href="https://www.heroku.com/products">Products</a>
|
19
|
+
<ul class="dropdown">
|
20
|
+
<li><a href="https://www.heroku.com/platform">Platform</a></li>
|
21
|
+
<li><a href="https://www.heroku.com/postgres">Postgres</a></li>
|
22
|
+
<li><a href="https://www.heroku.com/redis">Redis</a></li>
|
23
|
+
<li><a href="https://www.heroku.com/connect">Connect</a></li>
|
24
|
+
<li><a href="https://www.heroku.com/enterprise">Enterprise</a></li>
|
25
|
+
</ul>
|
26
|
+
</li>
|
27
|
+
<li class="has-dropdown">
|
28
|
+
<a href="https://elements.heroku.com/enterprise">Elements</a>
|
29
|
+
<ul class="dropdown">
|
30
|
+
<li><a class="addons" href="https://elements.heroku.com/addons">Add-ons</a></li>
|
31
|
+
<li><a class="buttons" href="https://elements.heroku.com/buttons">Buttons</a></li>
|
32
|
+
<li><a class="buildpacks" href="https://elements.heroku.com/buildpacks">Buildpacks</a></li>
|
33
|
+
</ul>
|
34
|
+
</li>
|
35
|
+
<li><a id="pricing-head" href="https://www.heroku.com/pricing">Pricing</a></li>
|
36
|
+
<li><a id="doc-head" href="https://devcenter.heroku.com">Pricing</a></li>
|
37
|
+
<li><a href="https://www.heroku.com/support">Support</a></li>
|
38
|
+
<li class="has-dropdown">
|
39
|
+
<a class="nav-more" href="#">More</a>
|
40
|
+
<div class="dropdown more">
|
41
|
+
<section class="more-resources">
|
42
|
+
<span class="more-title">Additional Resources</span>
|
43
|
+
<ul>
|
44
|
+
<li><a href="https://www.heroku.com/what">What</a></li>
|
45
|
+
<li><a href="https://www.heroku.com/help">Help</a></li>
|
46
|
+
<li><a href="https://www.heroku.com/customers">Customers</a></li>
|
47
|
+
<li><a href="https://www.heroku.com/careers">Careers</a></li>
|
48
|
+
</ul>
|
49
|
+
</section>
|
50
|
+
<section class="more-languages">
|
51
|
+
<span class="more-title">Languages</span>
|
52
|
+
<ul>
|
53
|
+
<li><a href="https://www.heroku.com/nodejs">Node</a></li>
|
54
|
+
<li><a href="https://www.heroku.com/ruby">Ruby</a></li>
|
55
|
+
<li><a href="https://www.heroku.com/java">Java</a></li>
|
56
|
+
<li><a href="https://www.heroku.com/php">PHP</a></li>
|
57
|
+
<li><a href="https://www.heroku.com/python">Python</a></li>
|
58
|
+
<li><a href="https://www.heroku.com/go">Go</a></li>
|
59
|
+
<li><a href="https://www.heroku.com/scala">Scala</a></li>
|
60
|
+
<li><a href="https://www.heroku.com/clojure">Clojure</a></li>
|
61
|
+
</ul>
|
62
|
+
</section>
|
63
|
+
<section id="more-blog" class="more-blog">
|
64
|
+
<span class="more-title">Heroku Blog</span>
|
65
|
+
<h3><a class="js-blog-link" href="https://blog.heroku.com">Heroku Blog</a></h3>
|
66
|
+
<p class="js-blog-date"></p>
|
67
|
+
<p class="js-blog-content">Find out what's new with Heroku on our blog.</p>
|
68
|
+
<a class="button btn-default btn-sm btn-inline" href="https://blog.heroku.com">Visit Blog</a>
|
69
|
+
</section>
|
70
|
+
</div>
|
71
|
+
</li>
|
72
|
+
</ul>
|
73
|
+
|
74
|
+
<ul class="tool-nav">
|
75
|
+
<% unless current_page?(search_path) || search_disabled? %>
|
76
|
+
<li>
|
77
|
+
<form action="<%= relative_search_path %>" class="site-search" id="site-search" method="get">
|
78
|
+
<div class="search-input gsc-input">
|
79
|
+
<%= google_search_form %>
|
80
|
+
</div>
|
81
|
+
</form>
|
82
|
+
</li>
|
83
|
+
<% end %>
|
84
|
+
|
85
|
+
<% if logged_in? %>
|
86
|
+
<li class="user">
|
87
|
+
<%= link_to "Dashboard", "https://dashboard.heroku.com/"%>
|
88
|
+
<%= button_to "Log out", logout_path %>
|
89
|
+
</li>
|
90
|
+
<% else %>
|
91
|
+
<li class="user">
|
92
|
+
<%= link_to "Log in", login_path %>
|
93
|
+
<span>or</span>
|
94
|
+
<%= signup_link "Sign up", { class: "sign-up highlight", referral: "www-header", campaign_id: "70130000001x9jFAAQ"} %>
|
95
|
+
</li>
|
96
|
+
<% end %>
|
97
|
+
</ul>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
</nav>
|
102
|
+
|
103
|
+
<% if content_for?(:marketing_header_copy) %>
|
104
|
+
<%= yield(:marketing_header_copy) %>
|
105
|
+
<% end %>
|
106
|
+
|
107
|
+
<% if content_for?(:hero) %>
|
108
|
+
<section id="hero" class="<%= hero_class %>">
|
109
|
+
<%= yield(:hero) %>
|
110
|
+
</section>
|
111
|
+
<% end %>
|
112
|
+
</header>
|
data/lib/bookends/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookends
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marketing Web Ops at heroku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -229,9 +229,11 @@ files:
|
|
229
229
|
- lib/bookends/templates/footer_images/footer_sprite.png
|
230
230
|
- lib/bookends/templates/footer_images/footer_sprite@2x.png
|
231
231
|
- lib/bookends/templates/footer_images/salesforce.png
|
232
|
+
- lib/bookends/templates/jekyll_header.html
|
232
233
|
- lib/bookends/templates/newsletter-init-turbolinks.js
|
233
234
|
- lib/bookends/templates/newsletter-init.js
|
234
235
|
- lib/bookends/templates/newsletter.js
|
236
|
+
- lib/bookends/templates/rails_header.html.erb
|
235
237
|
- lib/bookends/version.rb
|
236
238
|
homepage: https://www.heroku.com
|
237
239
|
licenses: []
|