Class: Blacklight::Icons::WebServicesComponent

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

Instance Method Summary collapse

Instance Method Details

#svgObject



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

def svg
  <<~SVG
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <title>#{title}</title>
      <path fill="#6c757d" d="M14.11 21h-8.61c-3.037 0-5.5-2.463-5.5-5.5 0-2.702 1.951-4.945 4.521-5.408.212-3.951 3.473-7.092 7.479-7.092 3.634 0 6.646 2.587 7.335 6.017-.624-.03-1.164-.011-1.978.186-.669-2.558-2.712-4.203-5.357-4.203-3.359 0-5.734 2.562-5.567 6.78-1.954-.113-4.433.923-4.433 3.72 0 1.93 1.57 3.5 3.5 3.5h7.186c.356.749.837 1.426 1.424 2zm.607-6.667c1.306 0 1.398.905 1.691 1.755.129.373.164.56.275.56.13 0 .177-.23.324-.691.204-.633.509-1.628 1.22-1.628.685 0 .978.91 1.235 1.669.137.406.191.65.308.65.122 0 .202-.245.339-.65.248-.747.516-1.669 1.205-1.669.678 0 .985.891 1.171 1.479.256.814.332 1.025.806 1.025h.635c.045-.271.074-.548.074-.833 0-2.761-2.238-5-5-5-2.177 0-4.023 1.392-4.711 3.333h.428zm8.992 3.334c-.687 1.941-2.532 3.333-4.709 3.333-2.762 0-5-2.239-5-5 0-.285.029-.562.074-.833h.684c.458 0 .503.196.755 1.014.171.553.484 1.479 1.171 1.479.694 0 .988-.941 1.253-1.722.145-.423.176-.598.291-.598.123 0 .158.195.3.622.256.771.55 1.698 1.243 1.698.622 0 .92-.765 1.136-1.379.247-.702.282-.964.408-.964.128 0 .152.228.373.864.358 1.026.586 1.485 1.543 1.485h.478z"/>
    </svg>
  SVG
end

#titleObject



17
18
19
20
# File 'app/components/blacklight/icons/web_services_component.rb', line 17

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