Class: Blacklight::Icons::IndianaComponent
- Inherits:
-
IconComponent
- Object
- IconComponent
- Blacklight::Icons::IndianaComponent
- Defined in:
- app/components/blacklight/icons/indiana_component.rb
Instance Method Summary collapse
Instance Method Details
#svg ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/components/blacklight/icons/indiana_component.rb', line 8 def svg " <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n <title>\#{title}</title>\n <path fill=\"#6c757d\" d=\"M0 0h27.36v32H0V0zm16.74 7.7v1.7h1.17v9.46h-2.49V6.39h1.32v-1.7h-6.2v1.7h1.32v12.47H9.34V9.4h1.18V7.7H4.7v1.7H6v10.96l2.15 2.2h3.7v2.52h-1.31v2.18h6.2v-2.18h-1.32v-2.52h3.69l2.13-2.2V9.4h1.34V7.7h-5.84z\"/>\n </svg>\n SVG\nend\n" |
#title ⇒ Object
17 18 19 20 |
# File 'app/components/blacklight/icons/indiana_component.rb', line 17 def title key = "blacklight.icon.#{name}" t(key) end |