spina-conferences-primer_theme 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/spina/application/_mobile_navigation_item.html.haml +12 -0
- data/app/views/spina/application/_mobile_navigation_items.html.haml +3 -0
- data/app/views/spina/application/_navigation.html.haml +3 -3
- data/app/views/spina/application/_navigation_item.html.haml +11 -11
- data/app/views/spina/conferences/primer_theme/conferences/show.html.haml +1 -1
- data/lib/spina/conferences/primer_theme/version.rb +1 -1
- metadata +3 -2
- data/app/views/spina/application/_navigation_items.html.haml +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 156c5b1b40b3e0303fd92de0e04a6a62fb146698d85ddd59ed801ab2c78eab4f
|
4
|
+
data.tar.gz: 55f7bd8092847e2f43a4859355c2eb0c24511a4f524bb202adc9276a32bbe5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c32c1e6944e047252b8b87a56a6fab462d66959d9e6b76ff64b6bafbe59ef9b679823a8ad7cf1389316ee3869a4c08641af42d173025a8d5b89d0ddd5a2d8e62
|
7
|
+
data.tar.gz: 46d2fe6eb4b871aed7b220851bc0c70b327db56721ef72b86578fa35383152e85e7bb3738aeea05ed07ddcaf59d8dd2333d2b24182d4c311a1e18785eaa022f0
|
@@ -0,0 +1,12 @@
|
|
1
|
+
.Header-item.mr-0.border-top.border-white-fade-15.flex-column.flex-items-stretch
|
2
|
+
- if navigation_item.has_children?
|
3
|
+
%details.details-reset
|
4
|
+
%summary.Header-link.py-2
|
5
|
+
= navigation_item.menu_title
|
6
|
+
= render Primer::OcticonComponent.new('chevron-down')
|
7
|
+
%ul.list-style-none
|
8
|
+
- navigation_item.children.each do |child|
|
9
|
+
%li= link_to child.menu_title, child.materialized_path, class: %w[d-block py-2 pl-3 border-top border-white-fade text-white]
|
10
|
+
- elsif navigation_item.is_root?
|
11
|
+
= link_to navigation_item.menu_title, navigation_item.materialized_path,
|
12
|
+
class: %w[Header-link py-2]
|
@@ -0,0 +1,3 @@
|
|
1
|
+
%nav.d-flex.flex-column.flex-self-stretch
|
2
|
+
= render partial: 'mobile_navigation_item', collection: main_navigation_items, cached: true, as: :navigation_item
|
3
|
+
.Header-item.mr-0.border-top.border-white-fade-15= link_to 'Conferences', frontend_conferences_url, class: %w[Header-link py-2 py-lg-0]
|
@@ -5,6 +5,6 @@
|
|
5
5
|
%button.Header-link.btn-link{ type: 'button' }
|
6
6
|
= render Primer::OcticonComponent.new('three-bars', height: 24)
|
7
7
|
.Header-item.Header-item--full.flex-column.width-full.flex-order-1.mr-0.mt-3
|
8
|
-
= render partial: '
|
9
|
-
|
10
|
-
|
8
|
+
= render partial: 'mobile_navigation_items'
|
9
|
+
= render partial: 'navigation_item', collection: main_navigation_items, cached: true
|
10
|
+
.Header-item.d-none.d-lg-flex= link_to 'Conferences', frontend_conferences_url, class: %w[Header-link]
|
@@ -1,11 +1,11 @@
|
|
1
|
-
-
|
2
|
-
|
3
|
-
%
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
.Header-item.position-relative.d-none.d-lg-flex
|
2
|
+
- if navigation_item.has_children?
|
3
|
+
%details.details-reset.details-overlay
|
4
|
+
%summary.Header-link{ role: 'button', aria: { haspopup: 'menu' } }
|
5
|
+
= navigation_item.menu_title
|
6
|
+
= render Primer::OcticonComponent.new('chevron-down')
|
7
|
+
%ul.dropdown-menu.dropdown-menu-sw
|
8
|
+
- navigation_item.children.each do |child|
|
9
|
+
%li= link_to child.menu_title, child.materialized_path, class: 'dropdown-item'
|
10
|
+
- elsif navigation_item.is_root?
|
11
|
+
= link_to navigation_item.menu_title, navigation_item.materialized_path, class: %w[Header-link]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
- content_for(:header) { render 'header' }
|
5
5
|
|
6
6
|
= turbo_frame_tag 'conference_tabs' do
|
7
|
-
= render Primer::UnderlineNavComponent.new(label: t(:'.
|
7
|
+
= render Primer::UnderlineNavComponent.new(label: t(:'.conference_navigation')) do |component|
|
8
8
|
- component.tab(href: frontend_conference_url(@conference, tab: 'information', presentation_type: @presentation_type&.id),
|
9
9
|
aria: { selected: (@tab == 'information').to_s }, classes: 'UnderlineNav-item', role: 'tab') do
|
10
10
|
= t(:'.tabs.information')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spina-conferences-primer_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Malčić
|
@@ -314,9 +314,10 @@ files:
|
|
314
314
|
- app/views/spina/application/_footer_content.html.haml
|
315
315
|
- app/views/spina/application/_list_item.html.haml
|
316
316
|
- app/views/spina/application/_logo.html.haml
|
317
|
+
- app/views/spina/application/_mobile_navigation_item.html.haml
|
318
|
+
- app/views/spina/application/_mobile_navigation_items.html.haml
|
317
319
|
- app/views/spina/application/_navigation.html.haml
|
318
320
|
- app/views/spina/application/_navigation_item.html.haml
|
319
|
-
- app/views/spina/application/_navigation_items.html.haml
|
320
321
|
- app/views/spina/application/_text.html.haml
|
321
322
|
- app/views/spina/conferences/primer_theme/conferences/_conference.html.haml
|
322
323
|
- app/views/spina/conferences/primer_theme/conferences/_conference.ics.erb
|
@@ -1,3 +0,0 @@
|
|
1
|
-
%nav.d-flex.flex-column.flex-lg-row.flex-self-stretch.flex-lg-self-auto
|
2
|
-
= render partial: 'navigation_item', collection: main_navigation_items, cached: true
|
3
|
-
= link_to 'Conferences', frontend_conferences_url, class: %w[Header-link mt-lg-n3 mb-lg-n3 py-2 py-lg-3 mr-0 mr-lg-3 border-top border-lg-top-0 border-white-fade-15]
|