Sha256: 625790972d2b1cdb90332ea04b415ac4d01eb82f81011b7f1f2b4d9143bbb4a9
Contents?: true
Size: 292 Bytes
Versions: 2
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true module UI class Navbar < ApplicationComponent def view_template header(**attrs) do a(href: "/", class: "btn btn-ghost") { Site.title } end end private def theme { container: "p-xs" } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
staticky-0.3.1 | site_template/app/views/ui/navbar.rb |
staticky-0.3.0 | site_template/app/views/ui/navbar.rb |