mvpkit 0.8.1 → 1.0.0
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/VERSION +1 -1
- data/bin/mvp +0 -1
- data/mvpkit.gemspec +71 -50
- data/package.json +1 -0
- data/project/.babelrc +3 -0
- data/project/.env +15 -0
- data/project/.gitignore +15 -40
- data/project/.iteration +3 -0
- data/project/Gemfile +43 -19
- data/project/Gemfile.lock +237 -165
- data/project/Procfile +2 -1
- data/project/README.md +0 -1
- data/project/app/assets/config/manifest.js +2 -0
- data/project/app/assets/javascripts/application.js +5 -0
- data/project/app/assets/javascripts/templates.js.erb +14 -0
- data/project/app/assets/stylesheets/application.scss +2 -0
- data/project/app/controllers/application_controller.rb +25 -5
- data/project/app/helpers/application_helper.rb +17 -4
- data/project/app/mailers/application_mailer.rb +5 -0
- data/project/app/templates/README.txt +1 -0
- data/project/app/templates/examples/template.mustache +1 -0
- data/project/app/views/examples/mustache.html.erb +25 -3
- data/project/app/views/layouts/_header.html.erb +22 -14
- data/project/app/views/layouts/_notifications.html.erb +10 -0
- data/project/app/views/layouts/application.html.erb +22 -11
- data/project/app/views/layouts/mailer.html.erb +5 -0
- data/project/app/views/layouts/mailer.text.erb +1 -0
- data/project/app/webpack/javascripts/behaviors/example.js +21 -0
- data/project/app/webpack/javascripts/controllers/home.js +15 -0
- data/project/app/webpack/javascripts/lib/clientsidevalidations.js +3 -0
- data/project/app/webpack/javascripts/lib/selectize.js +1 -0
- data/project/app/webpack/javascripts/pack.js +47 -0
- data/project/app/webpack/stylesheets/config/variables.scss +41 -0
- data/project/app/webpack/stylesheets/init/reset.scss +48 -0
- data/project/app/webpack/stylesheets/layout/main.scss +7 -0
- data/project/app/webpack/stylesheets/pack.scss +20 -0
- data/project/app/webpack/stylesheets/skin/alerts.scss +3 -0
- data/project/app/webpack/stylesheets/skin/buttons.scss +38 -0
- data/project/app/webpack/stylesheets/skin/hero.scss +45 -0
- data/project/app/webpack/stylesheets/skin/images.scss +13 -0
- data/project/app/webpack/stylesheets/skin/progress.scss +3 -0
- data/project/app/webpack/stylesheets/skin/selectize.scss +30 -0
- data/project/{assets/stylesheets/lib → app/webpack/stylesheets/skin}/spacing.scss +0 -2
- data/project/app/webpack/stylesheets/skin/tables.scss +10 -0
- data/project/app/webpack/stylesheets/skin/treatments.scss +3 -0
- data/project/app/webpack/stylesheets/skin/turbolinks.scss +4 -0
- data/project/app/webpack/stylesheets/skin/typography.scss +116 -0
- data/project/bin/rails +1 -6
- data/project/bin/rake +0 -5
- data/project/bin/setup +17 -17
- data/project/bin/update +29 -0
- data/project/config/application.rb +5 -4
- data/project/config/boot.rb +1 -1
- data/project/config/cable.yml +9 -0
- data/project/config/environment.rb +1 -1
- data/project/config/environments/development.rb +29 -26
- data/project/config/environments/production.rb +32 -19
- data/project/config/environments/test.rb +6 -6
- data/project/config/initializers/algolia.rb +7 -0
- data/project/config/initializers/application_controller_renderer.rb +6 -0
- data/project/config/initializers/assets.rb +23 -2
- data/project/config/initializers/client_side_validations.rb +20 -0
- data/project/config/initializers/cookies_serializer.rb +2 -0
- data/project/config/initializers/date_formats.rb +6 -0
- data/project/config/initializers/fingerprint.rb +1 -0
- data/project/config/initializers/geocoder.rb +9 -0
- data/project/config/initializers/new_framework_defaults.rb +23 -0
- data/project/config/initializers/rails_admin.rb +13 -7
- data/project/config/initializers/sidekiq.rb +19 -0
- data/project/config/initializers/simple_form.rb +2 -0
- data/project/config/initializers/stripe.rb +8 -0
- data/project/config/initializers/wrap_parameters.rb +2 -2
- data/project/config/puma.rb +47 -0
- data/project/config/routes.rb +4 -2
- data/project/config/secrets.yml +17 -3
- data/project/config/sidekiq.yml +6 -0
- data/project/config/spring.rb +6 -0
- data/project/config/stripe/coupons.rb +39 -0
- data/project/config/stripe/plans.rb +32 -0
- data/project/lib/tasks/heroku.rake +10 -2
- data/project/lib/tasks/migrations.rake +3 -0
- data/project/package.json +19 -28
- data/project/public/favicon.ico +0 -0
- data/project/webpack.config.js +62 -53
- metadata +70 -49
- data/project/app/decorators/.keep +0 -0
- data/project/app/mailers/.keep +0 -0
- data/project/app/views/layouts/_includes.html.erb +0 -7
- data/project/app/views/layouts/modal.html.erb +0 -14
- data/project/assets/images/.keep +0 -0
- data/project/assets/images/favicon.ico +0 -0
- data/project/assets/javascripts/controllers/home.coffee +0 -15
- data/project/assets/javascripts/pack.js +0 -9
- data/project/assets/stylesheets/config/variables.scss +0 -876
- data/project/assets/stylesheets/layout/basic.scss +0 -6
- data/project/assets/stylesheets/layout/carousel.scss +0 -127
- data/project/assets/stylesheets/layout/cover.scss +0 -129
- data/project/assets/stylesheets/skin/style.scss +0 -16
- data/project/assets/stylesheets/style.scss +0 -8
- data/project/config/initializers/mustache.rb +0 -7
- data/project/log/development.log +0 -48216
- data/project/log/production.log +0 -0
- data/project/public/404.html +0 -67
- data/project/public/422.html +0 -67
- data/project/public/500.html +0 -66
- data/project/public/assets/javascripts/448c34a56d699c29117adc64c43affeb.woff2 +0 -0
- data/project/public/assets/javascripts/89889688147bd7575d6327160d64e760.svg +0 -288
- data/project/public/assets/javascripts/e18bbf611f2a2e43afc071aa2f4e1512.ttf +0 -0
- data/project/public/assets/javascripts/f4769f9bdb7466be65088239c12046d1.eot +0 -0
- data/project/public/assets/javascripts/fa2772327f55d8198301fdb8bcfc8158.woff +0 -0
- data/project/public/assets/javascripts/pack.js +0 -31367
- data/project/public/assets/javascripts/pack.js.map +0 -1
- data/project/public/assets/pack.js +0 -17220
- data/project/public/assets/style.css +0 -7477
- /data/app/views/layouts/{minimum_viable_product → mvp}/_instrumentation.html.erb +0 -0
- /data/app/views/layouts/{minimum_viable_product → mvp}/_meta.html.erb +0 -0
- /data/app/views/layouts/{minimum_viable_product → mvp}/application.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/_example.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_buttons.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_forms.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_header.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_panels.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_tables.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap/_typography.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/bootstrap.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/_grouping.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/elements/partials/_row_groups_of.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/index.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/basic.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/carousel.html.erb +0 -0
- /data/app/views/{minimum_viable_product → mvp}/styleguide/layouts/cover.html.erb +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* GLOBAL STYLES
|
|
2
|
-
-------------------------------------------------- */
|
|
3
|
-
/* Padding below the footer and lighter body text */
|
|
4
|
-
|
|
5
|
-
body.body-carousel {
|
|
6
|
-
/* Special class on .container surrounding .navbar, used for positioning it into place. */
|
|
7
|
-
.navbar-wrapper {
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: 0;
|
|
10
|
-
right: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
z-index: 20;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Flip around the padding for proper display in narrow viewports */
|
|
16
|
-
.navbar-wrapper > .container {
|
|
17
|
-
padding-right: 0;
|
|
18
|
-
padding-left: 0;
|
|
19
|
-
}
|
|
20
|
-
.navbar-wrapper .navbar {
|
|
21
|
-
padding-right: 15px;
|
|
22
|
-
padding-left: 15px;
|
|
23
|
-
}
|
|
24
|
-
.navbar-wrapper .navbar .container {
|
|
25
|
-
width: auto;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/* CUSTOMIZE THE CAROUSEL
|
|
30
|
-
-------------------------------------------------- */
|
|
31
|
-
|
|
32
|
-
/* Carousel base class */
|
|
33
|
-
.carousel {
|
|
34
|
-
height: 500px;
|
|
35
|
-
}
|
|
36
|
-
/* Since positioning the image, we need to help out the caption */
|
|
37
|
-
.carousel-caption {
|
|
38
|
-
z-index: 10;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Declare heights because of positioning of img element */
|
|
42
|
-
.carousel .item {
|
|
43
|
-
height: 500px;
|
|
44
|
-
background-color: #777;
|
|
45
|
-
}
|
|
46
|
-
.carousel-inner > .item > img {
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: 0;
|
|
49
|
-
left: 0;
|
|
50
|
-
min-width: 100%;
|
|
51
|
-
height: 500px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/* MARKETING CONTENT
|
|
56
|
-
-------------------------------------------------- */
|
|
57
|
-
|
|
58
|
-
/* Center align the text within the three columns below the carousel */
|
|
59
|
-
.marketing .col-lg-4 {
|
|
60
|
-
margin-bottom: 20px;
|
|
61
|
-
text-align: center;
|
|
62
|
-
}
|
|
63
|
-
.marketing h2 {
|
|
64
|
-
font-weight: normal;
|
|
65
|
-
}
|
|
66
|
-
.marketing .col-lg-4 p {
|
|
67
|
-
margin-right: 10px;
|
|
68
|
-
margin-left: 10px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/* Featurettes
|
|
73
|
-
------------------------- */
|
|
74
|
-
|
|
75
|
-
.featurette-divider {
|
|
76
|
-
margin: 80px 0; /* Space out the Bootstrap <hr> more */
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Thin out the marketing headings */
|
|
80
|
-
.featurette-heading {
|
|
81
|
-
font-weight: 300;
|
|
82
|
-
line-height: 1;
|
|
83
|
-
letter-spacing: -1px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
/* RESPONSIVE CSS
|
|
88
|
-
-------------------------------------------------- */
|
|
89
|
-
|
|
90
|
-
@media (min-width: 768px) {
|
|
91
|
-
/* Navbar positioning foo */
|
|
92
|
-
.navbar-wrapper {
|
|
93
|
-
margin-top: 20px;
|
|
94
|
-
}
|
|
95
|
-
.navbar-wrapper .container {
|
|
96
|
-
padding-right: 15px;
|
|
97
|
-
padding-left: 15px;
|
|
98
|
-
}
|
|
99
|
-
.navbar-wrapper .navbar {
|
|
100
|
-
padding-right: 0;
|
|
101
|
-
padding-left: 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* The navbar becomes detached from the top, so we round the corners */
|
|
105
|
-
.navbar-wrapper .navbar {
|
|
106
|
-
border-radius: 4px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* Bump up size of carousel content */
|
|
110
|
-
.carousel-caption p {
|
|
111
|
-
margin-bottom: 20px;
|
|
112
|
-
font-size: 21px;
|
|
113
|
-
line-height: 1.4;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.featurette-heading {
|
|
117
|
-
font-size: 50px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@media (min-width: 992px) {
|
|
122
|
-
.featurette-heading {
|
|
123
|
-
margin-top: 120px;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
html {
|
|
2
|
-
height: 100%;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
body.body-cover {
|
|
6
|
-
height: 100%;
|
|
7
|
-
text-align: center;
|
|
8
|
-
|
|
9
|
-
/* Extra markup and styles for table-esque vertical and horizontal centering */
|
|
10
|
-
.site-wrapper {
|
|
11
|
-
display: table;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%; /* For at least Firefox */
|
|
14
|
-
min-height: 100%;
|
|
15
|
-
}
|
|
16
|
-
.site-wrapper-inner {
|
|
17
|
-
display: table-cell;
|
|
18
|
-
vertical-align: top;
|
|
19
|
-
}
|
|
20
|
-
.cover-container {
|
|
21
|
-
margin-right: auto;
|
|
22
|
-
margin-left: auto;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Padding for spacing */
|
|
26
|
-
.inner {
|
|
27
|
-
padding: 2rem;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/*
|
|
32
|
-
* Header
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
.masthead {
|
|
36
|
-
margin-bottom: 2rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.masthead-brand {
|
|
40
|
-
margin-bottom: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.nav-masthead .nav-link {
|
|
44
|
-
padding: .25rem 0;
|
|
45
|
-
font-weight: bold;
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
border-bottom: .25rem solid transparent;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.nav-masthead .nav-link:hover,
|
|
51
|
-
.nav-masthead .nav-link:focus {
|
|
52
|
-
border-bottom-color: rgba(155,155,155,.25);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.nav-masthead .nav-link + .nav-link {
|
|
56
|
-
margin-left: 1rem;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.nav-masthead .active {
|
|
60
|
-
// color: #fff;
|
|
61
|
-
// border-bottom-color: #fff;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@media (min-width: 48em) {
|
|
65
|
-
.masthead-brand {
|
|
66
|
-
float: left;
|
|
67
|
-
}
|
|
68
|
-
.nav-masthead {
|
|
69
|
-
float: right;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/*
|
|
75
|
-
* Cover
|
|
76
|
-
*/
|
|
77
|
-
|
|
78
|
-
.cover {
|
|
79
|
-
padding: 0 1.5rem;
|
|
80
|
-
}
|
|
81
|
-
.cover .btn-lg {
|
|
82
|
-
padding: .75rem 1.25rem;
|
|
83
|
-
font-weight: bold;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
/*
|
|
88
|
-
* Footer
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
.mastfoot {
|
|
92
|
-
// color: rgba(255,255,255,.5);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
/*
|
|
97
|
-
* Affix and center
|
|
98
|
-
*/
|
|
99
|
-
|
|
100
|
-
@media (min-width: 40em) {
|
|
101
|
-
/* Pull out the header and footer */
|
|
102
|
-
.masthead {
|
|
103
|
-
position: fixed;
|
|
104
|
-
top: 0;
|
|
105
|
-
}
|
|
106
|
-
.mastfoot {
|
|
107
|
-
position: fixed;
|
|
108
|
-
bottom: 0;
|
|
109
|
-
}
|
|
110
|
-
/* Start the vertical centering */
|
|
111
|
-
.site-wrapper-inner {
|
|
112
|
-
vertical-align: middle;
|
|
113
|
-
}
|
|
114
|
-
/* Handle the widths */
|
|
115
|
-
.masthead,
|
|
116
|
-
.mastfoot,
|
|
117
|
-
.cover-container {
|
|
118
|
-
width: 100%; /* Must be percentage or pixels for horizontal alignment */
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@media (min-width: 62em) {
|
|
123
|
-
.masthead,
|
|
124
|
-
.mastfoot,
|
|
125
|
-
.cover-container {
|
|
126
|
-
width: 42rem;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
SmtRails.configure do |config|
|
|
2
|
-
config.template_extension = 'mustache' # change extension of mustache templates
|
|
3
|
-
config.action_view_key = 'mustache' # change name of key for rendering in ActionView mustache template
|
|
4
|
-
config.template_namespace = 'SMT' # change templates namespace in javascript
|
|
5
|
-
# config.template_base_path = Rails.root.join("assets", "templates") # templates dir
|
|
6
|
-
config.template_base_path = Rails.root.join("app", "views")
|
|
7
|
-
end
|