ArtboardSizeDisplayComponent

InfoGeneratePackages

The code defines a Ruby class named `ArtboardHorizontalSize4Component` that inherits from `ApplicationComponent`. Its main purpose is to generate HTML content. The class contains a method named `template`, which creates and returns a `div` HTML element with a class attribute set to 'artboard artboard-horizontal phone-4'. Inside this div, it places a string '812×375', likely indicating a resolution or size. This suggests the component is intended for use in a web framework (possibly Rails) to represent a specific phone's artboard size in a horizontal orientation for UI design or layout purposes.

# frozen_string_literal: true

class ArtboardHorizontalSize4Component < ApplicationComponent
  def template
    div(class: "artboard artboard-horizontal phone-4") { "812×375" }
  end
end