Sha256: 5709fbffe0fc71273792cd16572e317b38d50f96d209e31e34473f70c3be7c40

Contents?: true

Size: 692 Bytes

Versions: 2

Compression:

Stored size: 692 Bytes

Contents

<%= link_to root_path do %>
  <% if current_organization.logo.present? %>
    <%= image_tag current_organization.logo.medium.url, height: "20" %>
  <% else %>
    <!-- Remove this, use the final SVG logo -->
    <span><%= current_organization.name %></span>
    <style>
      .logo-wrapper span{ color: white; font-weight: 600;
        font-size: 1.4em;
        display: inline-block; text-align: left;
        padding-left: 8px; line-height: 1;
        position: relative; }
      .logo-wrapper span:before{ content: ""; display: block;
        position: absolute; border-left: 4px solid white; height: 88%;
        top: 6%; left: 0; }
    </style>
    <!-- /Remove-->
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.0.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.0.1 app/views/layouts/decidim/_logo.html.erb