ArtboardPhoneOrientationSizeComponent

InfoGeneratePackages

This code defines a Ruby class named `ArtboardHorizontalSize1Component` that inherits from `ApplicationComponent`. Its purpose is to represent a component in a web or UI application. The class has a method `template` that constructs a HTML `div` element with specific CSS classes (`"artboard artboard-horizontal phone-1"`) and textual content ("568x320"). This is likely intended to specify the dimensions or appearance of an artboard or section intended for display on a specific horizontal screen size or device type, possibly mimicking the size of an iPhone screen in landscape orientation. The `div` element is constructed using a Ruby DSL for generating HTML content.

# frozen_string_literal: true

class ArtboardHorizontalSize1Component < ApplicationComponent
  def template
    div(class: "artboard artboard-horizontal phone-1") { "568x320" }
  end
end