spina-conferences-primer_theme-fork 1.0.0.rc4 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f6a7caf015d10b4b0c43b0e99fa682a26da63c770b2d93ef4b11891e30b48c8
4
- data.tar.gz: 4d95d757a0e0e4ee920e70ef564cd8729e223ba61091a8f464571791fb8d5df4
3
+ metadata.gz: a6e459aff2a4320b3c8e5e7478b46ad6ff4c320774c5ace95f584cc6ebbacd1e
4
+ data.tar.gz: 56538fef4bbef7b06b1fa32581d2a2f4a1f6cc5f359433d9b4bf2372c710cd6c
5
5
  SHA512:
6
- metadata.gz: f031b0f95f0f83b6740c7ac27f34b7d30c38c5fef26b96a17b10e7c592efff88362276d1733c69da93de6c2a3a42f17d1196f32565298edf1b4020e49ecbf55c
7
- data.tar.gz: 1b0b5603a18de7dcf81f060b6ff8a27df9e08ca62e7527d41c87c71d455ad4a8b6b7d4849571119a9691bac18f4922000c81e2dd28202541f217318a963961bc
6
+ metadata.gz: 0fbeecf7301c1c774cd95121dc367c7863d86fca65831f6d01d66fc21a3aa2329a2f7376fdf878da8e53c4932709671c639933e09a3f32fe2934ffd07a5f5d2f
7
+ data.tar.gz: c306fa6fdb4bfcc7668985e478096e817e2f1fd11143cc9857e50b5a9ef96f9645334ddf5d0a6de49dcf6d3caba35d259f8993a30d8f83a75c533732124f6209
@@ -25962,3 +25962,11 @@ address {
25962
25962
  width: 100%;
25963
25963
  height: 70vh;
25964
25964
  }
25965
+
25966
+ img {
25967
+ background-color: white !important;
25968
+ }
25969
+
25970
+ .breadcrumb-item {
25971
+ white-space: normal !important;
25972
+ }
@@ -42,3 +42,9 @@ address
42
42
  border: none
43
43
  width: 100%
44
44
  height: 70vh
45
+
46
+ img
47
+ background-color: white !important
48
+
49
+ .breadcrumb-item
50
+ white-space: normal !important
@@ -6,7 +6,7 @@
6
6
  - if content(:carousel).present?
7
7
  .height-full.d-flex.flex-column.flex-justify-between{data: { controller: :slideshow, slideshow_incrementer: 0, slideshow_advance: true, slideshow_delay: 20000} }
8
8
  - content(:carousel).each_with_index do |carousel_item, index|
9
- = render partial: 'conferences_primer_theme/partials/homepage_item', locals: { item: carousel_item }
9
+ = render partial: 'conferences_primer_theme/partials/homepage_item', locals: { item: carousel_item, index: index }
10
10
  - if content(:carousel).many?
11
11
  .container-lg.height-full.d-flex.flex-column-reverse.mb-8{ style: 'z-index: 5' }
12
12
  = render(Primer::ButtonGroup.new) do |component|
@@ -1,4 +1,4 @@
1
- %div{ data: { slideshow_target: 'slide' } }
1
+ %div{ data: { slideshow_target: 'slide' }, hidden: (index != 0) }
2
2
  - if item.content(:background_image).present?
3
3
  = render Primer::BoxComponent.new(position: :absolute, top: false, left: false, right: false, bottom: false, style: 'z-index: 1') do
4
4
  = image_tag(main_app.url_for(item.content(:background_image).variant(resize_to_limit: [1680, 1680])),
@@ -9,11 +9,11 @@
9
9
  class: %w[width-full height-full])
10
10
  .container-lg.p-responsive.position-relative.color-text-white.height-full{ style: 'z-index: 3'}
11
11
  = render Primer::BoxComponent.new(py: [3, nil, nil, 6]) do
12
- %div{ style: 'text-shadow: 0 1px 1px #01040940, 0 1px 25px #010409bf;' }
12
+ %div{ style: 'color: var(--color-scale-white); text-shadow: 0 1px 1px #01040940, 0 1px 25px #010409bf;' }
13
13
  = render(Primer::HeadingComponent.new(tag: :h1, classes: 'h000-mktg lh-condensed-ultra')) do
14
14
  = item.content(:title)
15
- %div{ style: 'text-shadow: 0 1px 1px rgba(var(--color-scale-black), 0.25), 0 1px 25px rgba(var(--color-scale-black), 0.75);' }
16
- = render(Primer::Markdown.new(my: 4)) do
15
+ %div{ style: 'color: var(--color-scale-white); text-shadow: 0 1px 1px #010409bf, 0 1px 25px #010409bf;' }
16
+ = render(Primer::Markdown.new(my: 4, font_size: 3)) do
17
17
  = item.content.html(:description).to_s
18
18
  - if item.content(:url).present?
19
19
  = link_to t('.more_info'), item.content(:url),
@@ -14,6 +14,6 @@
14
14
  = render Primer::Beta::Blankslate.new do |blankslate|
15
15
  - blankslate.visual_icon(icon: 'calendar')
16
16
  - blankslate.heading(tag: :h3).with_content(t(:'.no_events'))
17
- = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
17
+ = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
18
18
  - blankslate.visual_icon(icon: 'calendar')
19
19
  - blankslate.heading(tag: :h3).with_content(t(:'.no_matching_events'))
@@ -24,9 +24,9 @@
24
24
  locals: { conference: @conference }, cached: -> presentation { [presentation, presentation.presenters] }
25
25
  = paginate @presentations.sorted, views_prefix: 'spina/conferences/primer_theme/conferences'
26
26
  - else
27
- = render Primer::Beta::Blankslate.new do |blankslate|
27
+ = render Primer::Beta::Blankslate.new do |blankslate|
28
+ - blankslate.visual_icon(icon: 'mortar-board')
29
+ - blankslate.heading(tag: :h3).with_content(t(:'.no_presentations'))
30
+ = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
28
31
  - blankslate.visual_icon(icon: 'mortar-board')
29
- - blankslate.heading(tag: :h3).with_content(t(:'.no_presentations'))
30
- = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
31
- - blankslate.visual_icon(icon: 'mortar-board')
32
- - blankslate.heading(tag: :h3).with_content(t(:'.no_matching_presentations'))
32
+ - blankslate.heading(tag: :h3).with_content(t(:'.no_matching_presentations'))
@@ -21,6 +21,6 @@
21
21
  = render Primer::Beta::Blankslate.new do |blankslate|
22
22
  - blankslate.visual_icon(icon: 'mortar-board')
23
23
  - blankslate.heading(tag: :h3).with_content(t(:'.no_conferences'))
24
- = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }) do |blankslate|
24
+ = render Primer::Beta::Blankslate.new(data: { 'filter-empty-state': true }, hidden: true) do |blankslate|
25
25
  - blankslate.visual_icon(icon: 'mortar-board')
26
26
  - blankslate.heading(tag: :h3).with_content(t(:'.no_matching_conferences'))
@@ -3,7 +3,7 @@
3
3
 
4
4
  - content_for(:header) { render 'header' }
5
5
 
6
- = turbo_frame_tag 'conference_tabs' do
6
+ = turbo_frame_tag 'conference_tabs', target: '_top' do
7
7
  = render Primer::Alpha::UnderlineNav.new(tag: :div, label: t(:'.conference_navigation')) do |component|
8
8
  - component.tab(href: frontend_conference_path(@conference, tab: 'information', presentation_type: @presentation_type&.id),
9
9
  selected: (@tab == 'information'), id: 'information') do
@@ -22,6 +22,30 @@
22
22
  - case @tab
23
23
  - when 'information'
24
24
  - cache [@conference, @tab] do
25
+ = render Primer::BoxComponent.new(mt: 4,
26
+ col: [12, nil, 5, nil],
27
+ float: [nil, nil, :right, nil],
28
+ border: true,
29
+ border_radius: 3,
30
+ p: 3) do
31
+ - if @conference.content(:documents).present?
32
+ = render Primer::SubheadComponent.new do |component|
33
+ = component.heading { t :'.documents.title' }
34
+ %ul
35
+ - repeater @conference.content(:documents) do |document|
36
+ %li.list-style-none.py-1.d-flex.flex-items-center
37
+ = render Primer::BoxComponent.new(flex: :auto) do
38
+ - if document.content(:name).present?
39
+ = document.content(:name)
40
+ - else
41
+ = t(:'.documents.no_name')
42
+ - if document.content(:attachment).present?
43
+ = render Primer::ButtonComponent.new(tag: :a, ml: 2, href: document.content.attachment_url(:attachment),
44
+ download: '') do
45
+ = render Primer::OcticonComponent.new('desktop-download')
46
+ = t(:'.documents.download')
47
+ - else
48
+ = render(Primer::Beta::Text.new(color: :muted, font_size: 6)) { t :'.documents.no_file' }
25
49
  - if @conference.content(:text).present?
26
50
  = render(Primer::Markdown.new(my: 4)) { @conference.content.html(:text).to_s }
27
51
  - else
@@ -96,6 +96,11 @@ en:
96
96
  tab_does_not_exist: "The tab '%{tab}' does not exist."
97
97
  no_information: No information.
98
98
  conference_navigation: Conference content
99
+ documents:
100
+ title: Downloads
101
+ download: Download
102
+ no_file: No file uploaded.
103
+ no_name: Untitled
99
104
  presentations:
100
105
  all_presentation_types: All
101
106
  results: Results
@@ -3,7 +3,7 @@
3
3
  module Spina
4
4
  module Conferences
5
5
  module PrimerTheme
6
- VERSION = '1.0.0.rc4'
6
+ VERSION = '1.0.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-conferences-primer_theme-fork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Malčić
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-02-02 00:00:00.000000000 Z
12
+ date: 2022-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: babel-transpiler
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 0.0.67
76
+ version: 0.0.69
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 0.0.67
83
+ version: 0.0.69
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rails
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -129,28 +129,28 @@ dependencies:
129
129
  requirements:
130
130
  - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: 3.0.0.rc2
132
+ version: 3.0.0
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - '='
138
138
  - !ruby/object:Gem::Version
139
- version: 3.0.0.rc2
139
+ version: 3.0.0
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: spina-admin-journal
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '='
144
+ - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: 1.0.0.rc3
146
+ version: '1.0'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '='
151
+ - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: 1.0.0.rc3
153
+ version: '1.0'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: capybara
156
156
  requirement: !ruby/object:Gem::Requirement
@@ -446,9 +446,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
446
446
  version: '2.7'
447
447
  required_rubygems_version: !ruby/object:Gem::Requirement
448
448
  requirements:
449
- - - ">"
449
+ - - ">="
450
450
  - !ruby/object:Gem::Version
451
- version: 1.3.1
451
+ version: '0'
452
452
  requirements: []
453
453
  rubygems_version: 3.1.6
454
454
  signing_key: