Class: Blacklight::Icons::UniversityOfMichiganComponent
- Inherits:
-
IconComponent
- Object
- IconComponent
- Blacklight::Icons::UniversityOfMichiganComponent
- Defined in:
- app/components/blacklight/icons/university_of_michigan_component.rb
Instance Method Summary collapse
Instance Method Details
#svg ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'app/components/blacklight/icons/university_of_michigan_component.rb', line 8 def svg <<~SVG <!-- Generated by IcoMoon.io --> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="45" height="32" viewBox="0 0 45 32"> <title>#{title}</title> <path fill="#6c757d" d="M44.59 23v9h-16.79v-9h3.63v-9.1l-9.2 12.53-9.070-12.53v9.12h3.64v8.98h-16.8v-9h3.4v-14h-3.4v-9h13.2l9.1 12.65 9.090-12.65h13.2v9h-3.4v14z"></path> </svg> SVG end |
#title ⇒ Object
18 19 20 21 |
# File 'app/components/blacklight/icons/university_of_michigan_component.rb', line 18 def title key = "blacklight.icon.#{name}" t(key) end |