Sha256: 60d124f435f7ad765ebee59494645380ec43f3dfebc8d8ad5b11e4a5429ca8c1

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Layouts
  class Error < Layout
    def view_template(&block)
      render Layouts::Site.new do
        div(class: "grid place-items-center h-[--main-scene]") do
          section(class: "flex flex-col place-items-center gap-sm", &block)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
staticky-0.2.0 site_template/app/views/layouts/error.rb
staticky-0.1.1 site_template/app/views/layouts/error.rb
staticky-0.1.0 site_template/app/views/layouts/error.rb