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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c220b3353f06ea1deb75bcc07e60a7eeeb269793c1bbe9712a5ab970230a7d98
|
|
4
|
+
data.tar.gz: c68ad207fdf6ced57cba965674ab4285c945f086c0b603e1a6383573006df990
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
25
|
-
<span class="fs-4"
|
|
26
|
-
|
|
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: }%>
|