Sha256: bcbe820193b9592f26d5b626e1a468c97aa92bfbdcb536c0ee9843c0b09567a6

Contents?: true

Size: 893 Bytes

Versions: 3

Compression:

Stored size: 893 Bytes

Contents

doctype html

html
  head
    = csrf_meta_tags
    meta content='width=device-width, initial-scale=1.0' name='viewport' /
    link crossorigin="anonymous" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" rel="stylesheet" /
    script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"
    = render 'beyond_canvas/custom/public_head'

  body.body--public
    main.main class=("#{params[:controller].gsub(/[\/_]/, "-")}--#{params[:action]}")
      = render 'beyond_canvas/flash'
      .main-wrapper
        - logo = Dir["app/assets/images/logo.*"].first
        - unless logo.nil?
          - if File.extname(logo) == '.svg'
            = inline_svg File.basename(logo), class: 'logo'
          - else
            = image_tag File.basename(logo), class: 'logo'
        = yield

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beyond_canvas-0.5.0.pre app/views/layouts/beyond_canvas/public.html.slim
beyond_canvas-0.4.0.pre app/views/layouts/beyond_canvas/public.html.slim
beyond_canvas-0.3.0.pre app/views/layouts/beyond_canvas/public.html.slim