frontview 2.1.1 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/frontview.gemspec CHANGED
@@ -10,10 +10,11 @@ Gem::Specification.new do |spec|
10
10
  spec.description = "This gem creates folders and files that are meant for the Views of your rails web app so as to
11
11
  provide easier starting point to your development process.\n You can check the github repo for this gem:\n
12
12
  \t ======> https://github.com/elibiz443/frontview (Here you will get to have a step by step usage of the gem)\n
13
- Remember to give a contribution. Make the gem better than it already is."
13
+ Remember to give a contribution. Make the gem better than it already is. You can also support the efforts to always update and provide the best
14
+ themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
14
15
  spec.homepage = "https://rubygems.org/gems/frontview"
15
16
  spec.license = "MIT"
16
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.2")
17
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
17
18
 
18
19
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
19
20
 
@@ -28,11 +29,10 @@ Gem::Specification.new do |spec|
28
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
30
  spec.require_paths = ["lib"]
30
31
 
31
- spec.add_development_dependency "bundler", "~> 2.1.4"
32
- spec.add_development_dependency "codelog", "~> 0.8.0"
32
+ spec.add_development_dependency "bundler", "~> 2.2.15"
33
33
  spec.add_development_dependency "down", "~> 5.0"
34
- spec.add_development_dependency 'rails', '~> 6.0.3', '>= 6.0.3.4'
34
+ spec.add_development_dependency 'rails', '~> 6.1', '>= 6.1.4.1'
35
35
 
36
36
  spec.add_dependency "down", "~> 5.0"
37
- spec.add_dependency 'rails', '~> 6.0.3', '>= 6.0.3.4'
37
+ spec.add_dependency 'rails', '~> 6.1', '>= 6.1.4.1'
38
38
  end
@@ -4,8 +4,8 @@ module Frontview
4
4
  def write_in_alerts_file
5
5
  File.open("app/views/shared/_alerts.html.erb", "w+") {
6
6
  |file| file.puts(
7
- '<p class="notice"><%= notice %></p>
8
- <p class="alert"><%= alert %></p>'
7
+ '<p class="notice"><%= notice %></p>
8
+ <p class="alert"><%= alert %></p>'
9
9
  )
10
10
  }
11
11
  end
@@ -4,32 +4,32 @@ module Frontview
4
4
  def write_in_application_file
5
5
  File.open("app/views/layouts/application.html.erb", "w+") {
6
6
  |file| file.puts(
7
- '<!DOCTYPE html>
8
- <html lang="en">
9
- <head>
10
- <title>Frontview || Template</title>
11
- <meta charset="utf-8">
12
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
13
- <%= csrf_meta_tags %>
14
- <%= csp_meta_tag %>
15
- <%= stylesheet_link_tag \'application\', media: \'all\', \'data-turbolinks-track\': \'reload\' %>
16
- <%= javascript_pack_tag \'application\', \'data-turbolinks-track\': \'reload\' %>
17
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/css/bootstrap.min.css">
18
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
19
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/assets/owl.carousel.min.css">
20
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.6.2/animate.min.css">
21
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.css">
22
- <link rel="stylesheet" href="assets/css/style.css">
23
- <%= favicon_link_tag asset_path(\'favicon.ico\') %>
24
- </head>
25
- <body>
26
- <%= render \'shared/header\' %>
27
- <%= render \'shared/alerts\' %>
28
- <%= yield %>
29
- <%= render \'shared/footer\' %>
30
- <%= javascript_pack_tag \'main\', \'data-turbolinks-track\': \'reload\' %>
31
- </body>
32
- </html>'
7
+ '<!DOCTYPE html>
8
+ <html lang="en">
9
+ <head>
10
+ <title>FrontView</title>
11
+ <meta charset="utf-8">
12
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
13
+ <%= csrf_meta_tags %>
14
+ <%= csp_meta_tag %>
15
+ <%= stylesheet_link_tag \'application\', media: \'all\', \'data-turbolinks-track\': \'reload\' %>
16
+ <%= javascript_pack_tag \'application\', \'data-turbolinks-track\': \'reload\' %>
17
+
18
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans|Oswald:300">
19
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
20
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.1/css/bootstrap.min.css">
21
+
22
+ <link rel="stylesheet" href="assets/css/style.css">
23
+ <%= favicon_link_tag asset_path(\'favicon.png\') %>
24
+ </head>
25
+ <body>
26
+ <%= render \'shared/header\' %>
27
+ <%= render \'shared/alerts\' %>
28
+ <%= yield %>
29
+ <%= render \'shared/footer\' %>
30
+ <%= javascript_pack_tag \'main\', \'data-turbolinks-track\': \'reload\' %>
31
+ </body>
32
+ </html>'
33
33
  )
34
34
  }
35
35
  end
@@ -4,95 +4,84 @@ module Frontview
4
4
  def write_in_footer_file
5
5
  File.open("app/views/shared/_footer.html.erb", "w+") {
6
6
  |file| file.puts(
7
- '<footer>
8
- <div class="footer-main">
9
- <div class="footer-area footer-padding">
10
- <div class="container">
11
- <div class="row justify-content-between">
12
- <div class="col-lg-3 col-md-4 col-sm-8">
13
- <div class="single-footer-caption mb-30">
14
- <!-- logo -->
15
- <div class="footer-logo">
16
- <a href="index.html"><img src="assets/logo.png" alt=""></a>
17
- </div>
18
- <div class="footer-tittle">
19
- <div class="footer-pera">
20
- <p class="info1">
21
- We develop innovative & creative products & services that provide total communication & information solutions.
22
- </p>
23
- </div>
24
- </div>
25
- </div>
26
- </div>
27
- <div class="col-lg-2 col-md-4 col-sm-5">
28
- <div class="single-footer-caption mb-50">
29
- <div class="footer-tittle">
30
- <h4>Quick Links</h4>
31
- <ul>
32
- <li><a href="#about">About Us</a></li>
33
- <li><a href="#services">Services</a></li>
34
- <li><a href="#pricing">Pricing</a></li>
35
- <li><a href="#contact">Contact</a></li>
36
- </ul>
37
- </div>
38
- </div>
39
- </div>
40
- <div class="col-lg-2 col-md-4 col-sm-7">
41
- <div class="single-footer-caption mb-50">
42
- <div class="footer-tittle">
43
- <h4>Support</h4>
44
- <ul>
45
- <li><a href="#">Report a bug</a></li>
46
- <li><a href="#">Privacy Policy</a></li>
47
- <li><a href="#">Terms & Conditions</a></li>
48
- <li><a href="#">FAQs</a></li>
49
- </ul>
50
- </div>
51
- </div>
52
- </div>
53
- <div class="col-lg-3 col-md-6 col-sm-8">
54
- <div class="single-footer-caption mb-50">
55
- <div class="footer-tittle">
56
- <h4>Newsletter</h4>
57
- <div class="footer-pera footer-pera2">
58
- <p>Subscribe to our weekly newsletter.</p>
59
- </div>
60
- <div class="footer-form">
61
- <div id="mc_embed_signup">
62
- <form target="_blank" action="#contact" method="get" class="subscribe_form relative mail_part" novalidate="true">
63
- <input type="email" name="EMAIL" id="newsletter-form-email" placeholder=" Email Address " class="placeholder hide-on-focus" onfocus="this.placeholder = ''" onblur="this.placeholder = ' Email Address '">
64
- <div class="form-icon">
65
- <button type="submit" name="submit" id="newsletter-submit" class="email_icon newsletter-submit button-contactForm"><img src="assets/paper_plane2.png" alt=""></button>
66
- </div>
67
- <div class="mt-10 info"></div>
68
- </form>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
- </div>
74
- </div>
75
- <!-- Copy-Right -->
76
- <div class="row align-items-center">
77
- <div class="col-xl-12 ">
78
- <div class="footer-copy-right">
79
- <p>Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved || FrontView Rails Template (This template is free and can be used by anyone).</p>
80
- </div>
81
- </div>
82
- </div>
83
- </div>
84
- </div>
85
- </div>
86
- </footer>
87
-
88
- <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
89
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
90
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.5.3/umd/popper.min.js"></script>
91
- <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.min.js"></script>
92
- <script src="https://cdnjs.cloudflare.com/ajax/libs/SlickNav/1.0.10/jquery.slicknav.min.js"></script>
93
- <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/owl.carousel.min.js"></script>
94
- <script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
95
- <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollup/1.1.0/jquery.scrollUp.min.js"></script>'
7
+ '<footer class="flex-rw">
8
+ <ul class="footer-list-top">
9
+ <li>
10
+ <h4 class="footer-list-header">About Us</h4>
11
+ </li>
12
+ <li>
13
+ <a href="#" class="generic-anchor footer-list-anchor" itemprop="significantLink">
14
+ <i class="fas fa-question-circle"></i>&nbsp
15
+ What We Do
16
+ </a>
17
+ </li>
18
+ <li>
19
+ <a href="#" class="generic-anchor footer-list-anchor" itemprop="significantLink">
20
+ <i class="fa fa-binoculars"></i>&nbsp
21
+ Case Studies
22
+ </a>
23
+ </li>
24
+ </ul>
25
+ <ul class="footer-list-top">
26
+ <li>
27
+ <h4 class="footer-list-header">Support</h4>
28
+ </li>
29
+ <li>
30
+ <a href="#" class="generic-anchor footer-list-anchor">
31
+ <i class="fas fa-tools"></i>&nbsp
32
+ Settings
33
+ </a>
34
+ </li>
35
+ <li>
36
+ <a href="#" class="generic-anchor footer-list-anchor">
37
+ <i class="fa fa-list"></i>&nbsp
38
+ FAQs
39
+ </a>
40
+ </li>
41
+ </ul>
42
+ <ul class="footer-list-top">
43
+ <li>
44
+ <h4 class="footer-list-header">Our Contacts</h4>
45
+ </li>
46
+ <li>
47
+ <a href="#" class="generic-anchor footer-list-anchor" itemprop="significantLink">
48
+ <i class="fa fa-phone"></i>&nbsp
49
+ +000-123-456789
50
+ </a>
51
+ </li>
52
+ <li>
53
+ <a href="#" class="generic-anchor footer-list-anchor" itemprop="significantLink">
54
+ <i class="fa fa-envelope"></i>&nbsp
55
+ frontviewtech4@gmail.com
56
+ </a>
57
+ </li>
58
+ </ul>
59
+ <section class="footer-social-section flex-rw">
60
+ <span class="footer-social-overlap footer-social-connect">
61
+ CONNECT <span class="footer-social-small">with</span> US
62
+ </span>
63
+ <span class="footer-social-overlap footer-social-icons-wrapper">
64
+ <a href="#" class="generic-anchor" target="_blank" title="Facebook" itemprop="significantLink"><i class="fab fa-facebook"></i></a>
65
+ <a href="#" class="generic-anchor" target="_blank" title="Twitter" itemprop="significantLink"><i class="fab fa-twitter"></i></a>
66
+ <a href="#" class="generic-anchor" target="_blank" title="Instagram" itemprop="significantLink"><i class="fab fa-instagram"></i></a>
67
+ <a href="#" class="generic-anchor" target="_blank" title="Youtube" itemprop="significantLink"><i class="fab fa-youtube"></i></a>
68
+ </span>
69
+ </section>
70
+ <section class="footer-bottom-section flex-rw">
71
+ <div class="footer-bottom-wrapper">
72
+ <i class="fa fa-copyright" role="copyright"></i>
73
+ 2021 Frontview
74
+ <address class="footer-address" role="company address"> Located in Olympus Mons, Mars</address>
75
+ <span class="footer-bottom-rights"> - All Rights Reserved.</span>
76
+ </div>
77
+ <div class="footer-bottom-wrapper">
78
+ <a href="#" class="generic-anchor" rel="nofollow">Terms</a> |
79
+ <a href="#" class="generic-anchor" rel="nofollow">Privacy</a>
80
+ </div>
81
+ </section>
82
+ </footer>
83
+
84
+ <script src="https://code.jquery.com/jquery-1.9.1.js"></script>'
96
85
  )
97
86
  }
98
87
  end
@@ -4,55 +4,34 @@ module Frontview
4
4
  def write_in_header_file
5
5
  File.open("app/views/shared/_header.html.erb", "w+") {
6
6
  |file| file.puts(
7
- '<!-- Preloader Start -->
8
- <div id="preloader-active">
9
- <div class="preloader d-flex align-items-center justify-content-center">
10
- <div class="preloader-inner position-relative">
11
- <div class="preloader-circle"></div>
12
- <div class="preloader-img pere-text">
13
- <img src="assets/preloader.png" alt="">
14
- </div>
15
- </div>
16
- </div>
17
- </div>
18
- <!-- Preloader Start -->
7
+ '<header class="main_h">
8
+ <div class="row">
9
+ <a class="logo" href="/">
10
+ <i class="icon-size fa fa-laptop" aria-hidden="true"></i>
11
+ FontView
12
+ </a>
13
+ <div class="mobile-toggle">
14
+ <span></span>
15
+ <span></span>
16
+ <span></span>
17
+ </div>
18
+ <nav class="h-reposition d-none d-md-block d-lg-block d-xl-block">
19
+ <ul>
20
+ <li><a href="#about">About Us</a></li>
21
+ <li><a href="#service">Our Services</a></li>
22
+ <li><a href="#contact">Contact Us</a></li>
23
+ </ul>
24
+ </nav>
19
25
 
20
- <header>
21
- <!-- Header Start -->
22
- <div class="header-area header-transparrent">
23
- <div class="main-header header-sticky">
24
- <div class="container">
25
- <div class="row align-items-center">
26
- <!-- Logo -->
27
- <div class="col-xl-2 col-lg-2 col-md-2">
28
- <div class="logo">
29
- <a href="/"><img src="assets/logo.png" alt=""></a>
30
- </div>
31
- </div>
32
- <div class="col-xl-10 col-lg-10 col-md-10">
33
- <!-- Main-menu -->
34
- <div class="main-menu f-right d-none d-lg-block">
35
- <nav>
36
- <ul id="navigation">
37
- <li class="active"><a href="/">Home</a></li>
38
- <li><a href="#services">Services</a></li>
39
- <li><a href="#pricing">Pricing</a></li>
40
- <li><a href="#about">About Us</a></li>
41
- <li><a href="#contact">Contact</a></li>
42
- </ul>
43
- </nav>
44
- </div>
45
- </div>
46
- <!-- Mobile Menu -->
47
- <div class="col-12">
48
- <div class="mobile_menu d-block d-lg-none"></div>
49
- </div>
50
- </div>
51
- </div>
52
- </div>
53
- </div>
54
- <!-- Header End -->
55
- </header>'
26
+ <nav class="d-block d-md-none d-lg-none d-xl-none">
27
+ <ul>
28
+ <li><a href="#about">About Us</a></li>
29
+ <li><a href="#service">Our Services</a></li>
30
+ <li><a href="#contact">Contact Us</a></li>
31
+ </ul>
32
+ </nav>
33
+ </div>
34
+ </header>'
56
35
  )
57
36
  }
58
37
  end