frontview 2.2.0 → 2.2.1
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.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/Gemfile.lock +79 -79
- data/README.md +17 -45
- 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/frontview.gemspec +2 -2
- 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 +26 -34
- data/lib/frontview/contents/index_routes_content.rb +65 -466
- data/lib/frontview/contents/main_content.rb +25 -190
- 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 +9 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47611168b89633f82439dc35d1625a2aa7be95f3b5e96a33469c52e3f886b10c
|
|
4
|
+
data.tar.gz: 42e51ebce3ce70b0151ac6ee928cd59a1586f61507e74059d66339975d21a68c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0c1f722a8714bce27179899266a2bb36767ea01a7fd1cdf6b21715b349f20dfa07193d690a7dfe3f753d32f4648d8f9395577a99433e064606c68707ce0e20d
|
|
7
|
+
data.tar.gz: 269e8605b8f1f920639dd351f3524c44b319edd6b2dae67e77c1987d8d4ddd2dd8950eaa51ea2add45087a211d52038dc49c96655932a0c596b53b015f70ae2d
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,146 +1,146 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
frontview (2.2.
|
|
4
|
+
frontview (2.2.1)
|
|
5
5
|
down (~> 5.0)
|
|
6
|
-
rails (~> 6.1, >= 6.1.
|
|
6
|
+
rails (~> 6.1, >= 6.1.4.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actioncable (6.1.
|
|
12
|
-
actionpack (= 6.1.
|
|
13
|
-
activesupport (= 6.1.
|
|
11
|
+
actioncable (6.1.4.1)
|
|
12
|
+
actionpack (= 6.1.4.1)
|
|
13
|
+
activesupport (= 6.1.4.1)
|
|
14
14
|
nio4r (~> 2.0)
|
|
15
15
|
websocket-driver (>= 0.6.1)
|
|
16
|
-
actionmailbox (6.1.
|
|
17
|
-
actionpack (= 6.1.
|
|
18
|
-
activejob (= 6.1.
|
|
19
|
-
activerecord (= 6.1.
|
|
20
|
-
activestorage (= 6.1.
|
|
21
|
-
activesupport (= 6.1.
|
|
16
|
+
actionmailbox (6.1.4.1)
|
|
17
|
+
actionpack (= 6.1.4.1)
|
|
18
|
+
activejob (= 6.1.4.1)
|
|
19
|
+
activerecord (= 6.1.4.1)
|
|
20
|
+
activestorage (= 6.1.4.1)
|
|
21
|
+
activesupport (= 6.1.4.1)
|
|
22
22
|
mail (>= 2.7.1)
|
|
23
|
-
actionmailer (6.1.
|
|
24
|
-
actionpack (= 6.1.
|
|
25
|
-
actionview (= 6.1.
|
|
26
|
-
activejob (= 6.1.
|
|
27
|
-
activesupport (= 6.1.
|
|
23
|
+
actionmailer (6.1.4.1)
|
|
24
|
+
actionpack (= 6.1.4.1)
|
|
25
|
+
actionview (= 6.1.4.1)
|
|
26
|
+
activejob (= 6.1.4.1)
|
|
27
|
+
activesupport (= 6.1.4.1)
|
|
28
28
|
mail (~> 2.5, >= 2.5.4)
|
|
29
29
|
rails-dom-testing (~> 2.0)
|
|
30
|
-
actionpack (6.1.
|
|
31
|
-
actionview (= 6.1.
|
|
32
|
-
activesupport (= 6.1.
|
|
30
|
+
actionpack (6.1.4.1)
|
|
31
|
+
actionview (= 6.1.4.1)
|
|
32
|
+
activesupport (= 6.1.4.1)
|
|
33
33
|
rack (~> 2.0, >= 2.0.9)
|
|
34
34
|
rack-test (>= 0.6.3)
|
|
35
35
|
rails-dom-testing (~> 2.0)
|
|
36
36
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
37
|
-
actiontext (6.1.
|
|
38
|
-
actionpack (= 6.1.
|
|
39
|
-
activerecord (= 6.1.
|
|
40
|
-
activestorage (= 6.1.
|
|
41
|
-
activesupport (= 6.1.
|
|
37
|
+
actiontext (6.1.4.1)
|
|
38
|
+
actionpack (= 6.1.4.1)
|
|
39
|
+
activerecord (= 6.1.4.1)
|
|
40
|
+
activestorage (= 6.1.4.1)
|
|
41
|
+
activesupport (= 6.1.4.1)
|
|
42
42
|
nokogiri (>= 1.8.5)
|
|
43
|
-
actionview (6.1.
|
|
44
|
-
activesupport (= 6.1.
|
|
43
|
+
actionview (6.1.4.1)
|
|
44
|
+
activesupport (= 6.1.4.1)
|
|
45
45
|
builder (~> 3.1)
|
|
46
46
|
erubi (~> 1.4)
|
|
47
47
|
rails-dom-testing (~> 2.0)
|
|
48
48
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
49
|
-
activejob (6.1.
|
|
50
|
-
activesupport (= 6.1.
|
|
49
|
+
activejob (6.1.4.1)
|
|
50
|
+
activesupport (= 6.1.4.1)
|
|
51
51
|
globalid (>= 0.3.6)
|
|
52
|
-
activemodel (6.1.
|
|
53
|
-
activesupport (= 6.1.
|
|
54
|
-
activerecord (6.1.
|
|
55
|
-
activemodel (= 6.1.
|
|
56
|
-
activesupport (= 6.1.
|
|
57
|
-
activestorage (6.1.
|
|
58
|
-
actionpack (= 6.1.
|
|
59
|
-
activejob (= 6.1.
|
|
60
|
-
activerecord (= 6.1.
|
|
61
|
-
activesupport (= 6.1.
|
|
52
|
+
activemodel (6.1.4.1)
|
|
53
|
+
activesupport (= 6.1.4.1)
|
|
54
|
+
activerecord (6.1.4.1)
|
|
55
|
+
activemodel (= 6.1.4.1)
|
|
56
|
+
activesupport (= 6.1.4.1)
|
|
57
|
+
activestorage (6.1.4.1)
|
|
58
|
+
actionpack (= 6.1.4.1)
|
|
59
|
+
activejob (= 6.1.4.1)
|
|
60
|
+
activerecord (= 6.1.4.1)
|
|
61
|
+
activesupport (= 6.1.4.1)
|
|
62
62
|
marcel (~> 1.0.0)
|
|
63
|
-
mini_mime (
|
|
64
|
-
activesupport (6.1.
|
|
63
|
+
mini_mime (>= 1.1.0)
|
|
64
|
+
activesupport (6.1.4.1)
|
|
65
65
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
66
66
|
i18n (>= 1.6, < 2)
|
|
67
67
|
minitest (>= 5.1)
|
|
68
68
|
tzinfo (~> 2.0)
|
|
69
69
|
zeitwerk (~> 2.3)
|
|
70
|
-
addressable (2.
|
|
70
|
+
addressable (2.8.0)
|
|
71
71
|
public_suffix (>= 2.0.2, < 5.0)
|
|
72
72
|
ast (2.4.2)
|
|
73
73
|
builder (3.2.4)
|
|
74
|
-
concurrent-ruby (1.1.
|
|
74
|
+
concurrent-ruby (1.1.9)
|
|
75
75
|
crass (1.0.6)
|
|
76
|
-
down (5.2.
|
|
77
|
-
addressable (~> 2.
|
|
76
|
+
down (5.2.4)
|
|
77
|
+
addressable (~> 2.8)
|
|
78
78
|
erubi (1.10.0)
|
|
79
|
-
globalid (0.
|
|
80
|
-
activesupport (>=
|
|
79
|
+
globalid (0.5.2)
|
|
80
|
+
activesupport (>= 5.0)
|
|
81
81
|
i18n (1.8.10)
|
|
82
82
|
concurrent-ruby (~> 1.0)
|
|
83
|
-
loofah (2.
|
|
83
|
+
loofah (2.12.0)
|
|
84
84
|
crass (~> 1.0.2)
|
|
85
85
|
nokogiri (>= 1.5.9)
|
|
86
86
|
mail (2.7.1)
|
|
87
87
|
mini_mime (>= 0.1.1)
|
|
88
88
|
marcel (1.0.1)
|
|
89
89
|
method_source (1.0.0)
|
|
90
|
-
mini_mime (1.
|
|
90
|
+
mini_mime (1.1.1)
|
|
91
91
|
minitest (5.14.4)
|
|
92
|
-
nio4r (2.5.
|
|
93
|
-
nokogiri (1.
|
|
92
|
+
nio4r (2.5.8)
|
|
93
|
+
nokogiri (1.12.4-x86_64-linux)
|
|
94
94
|
racc (~> 1.4)
|
|
95
|
-
parallel (1.
|
|
96
|
-
parser (3.0.
|
|
95
|
+
parallel (1.21.0)
|
|
96
|
+
parser (3.0.2.0)
|
|
97
97
|
ast (~> 2.4.1)
|
|
98
98
|
public_suffix (4.0.6)
|
|
99
99
|
racc (1.5.2)
|
|
100
100
|
rack (2.2.3)
|
|
101
101
|
rack-test (1.1.0)
|
|
102
102
|
rack (>= 1.0, < 3)
|
|
103
|
-
rails (6.1.
|
|
104
|
-
actioncable (= 6.1.
|
|
105
|
-
actionmailbox (= 6.1.
|
|
106
|
-
actionmailer (= 6.1.
|
|
107
|
-
actionpack (= 6.1.
|
|
108
|
-
actiontext (= 6.1.
|
|
109
|
-
actionview (= 6.1.
|
|
110
|
-
activejob (= 6.1.
|
|
111
|
-
activemodel (= 6.1.
|
|
112
|
-
activerecord (= 6.1.
|
|
113
|
-
activestorage (= 6.1.
|
|
114
|
-
activesupport (= 6.1.
|
|
103
|
+
rails (6.1.4.1)
|
|
104
|
+
actioncable (= 6.1.4.1)
|
|
105
|
+
actionmailbox (= 6.1.4.1)
|
|
106
|
+
actionmailer (= 6.1.4.1)
|
|
107
|
+
actionpack (= 6.1.4.1)
|
|
108
|
+
actiontext (= 6.1.4.1)
|
|
109
|
+
actionview (= 6.1.4.1)
|
|
110
|
+
activejob (= 6.1.4.1)
|
|
111
|
+
activemodel (= 6.1.4.1)
|
|
112
|
+
activerecord (= 6.1.4.1)
|
|
113
|
+
activestorage (= 6.1.4.1)
|
|
114
|
+
activesupport (= 6.1.4.1)
|
|
115
115
|
bundler (>= 1.15.0)
|
|
116
|
-
railties (= 6.1.
|
|
116
|
+
railties (= 6.1.4.1)
|
|
117
117
|
sprockets-rails (>= 2.0.0)
|
|
118
118
|
rails-dom-testing (2.0.3)
|
|
119
119
|
activesupport (>= 4.2.0)
|
|
120
120
|
nokogiri (>= 1.6)
|
|
121
|
-
rails-html-sanitizer (1.
|
|
121
|
+
rails-html-sanitizer (1.4.2)
|
|
122
122
|
loofah (~> 2.3)
|
|
123
|
-
railties (6.1.
|
|
124
|
-
actionpack (= 6.1.
|
|
125
|
-
activesupport (= 6.1.
|
|
123
|
+
railties (6.1.4.1)
|
|
124
|
+
actionpack (= 6.1.4.1)
|
|
125
|
+
activesupport (= 6.1.4.1)
|
|
126
126
|
method_source
|
|
127
|
-
rake (>= 0.
|
|
127
|
+
rake (>= 0.13)
|
|
128
128
|
thor (~> 1.0)
|
|
129
129
|
rainbow (3.0.0)
|
|
130
|
-
rake (13.0.
|
|
130
|
+
rake (13.0.6)
|
|
131
131
|
regexp_parser (2.1.1)
|
|
132
132
|
rexml (3.2.5)
|
|
133
|
-
rubocop (1.
|
|
133
|
+
rubocop (1.21.0)
|
|
134
134
|
parallel (~> 1.10)
|
|
135
135
|
parser (>= 3.0.0.0)
|
|
136
136
|
rainbow (>= 2.2.2, < 4.0)
|
|
137
137
|
regexp_parser (>= 1.8, < 3.0)
|
|
138
138
|
rexml
|
|
139
|
-
rubocop-ast (>= 1.
|
|
139
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
|
140
140
|
ruby-progressbar (~> 1.7)
|
|
141
141
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
142
|
-
rubocop-ast (1.
|
|
143
|
-
parser (>=
|
|
142
|
+
rubocop-ast (1.11.0)
|
|
143
|
+
parser (>= 3.0.1.1)
|
|
144
144
|
ruby-progressbar (1.11.0)
|
|
145
145
|
sprockets (4.0.2)
|
|
146
146
|
concurrent-ruby (~> 1.0)
|
|
@@ -152,8 +152,8 @@ GEM
|
|
|
152
152
|
thor (1.1.0)
|
|
153
153
|
tzinfo (2.0.4)
|
|
154
154
|
concurrent-ruby (~> 1.0)
|
|
155
|
-
unicode-display_width (2.
|
|
156
|
-
websocket-driver (0.7.
|
|
155
|
+
unicode-display_width (2.1.0)
|
|
156
|
+
websocket-driver (0.7.5)
|
|
157
157
|
websocket-extensions (>= 0.1.0)
|
|
158
158
|
websocket-extensions (0.1.5)
|
|
159
159
|
zeitwerk (2.4.2)
|
|
@@ -166,10 +166,10 @@ DEPENDENCIES
|
|
|
166
166
|
down (~> 5.0)
|
|
167
167
|
frontview!
|
|
168
168
|
minitest (~> 5.0)
|
|
169
|
-
rails (~> 6.1, >= 6.1.
|
|
169
|
+
rails (~> 6.1, >= 6.1.4.1)
|
|
170
170
|
rake (~> 13.0)
|
|
171
171
|
rubocop (~> 1.7)
|
|
172
172
|
thor (~> 1.1)
|
|
173
173
|
|
|
174
174
|
BUNDLED WITH
|
|
175
|
-
2.2.
|
|
175
|
+
2.2.24
|
data/README.md
CHANGED
|
@@ -2,89 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
This is frontview gem, a gem that gives the front-end template to the rails 6 applications for easier web development. It provides the assets contents i.e folders & files(images[favicon.png & logo.png], stylesheets[css/style.css]), javascript content i.e (javascript/packs/main.js) & the views contents folders & Files.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
### Installation
|
|
7
6
|
Add this line to your application's Gemfile:
|
|
8
|
-
|
|
9
|
-
```ruby
|
|
10
|
-
gem 'frontview'
|
|
11
7
|
```
|
|
12
|
-
|
|
8
|
+
gem 'frontview'
|
|
9
|
+
```
|
|
13
10
|
And then execute:
|
|
14
|
-
|
|
15
11
|
```
|
|
16
|
-
|
|
12
|
+
bundle install
|
|
17
13
|
```
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
### Usage
|
|
20
15
|
Run scaffold. Lets assume our model is 'home' which has a 'title' and a 'body'(Optional)
|
|
21
|
-
|
|
22
16
|
```
|
|
23
|
-
|
|
17
|
+
rails g scaffold home title:string body:text
|
|
24
18
|
```
|
|
25
|
-
|
|
26
19
|
Delete scaffold.scss, from (assets/stylesheets/scaffold.scss).
|
|
27
|
-
|
|
28
20
|
Optional:
|
|
29
|
-
|
|
30
21
|
------>>> Delete the Sass files i.e homes.scss.
|
|
31
22
|
|
|
32
23
|
------>>> Remove the line '*= require_tree .' from 'assets/stylesheets/application.css'(The option allows for the individual inclusion of each css file in the 'application.html.erb' file.)
|
|
33
24
|
|
|
34
|
-
|
|
35
25
|
Delete all the files in views/homes except index.html.erb
|
|
36
26
|
|
|
37
27
|
Generate the necessary files and folders by:
|
|
38
|
-
|
|
39
|
-
N/B: You will be prompted to give the name of your model,
|
|
40
|
-
In this case you'll write 'home' and press enter. All the files will then be in place.
|
|
41
|
-
|
|
28
|
+
N/B: You will be prompted to give the name of your model, In this case you'll write 'home' and press enter. All the files will then be in place.
|
|
42
29
|
```
|
|
43
|
-
|
|
30
|
+
rails g frontview:install
|
|
44
31
|
```
|
|
45
|
-
|
|
46
32
|
Create & Migrate DB
|
|
47
|
-
|
|
48
33
|
```
|
|
49
|
-
|
|
34
|
+
rails db:create && rails db:migrate
|
|
50
35
|
```
|
|
51
|
-
|
|
52
36
|
Finally run the rails server and you are good to go:
|
|
53
|
-
|
|
54
37
|
```
|
|
55
|
-
|
|
38
|
+
rails s
|
|
56
39
|
```
|
|
57
|
-
|
|
58
40
|
Access your web in: localhost:3000
|
|
59
41
|
|
|
60
|
-
|
|
61
42
|
This gem is suitable for a new project. It helps to kickstart everything very fast.
|
|
62
43
|
If everything runs perfectly, don't forget to follow on twitter ========> https://twitter.com/frontview3
|
|
63
44
|
|
|
64
45
|
You can also support the efforts to always update and provide the best themes free for everyone through: ========> https://www.buymeacoffee.com/elibiz
|
|
65
46
|
|
|
66
|
-
## Sample screenshots of the frontview theme:
|
|
47
|
+
## Sample screenshots of the frontview theme(Fully Responsive):
|
|
67
48
|
|
|
68
|
-
|
|
49
|
+
### Home Section:
|
|
69
50
|

|
|
70
51
|
|
|
71
|
-
|
|
72
|
-
|
|
52
|
+
### Introduction Section (Showing Header):
|
|
73
53
|

|
|
74
54
|
|
|
75
|
-
|
|
76
|
-
|
|
55
|
+
### About Us Section:
|
|
77
56
|

|
|
78
57
|
|
|
79
|
-
|
|
80
|
-
|
|
58
|
+
### Our Services Section:
|
|
81
59
|

|
|
82
60
|
|
|
83
|
-
|
|
61
|
+
### Contact Us & Footer Section:
|
|
84
62
|

|
|
85
63
|
|
|
86
|
-
|
|
87
|
-
|
|
64
|
+
### Voilà
|
|
88
65
|
\
|
|
89
66
|
/ \
|
|
90
67
|
/ \
|
|
@@ -108,20 +85,15 @@ You can also support the efforts to always update and provide the best themes fr
|
|
|
108
85
|
\_________/
|
|
109
86
|
|
|
110
87
|
## Development
|
|
111
|
-
|
|
112
88
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
113
89
|
|
|
114
90
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
115
91
|
|
|
116
92
|
## Contributing
|
|
117
|
-
|
|
118
93
|
Bug reports and pull requests are welcome on GitHub at https://github.com/elibiz443/frontview. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/elibiz443/frontview/blob/master/CODE_OF_CONDUCT.md).
|
|
119
94
|
|
|
120
|
-
|
|
121
95
|
## License
|
|
122
|
-
|
|
123
96
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
124
97
|
|
|
125
98
|
## Code of Conduct
|
|
126
|
-
|
|
127
99
|
Everyone interacting in the Frontview project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/elibiz443/frontview/blob/master/CODE_OF_CONDUCT.md).
|
data/assets/banner.jpg
ADDED
|
Binary file
|
data/assets/favicon.png
ADDED
|
Binary file
|
data/assets/sample1.png
CHANGED
|
Binary file
|
data/assets/sample2.png
CHANGED
|
Binary file
|
data/assets/sample3.png
CHANGED
|
Binary file
|
data/assets/sample4.png
CHANGED
|
Binary file
|
data/assets/sample5.png
CHANGED
|
Binary file
|
data/frontview.gemspec
CHANGED
|
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
|
|
32
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.1', '>= 6.1.
|
|
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.1', '>= 6.1.
|
|
37
|
+
spec.add_dependency 'rails', '~> 6.1', '>= 6.1.4.1'
|
|
38
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 © 2021 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
|