publishing_platform_publishing_components 0.3.0 → 0.5.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: 880dc872b87762ba00037fcc59c2837f5cddc7a797659a266d4787766332bb50
4
- data.tar.gz: c6290dcd1ded6493eaf8d12cdb4d00d98faacd96427617a43111bd41556a8e59
3
+ metadata.gz: c220b3353f06ea1deb75bcc07e60a7eeeb269793c1bbe9712a5ab970230a7d98
4
+ data.tar.gz: c68ad207fdf6ced57cba965674ab4285c945f086c0b603e1a6383573006df990
5
5
  SHA512:
6
- metadata.gz: c68380feededbb45e24b3671262a57d233181c097d4cd970583fb36ac6a3c3d76c248ffc1b6939aaae2541f2b38349a6f4af1481355245f26d5e92ccd46e9c2c
7
- data.tar.gz: 44aef9f3d4b325fc07173b7c8bb7353c7341e6b0730adc9f04665a828306f271f27aa560f4f0208f4a818c6957466a18782f5a638e1d1dee2fe6a0a84aea93d0
6
+ metadata.gz: c0073afe1fa51c7740e1830495124bf99a4aee701cdf33e498f21c3525f756a143950aa40ef533a0f8d2a6b4e809c2908091c36b32fd3088969b2de6ed9af3f5
7
+ data.tar.gz: 7217522d3598a41d937e8aa8e4d5084bb2df08c908bc40b8f13cceb5c02aa6e6c98aafd7c788d46fbfc85c9bf03e62dc57d7b4b7f63675356404abbde7ecc40a
@@ -2,7 +2,10 @@
2
2
 
3
3
  title ||= "Publishing Platform"
4
4
  navigation_items ||= []
5
+ logo_link ||= "/"
6
+ logo_text ||= "Publishing Platform"
5
7
 
8
+ logo_link_classes = %w(d-flex align-items-center link-body-emphasis text-decoration-none)
6
9
  -%>
7
10
 
8
11
  <!DOCTYPE html>
@@ -21,9 +24,9 @@
21
24
  <div class="gem-c-layout container py-3">
22
25
  <header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
23
26
  <div class="col-md-3 mb-2 mb-md-0">
24
- <a href="/" class="d-flex align-items-center link-body-emphasis text-decoration-none">
25
- <span class="fs-4">Publishing Platform</span>
26
- </a>
27
+ <%= link_to(logo_link, class: logo_link_classes) do %>
28
+ <span class="fs-4"><%= logo_text %></span>
29
+ <% end %>
27
30
  </div>
28
31
  <% if navigation_items.present? %>
29
32
  <%= render "publishing_platform_publishing_components/components/navigation", { navigation_items: }%>
@@ -1,3 +1,3 @@
1
1
  module PublishingPlatformPublishingComponents
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.5.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publishing_platform_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Publishing Platform