Sha256: 0a67168e719da3d54bf6279455ba45a3198ccc62b1174e129a702421a32392ae

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module UI
  class Footer < Component
    def view_template
      footer(**attrs) do
        p(class: "opacity-80 text-sm") do
          "All rights reserved. © #{Time.now.year}"
        end
      end
    end

    private

    def theme
      {
        container: "flex justify-center w-full py-lg text-center"
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
staticky-0.2.0 site_template/app/views/ui/footer.rb
staticky-0.1.1 site_template/app/views/ui/footer.rb
staticky-0.1.0 site_template/app/views/ui/footer.rb