frontview 2.1.2 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +13 -0
- data/.travis.yml +2 -2
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +57 -47
- data/Gemfile +3 -1
- data/Gemfile.lock +115 -95
- data/LICENSE.txt +1 -1
- data/README.md +20 -59
- data/Rakefile +5 -1
- data/assets/banner.jpg +0 -0
- data/assets/favicon.png +0 -0
- data/assets/sample1.png +0 -0
- data/assets/sample2.png +0 -0
- data/assets/sample3.png +0 -0
- data/assets/sample4.png +0 -0
- data/assets/sample5.png +0 -0
- data/bin/console +2 -1
- data/frontview.gemspec +4 -5
- data/lib/frontview/contents/application_content.rb +7 -7
- data/lib/frontview/contents/footer_content.rb +76 -87
- data/lib/frontview/contents/header_content.rb +25 -46
- data/lib/frontview/contents/index_routes_content.rb +65 -466
- data/lib/frontview/contents/main_content.rb +25 -198
- data/lib/frontview/contents/style_content.rb +379 -3279
- data/lib/frontview/install_generator.rb +2 -59
- data/lib/frontview/version.rb +1 -1
- metadata +18 -28
data/frontview.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz"
|
15
15
|
spec.homepage = "https://rubygems.org/gems/frontview"
|
16
16
|
spec.license = "MIT"
|
17
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
17
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
18
18
|
|
19
19
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
20
20
|
|
@@ -29,11 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.add_development_dependency "bundler", "~> 2.
|
33
|
-
spec.add_development_dependency "codelog", "~> 0.8.0"
|
32
|
+
spec.add_development_dependency "bundler", "~> 2.2.24"
|
34
33
|
spec.add_development_dependency "down", "~> 5.0"
|
35
|
-
spec.add_development_dependency 'rails', '~> 6.
|
34
|
+
spec.add_development_dependency 'rails', '~> 6.1', '>= 6.1.4.1'
|
36
35
|
|
37
36
|
spec.add_dependency "down", "~> 5.0"
|
38
|
-
spec.add_dependency 'rails', '~> 6.
|
37
|
+
spec.add_dependency 'rails', '~> 6.1', '>= 6.1.4.1'
|
39
38
|
end
|
@@ -7,20 +7,20 @@ module Frontview
|
|
7
7
|
'<!DOCTYPE html>
|
8
8
|
<html lang="en">
|
9
9
|
<head>
|
10
|
-
<title>
|
10
|
+
<title>FrontView</title>
|
11
11
|
<meta charset="utf-8">
|
12
12
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
13
13
|
<%= csrf_meta_tags %>
|
14
14
|
<%= csp_meta_tag %>
|
15
15
|
<%= stylesheet_link_tag \'application\', media: \'all\', \'data-turbolinks-track\': \'reload\' %>
|
16
16
|
<%= javascript_pack_tag \'application\', \'data-turbolinks-track\': \'reload\' %>
|
17
|
-
|
18
|
-
<link rel="stylesheet" href="https://
|
19
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/
|
20
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/
|
21
|
-
|
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
22
|
<link rel="stylesheet" href="assets/css/style.css">
|
23
|
-
<%= favicon_link_tag asset_path(\'favicon.
|
23
|
+
<%= favicon_link_tag asset_path(\'favicon.png\') %>
|
24
24
|
</head>
|
25
25
|
<body>
|
26
26
|
<%= render \'shared/header\' %>
|
@@ -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
|
-
<
|
9
|
-
<
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<div class="row align-items-center">
|
77
|
-
<div class="col-xl-12">
|
78
|
-
<div class="footer-copy-right">
|
79
|
-
<p>Copyright ©<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>
|
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> 
|
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> 
|
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> 
|
32
|
+
Settings
|
33
|
+
</a>
|
34
|
+
</li>
|
35
|
+
<li>
|
36
|
+
<a href="#" class="generic-anchor footer-list-anchor">
|
37
|
+
<i class="fa fa-list"></i> 
|
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> 
|
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> 
|
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>
|
84
76
|
</div>
|
85
|
-
|
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>
|
86
82
|
</footer>
|
87
|
-
|
88
|
-
<script src="https://
|
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>'
|
83
|
+
|
84
|
+
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>'
|
96
85
|
)
|
97
86
|
}
|
98
87
|
end
|
@@ -4,54 +4,33 @@ 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
|
-
'
|
8
|
-
<div
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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>
|
15
17
|
</div>
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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 -->
|
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>
|
55
34
|
</header>'
|
56
35
|
)
|
57
36
|
}
|