# frozen_string_literal: true

module Blacklight
  module Icons
    class UniversityOfIllinoisUrbanaChampaignComponent < Blacklight::Icons::IconComponent
      self.svg = svg

      def svg
        <<~SVG
          <!-- Generated by IcoMoon.io -->
          <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="22" height="32" viewBox="0 0 22 32">
          <title>#{title}</title>
          	<path fill="#6c757d" d="M22.16 8.62v-8.62h-22.16v8.62h4.94v14.77h-4.9v8.61h22.15v-8.6h-4.99v-14.78zM17.21 24.62h3.69v6.13h-19.67v-6.13h3.68c0.68 0 1.23-0.55 1.23-1.23v-14.77c0-0.68-0.55-1.23-1.23-1.23h-3.68v-6.14h19.7v6.15h-3.69c-0.67 0-1.22 0.55-1.22 1.23v14.77c0 0.67 0.53 1.21 1.2 1.23z"></path>
          <path fill="#6c757d" d="M17.21 7.38h3.69v-6.13h-19.67v6.13h3.68c0.68 0 1.23 0.55 1.23 1.23v14.77c0 0.68-0.55 1.23-1.23 1.23h-3.68v6.13h19.7v-6.13h-3.69c-0.67 0-1.22-0.55-1.22-1.23v-14.76c0-0.68 0.53-1.22 1.2-1.23z"></path>
          </svg>
        SVG
      end

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