frontend-generators 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -0
  3. data/assets/bootstrap/vendor/assets/javascripts/bootstrap.js +66 -52
  4. data/assets/bootstrap/vendor/assets/stylesheets/bootstrap.css +13 -10
  5. data/assets/grayscale/app/assets/javascripts/grayscale/manifest.js +1 -2
  6. data/assets/new_age/app/assets/images/new_age/app-store-badge.svg +129 -0
  7. data/assets/new_age/app/assets/images/new_age/bg-cta.jpg +0 -0
  8. data/assets/new_age/app/assets/images/new_age/bg-pattern.png +0 -0
  9. data/assets/new_age/app/assets/images/new_age/demo-screen-1.jpg +0 -0
  10. data/assets/new_age/app/assets/images/new_age/google-play-badge.svg +106 -0
  11. data/assets/new_age/app/assets/images/new_age/iphone_6_plus_white_port.png +0 -0
  12. data/assets/new_age/app/assets/javascripts/new_age/manifest.js +5 -0
  13. data/assets/new_age/app/assets/javascripts/new_age/new_age.js +31 -0
  14. data/assets/new_age/app/assets/stylesheets/new_age/manifest.css +6 -0
  15. data/assets/new_age/app/assets/stylesheets/new_age/new_age.css.scss +493 -0
  16. data/assets/new_age/app/controllers/new_age_controller.rb +6 -0
  17. data/assets/new_age/app/views/layouts/new_age.html.erb +18 -0
  18. data/assets/new_age/app/views/new_age/_contact.html.erb +16 -0
  19. data/assets/new_age/app/views/new_age/_cta.html.erb +9 -0
  20. data/assets/new_age/app/views/new_age/_download.html.erb +14 -0
  21. data/assets/new_age/app/views/new_age/_features.html.erb +65 -0
  22. data/assets/new_age/app/views/new_age/_footer.html.erb +16 -0
  23. data/assets/new_age/app/views/new_age/_header.html.erb +29 -0
  24. data/assets/new_age/app/views/new_age/_navigation.html.erb +28 -0
  25. data/assets/new_age/app/views/new_age/index.html.erb +7 -0
  26. data/lib/frontend_generators/version.rb +1 -1
  27. data/lib/tasks/add_assets.rake +1 -1
  28. metadata +22 -2
@@ -0,0 +1,6 @@
1
+ class NewAgeController < ApplicationController
2
+ layout "new_age"
3
+
4
+ def index
5
+ end
6
+ end
@@ -0,0 +1,18 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>RailsStartbootstrapNewAge</title>
5
+ <%= stylesheet_link_tag 'new_age/manifest.css', media: 'all' %>
6
+ <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
7
+ <link href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet">
8
+ <link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
9
+ <%= javascript_include_tag 'new_age/manifest.js' %>
10
+ <%= csrf_meta_tags %>
11
+ </head>
12
+ <body id="page-top">
13
+
14
+ <%= yield %>
15
+
16
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
17
+ </body>
18
+ </html>
@@ -0,0 +1,16 @@
1
+ <section id="contact" class="contact bg-primary">
2
+ <div class="container">
3
+ <h2>We <i class="fa fa-heart"></i> new friends!</h2>
4
+ <ul class="list-inline list-social">
5
+ <li class="social-twitter">
6
+ <a href="#"><i class="fa fa-twitter"></i></a>
7
+ </li>
8
+ <li class="social-facebook">
9
+ <a href="#"><i class="fa fa-facebook"></i></a>
10
+ </li>
11
+ <li class="social-google-plus">
12
+ <a href="#"><i class="fa fa-google-plus"></i></a>
13
+ </li>
14
+ </ul>
15
+ </div>
16
+ </section>
@@ -0,0 +1,9 @@
1
+ <section class="cta">
2
+ <div class="cta-content">
3
+ <div class="container">
4
+ <h2>Stop waiting.<br>Start building.</h2>
5
+ <a href="#contact" class="btn btn-outline btn-xl page-scroll">Let's Get Started!</a>
6
+ </div>
7
+ </div>
8
+ <div class="overlay"></div>
9
+ </section>
@@ -0,0 +1,14 @@
1
+ <section id="download" class="download bg-primary text-center">
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-md-8 col-md-offset-2">
5
+ <h2 class="section-heading">Discover what all the buzz is about!</h2>
6
+ <p>Our app is available on any mobile device! Download now to get started!</p>
7
+ <div class="badges">
8
+ <a class="badge-link" href="#"><img src="/assets/new_age/google-play-badge.svg" alt=""></a>
9
+ <a class="badge-link" href="#"><img src="/assets/new_age/app-store-badge.svg" alt=""></a>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </div>
14
+ </section>
@@ -0,0 +1,65 @@
1
+ <section id="features" class="features">
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-lg-12 text-center">
5
+ <div class="section-heading">
6
+ <h2>Unlimited Features, Unlimited Fun</h2>
7
+ <p class="text-muted">Check out what you can do with this app theme!</p>
8
+ <hr>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ <div class="row">
13
+ <div class="col-md-4">
14
+ <div class="device-container">
15
+ <div class="device-mockup iphone6_plus portrait white">
16
+ <div class="device">
17
+ <div class="screen">
18
+ <!-- Demo image for screen mockup, you can put an image here, some HTML, an animation, video, or anything else! -->
19
+ <img src="/assets/new_age/demo-screen-1.jpg" class="img-responsive" alt=""> </div>
20
+ <div class="button">
21
+ <!-- You can hook the "home button" to some JavaScript events or just remove it -->
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ <div class="col-md-8">
28
+ <div class="container-fluid">
29
+ <div class="row">
30
+ <div class="col-md-6">
31
+ <div class="feature-item">
32
+ <i class="glyphicon glyphicon-phone text-primary"></i>
33
+ <h3>Device Mockups</h3>
34
+ <p class="text-muted">Ready to use HTML/CSS device mockups, no Photoshop required!</p>
35
+ </div>
36
+ </div>
37
+ <div class="col-md-6">
38
+ <div class="feature-item">
39
+ <i class="glyphicon glyphicon-camera text-primary"></i>
40
+ <h3>Flexible Use</h3>
41
+ <p class="text-muted">Put an image, video, animation, or anything else in the screen!</p>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="row">
46
+ <div class="col-md-6">
47
+ <div class="feature-item">
48
+ <i class="glyphicon glyphicon-gift text-primary"></i>
49
+ <h3>Free to Use</h3>
50
+ <p class="text-muted">As always, this theme is free to download and use for any purpose!</p>
51
+ </div>
52
+ </div>
53
+ <div class="col-md-6">
54
+ <div class="feature-item">
55
+ <i class="glyphicon glyphicon-lock text-primary"></i>
56
+ <h3>Open Source</h3>
57
+ <p class="text-muted">Since this theme is MIT licensed, you can use it commercially!</p>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </section>
@@ -0,0 +1,16 @@
1
+ <footer>
2
+ <div class="container">
3
+ <p>© 2016 Start Bootstrap. All Rights Reserved.</p>
4
+ <ul class="list-inline">
5
+ <li>
6
+ <a href="#">Privacy</a>
7
+ </li>
8
+ <li>
9
+ <a href="#">Terms</a>
10
+ </li>
11
+ <li>
12
+ <a href="#">FAQ</a>
13
+ </li>
14
+ </ul>
15
+ </div>
16
+ </footer>
@@ -0,0 +1,29 @@
1
+ <header>
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-sm-7">
5
+ <div class="header-content">
6
+ <div class="header-content-inner">
7
+ <h1>New Age is an app landing page that will help you beautifully showcase your new mobile app, or anything else!</h1>
8
+ <a href="#download" class="btn btn-outline btn-xl page-scroll">Start Now for Free!</a>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ <div class="col-sm-5">
13
+ <div class="device-container">
14
+ <div class="device-mockup iphone6_plus portrait white">
15
+ <div class="device">
16
+ <div class="screen">
17
+ <!-- Demo image for screen mockup, you can put an image here, some HTML, an animation, video, or anything else! -->
18
+ <img src="/assets/new_age/demo-screen-1.jpg" class="img-responsive" alt="">
19
+ </div>
20
+ <div class="button">
21
+ <!-- You can hook the "home button" to some JavaScript events or just remove it -->
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </header>
@@ -0,0 +1,28 @@
1
+ <nav id="mainNav" class="navbar navbar-default navbar-fixed-top affix">
2
+ <div class="container">
3
+ <!-- Brand and toggle get grouped for better mobile display -->
4
+ <div class="navbar-header">
5
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
6
+ <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
7
+ </button>
8
+ <a class="navbar-brand page-scroll" href="#page-top">Start Bootstrap</a>
9
+ </div>
10
+
11
+ <!-- Collect the nav links, forms, and other content for toggling -->
12
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
13
+ <ul class="nav navbar-nav navbar-right">
14
+ <li class="">
15
+ <a class="page-scroll" href="#download">Download</a>
16
+ </li>
17
+ <li class="">
18
+ <a class="page-scroll" href="#features">Features</a>
19
+ </li>
20
+ <li class="">
21
+ <a class="page-scroll" href="#contact">Contact</a>
22
+ </li>
23
+ </ul>
24
+ </div>
25
+ <!-- /.navbar-collapse -->
26
+ </div>
27
+ <!-- /.container-fluid -->
28
+ </nav>
@@ -0,0 +1,7 @@
1
+ <%= render "navigation" %>
2
+ <%= render "header" %>
3
+ <%= render "download" %>
4
+ <%= render "features" %>
5
+ <%= render "cta" %>
6
+ <%= render "contact" %>
7
+ <%= render "footer" %>
@@ -1,3 +1,3 @@
1
1
  module FrontendGenerators
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  namespace :add_assets do
2
2
 
3
- [:bootstrap, :creative, :font_awesome, :freelancer, :stylish_portfolio, :clean_blog, :grayscale].each do |asset|
3
+ [:bootstrap, :creative, :font_awesome, :freelancer, :stylish_portfolio, :clean_blog, :grayscale, :new_age].each do |asset|
4
4
  desc "Add #{asset} assets to your project"
5
5
  task asset do
6
6
  copier = FrontendGenerators::AssetsCopier.new(asset)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontend-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MrPowers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-06 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -220,6 +220,26 @@ files:
220
220
  - assets/grayscale/app/views/grayscales/_shim.html.erb
221
221
  - assets/grayscale/app/views/grayscales/index.html.erb
222
222
  - assets/grayscale/app/views/layouts/grayscale.html.erb
223
+ - assets/new_age/app/assets/images/new_age/app-store-badge.svg
224
+ - assets/new_age/app/assets/images/new_age/bg-cta.jpg
225
+ - assets/new_age/app/assets/images/new_age/bg-pattern.png
226
+ - assets/new_age/app/assets/images/new_age/demo-screen-1.jpg
227
+ - assets/new_age/app/assets/images/new_age/google-play-badge.svg
228
+ - assets/new_age/app/assets/images/new_age/iphone_6_plus_white_port.png
229
+ - assets/new_age/app/assets/javascripts/new_age/manifest.js
230
+ - assets/new_age/app/assets/javascripts/new_age/new_age.js
231
+ - assets/new_age/app/assets/stylesheets/new_age/manifest.css
232
+ - assets/new_age/app/assets/stylesheets/new_age/new_age.css.scss
233
+ - assets/new_age/app/controllers/new_age_controller.rb
234
+ - assets/new_age/app/views/layouts/new_age.html.erb
235
+ - assets/new_age/app/views/new_age/_contact.html.erb
236
+ - assets/new_age/app/views/new_age/_cta.html.erb
237
+ - assets/new_age/app/views/new_age/_download.html.erb
238
+ - assets/new_age/app/views/new_age/_features.html.erb
239
+ - assets/new_age/app/views/new_age/_footer.html.erb
240
+ - assets/new_age/app/views/new_age/_header.html.erb
241
+ - assets/new_age/app/views/new_age/_navigation.html.erb
242
+ - assets/new_age/app/views/new_age/index.html.erb
223
243
  - assets/stylish_portfolio/app/assets/images/stylish_portfolio/bg.jpg
224
244
  - assets/stylish_portfolio/app/assets/images/stylish_portfolio/callout.jpg
225
245
  - assets/stylish_portfolio/app/assets/images/stylish_portfolio/portfolio-1.jpg