Class: Blacklight::Icons::NorthwesternUniversityComponent

Inherits:
IconComponent
  • Object
show all
Defined in:
app/components/blacklight/icons/northwestern_university_component.rb

Instance Method Summary collapse

Instance Method Details

#svgObject



8
9
10
11
12
13
14
15
16
# File 'app/components/blacklight/icons/northwestern_university_component.rb', line 8

def svg
  <<~SVG
    <!-- Generated by IcoMoon.io -->
    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="33" height="32" viewBox="0 0 33 32">
    <title>#{title}</title>
    	<path fill="#6c757d" d="M21.118 0.238v2.258l3.79 0.953 0.749 0.93v18.088l-18.984-22.468h-5.583v1.691l3.087 3.472v23.455l-4.176 1.169v1.974h11.972v-1.986l-3.711-0.987-0.76-0.942v-18.86l19.325 23.013h2.235v-28.437l4.199-1.271v-2.054z"></path>
    </svg>
  SVG
end

#titleObject



18
19
20
21
# File 'app/components/blacklight/icons/northwestern_university_component.rb', line 18

def title
  key = "blacklight.icon.#{name}"
  t(key)
end