spina-conferences-primer_theme 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9af98852b5d516ce1dae3c7ebfd570ac23300b7a5037b0e1968686a3b7d318
|
4
|
+
data.tar.gz: e8d9d34229bb3fe09261aedbf8d1fec41e905df4e6fb1d11ea932f377ffa2827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bcb8c8d1527b954ab2dd6a4bf3e9869b29d2dbec26e541abadd4a8a2a42638337ed5ff07b45f943b77688f2173b8c6e71e5dc59d27d63960458cd24b59e01b6
|
7
|
+
data.tar.gz: 32493b5f6c0e48b4dd3dcd5b381e0886365fc322ac8aacd5d1043490dec3cd541124ac565176ec7bb9ac86231ad6b3904bea7e09b91b38a926d03ca181fed42d
|
@@ -1,9 +1,8 @@
|
|
1
1
|
.Header.px-3.px-md-4.px-lg-5.flex-wrap.flex-lg-nowrap
|
2
2
|
.Header-item.mt-n1.mb-n1= link_to render('logo'), root_path, class: 'Header-link'
|
3
3
|
%details.details-reset.d-lg-none{ style: 'display: contents' }
|
4
|
-
%summary.Header-item
|
5
|
-
|
6
|
-
= render Primer::OcticonComponent.new('three-bars', height: 24)
|
4
|
+
%summary.Header-item.Header-link.btn-link{ type: 'button' }
|
5
|
+
= render Primer::OcticonComponent.new('three-bars', height: 24)
|
7
6
|
.Header-item.Header-item--full.flex-column.width-full.flex-order-1.mr-0.mt-3
|
8
7
|
= render partial: 'mobile_navigation_items'
|
9
8
|
= render partial: 'navigation_item', collection: main_navigation_items, cached: true
|
@@ -1,11 +1,11 @@
|
|
1
1
|
.Header-item.position-relative.d-none.d-lg-flex
|
2
|
-
- if navigation_item.has_children?
|
2
|
+
- if navigation_item.has_children? && navigation_item.children.regular_pages.in_menu.live.sorted.any?
|
3
3
|
%details.details-reset.details-overlay
|
4
4
|
%summary.Header-link{ role: 'button', aria: { haspopup: 'menu' } }
|
5
5
|
= navigation_item.menu_title
|
6
6
|
= render Primer::OcticonComponent.new('chevron-down')
|
7
7
|
%ul.dropdown-menu.dropdown-menu-sw
|
8
|
-
- navigation_item.children.each do |child|
|
8
|
+
- navigation_item.children.regular_pages.in_menu.live.sorted.each do |child|
|
9
9
|
%li= link_to child.menu_title, child.materialized_path, class: 'dropdown-item'
|
10
10
|
- elsif navigation_item.is_root?
|
11
11
|
= link_to navigation_item.menu_title, navigation_item.materialized_path, class: %w[Header-link]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina-conferences-primer_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Malčić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|