# frozen_string_literal: true

module Blacklight
  module Icons
    class TheOhioStateUniversityComponent < 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="24" height="32" viewBox="0 0 24 32">
          <title>#{title}</title>
          	<path fill="#6c757d" d="M2.98 2.98l-2.98 2.98v20.040l5.92 6h12.54l5.97-5.96v-20.060l-5.93-5.98h-12.54l-2.98 2.98zM21.040 3.43l2.86 2.86v19.42l-5.73 5.68h-11.92l-5.68-5.69v-19.46l5.7-5.67h11.9l2.87 2.86z"></path>
          <path fill="#6c757d" d="M3.85 4.020l-2.62 2.64v18.76l5.27 5.28h11.44l5.24-5.24v-18.85l-5.24-5.23h-11.44l-2.64 2.64zM16.68 7.91l1.070 1.070v14.12l-2.14 2.14h-6.84l-2.090-2.15v-14.15l2.1-2.1h6.84l1.060 1.070z"></path>
          <path fill="#6c757d" d="M8.3 8.46l-0.85 0.84v13.48l1.65 1.65h6.23l1.6-1.61v-13.52l-1.68-1.69h-6.11l-0.85 0.85zM15.7 8.88l0.67 0.67v12.98l-1.33 1.33h-5.64l-1.33-1.33v-12.98l1.33-1.33h5.65l0.66 0.66z"></path>
          </svg>
        SVG
      end

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