cloudrider 0.1.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a34e69e57c26b02c4151447c432b7c52815baa6
4
- data.tar.gz: b0fa4cc7c775f2b292c72bf5d40402b81aa37419
3
+ metadata.gz: 05a29639cf08f4f2e7362d0cc0237aad78986877
4
+ data.tar.gz: 13ef20006e8fdb367f1eaa3d641c7e464b413a62
5
5
  SHA512:
6
- metadata.gz: 132d9bc2a294e8cccb980e8f64428eed3b1df45e9a9c2f71838b4622d3454a24f80a1f283bf266eec6acb068903ece4920ff56cdff89bc85cf149f094f919234
7
- data.tar.gz: 156976ea899fc871df56f7fc923c4369fc864a2e0ddc1a8ff4ef4ae855c0fd0deceba55fed31683c2d3835771fb0508fd04993e15f4a6ba45eecf27cff4f9305
6
+ metadata.gz: 0f39683895a5950e036f581782a6e4bcce630d43bf1f1bbc0a5146b0a218bebd86bafe02145157411fb79e29cade52ff5a4d5d4dca0a9ebd342d732a5aac7cda
7
+ data.tar.gz: f5bc75eb145b4e79e7c2fd53f7ae8c385e907f2516fa38fcc43cbd7f2fd1b076a436530890fb7d4a5053f710d60476eff115528b9ed734c95dbea28d972c36dc
@@ -1,9 +1,11 @@
1
1
  .row
2
2
  .medium-push-2.large-push-2.large-10.medium-10.small-12.columns
3
- h1.footer-title <%= my_company_tagline %>
3
+ h1.footer-title
4
+ tr-span en="some company tagline"
4
5
  .footer-divider
5
6
  p.copyright <%= my_company_name %>. All Rights Reserved
6
7
  .medium-pull-10.large-pull-10.large-2.medium-2.small-12.columns
7
8
  select-locale class="lang-btn"
8
9
  button click="displayModal 'login'" class="admin-btn button secondary expand"
9
- span.capitalize admin
10
+ span.capitalize
11
+ tr-span en="admin"
@@ -11,8 +11,8 @@
11
11
  }
12
12
  }
13
13
  .product-image {
14
- max-width: 75px;
15
- max-height: 75px;
14
+ width: 75px;
15
+ max-height: 100px;
16
16
  }
17
17
  .media-texts {
18
18
  font-size: 1.45rem;
@@ -0,0 +1,11 @@
1
+ .row
2
+ .medium-push-2.large-push-2.large-10.medium-10.small-12.columns
3
+ h1.footer-title
4
+ tr-span en=<%= my_company_tagline.inspect %>
5
+ .footer-divider
6
+ p.copyright <%= my_company_name %>. All Rights Reserved
7
+ .medium-pull-10.large-pull-10.large-2.medium-2.small-12.columns
8
+ select-locale class="lang-btn"
9
+ button click="displayModal 'login'" class="admin-btn button secondary expand"
10
+ span.capitalize
11
+ tr-span en="admin"
@@ -8,6 +8,9 @@
8
8
  @import 'apiv1/components/hero-splash';
9
9
  @import 'apiv1/components/introductory-lobby';
10
10
  @import 'apiv1/components/products-showcase';
11
+ @import 'apiv1/components/product-display';
12
+ @import 'apiv1/components/products-catalog';
13
+ @import 'apiv1/components/product-listing';
11
14
  @import 'apiv1/components/table-booths';
12
15
  @import 'apiv1/components/site-footer';
13
16
  @import 'apiv1/components/flash-message';
@@ -15,6 +18,7 @@
15
18
  @import 'apiv1/components/block-grid-pictures';
16
19
  @import 'apiv1/components/fancy-paginator';
17
20
  @import "apiv1/modals/login";
21
+ @import 'apiv1/products/product/show';
18
22
 
19
23
  body {
20
24
  background: {
@@ -13,8 +13,8 @@
13
13
  }
14
14
  }
15
15
  .product-image {
16
- max-width: 75px;
17
- max-height: 75px;
16
+ width: 75px;
17
+ max-height: 100px;
18
18
  }
19
19
  .media-texts {
20
20
  font-size: 1.45rem;
@@ -0,0 +1,15 @@
1
+ class Cloudrider::Apiv1::SiteFooterComponent < Cloudrider::Apiv1::Base
2
+ class Context
3
+ def my_company_name
4
+ "Cloudrider"
5
+ end
6
+ def my_company_tagline
7
+ "Some sort of company tagline"
8
+ end
9
+ end
10
+
11
+ private
12
+ def _context
13
+ Context.new
14
+ end
15
+ end
@@ -30,7 +30,8 @@ class Cloudrider::ApplicationCommander
30
30
  _products_catalog,
31
31
  _products_showcase,
32
32
  _site_nav,
33
- _table_booths
33
+ _table_booths,
34
+ _site_footer
34
35
  ].flatten.map { |ac| ac.new _varisset_style }.map(&:protofile)
35
36
  end
36
37
 
@@ -68,6 +69,9 @@ class Cloudrider::ApplicationCommander
68
69
  def _table_booths
69
70
  [Cloudrider::Apiv1::TableBoothsComponent, Cloudrider::Apiv1::TableBoothsSass]
70
71
  end
72
+ def _site_footer
73
+ [Cloudrider::Apiv1::SiteFooterComponent]
74
+ end
71
75
  def _varisset_name
72
76
  @params[:name]
73
77
  end
@@ -94,6 +98,8 @@ class Cloudrider::ApplicationCommander
94
98
  _products_catalog
95
99
  when "products-showcase"
96
100
  _products_showcase
101
+ when "site-footer"
102
+ _site_footer
97
103
  when "site-nav"
98
104
  _site_nav
99
105
  when "table-booths"
@@ -113,6 +119,7 @@ class Cloudrider::ApplicationCommander
113
119
  "products-catalog",
114
120
  "products-showcase",
115
121
  "site-nav",
122
+ "site-footer",
116
123
  "table-booths"
117
124
  ]
118
125
  end
@@ -1,3 +1,3 @@
1
1
  module Cloudrider
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -79,7 +79,6 @@ class Cloudrider::Generators::ClientGenerator < Rails::Generators::Base
79
79
  "promise-button",
80
80
  "search-and-filter",
81
81
  "select-locale",
82
- "site-footer",
83
82
  "tree-taxon-li",
84
83
  "tree-taxon-ul",
85
84
  "tree-taxon-wrapper"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudrider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Chen
@@ -359,6 +359,7 @@ files:
359
359
  - generica/app/varissets/javascripts/templates/components/product-listing.emblem.erb
360
360
  - generica/app/varissets/javascripts/templates/components/products-catalog.emblem.erb
361
361
  - generica/app/varissets/javascripts/templates/components/products-showcase.emblem.erb
362
+ - generica/app/varissets/javascripts/templates/components/site-footer.emblem.erb
362
363
  - generica/app/varissets/javascripts/templates/components/site-nav.emblem.erb
363
364
  - generica/app/varissets/javascripts/templates/components/table-booths.emblem.erb
364
365
  - generica/app/varissets/javascripts/templates/index.emblem.erb
@@ -509,6 +510,7 @@ files:
509
510
  - lib/cloudrider/apiv1/products_catalog_sass.rb
510
511
  - lib/cloudrider/apiv1/products_showcase_component.rb
511
512
  - lib/cloudrider/apiv1/products_showcase_sass.rb
513
+ - lib/cloudrider/apiv1/site_footer_component.rb
512
514
  - lib/cloudrider/apiv1/site_nav_component.rb
513
515
  - lib/cloudrider/apiv1/site_nav_sass.rb
514
516
  - lib/cloudrider/apiv1/table_booths_component.rb