Sha256: 04662b59e1f032773493b6c458484d09b85fe7e2675ecb91884ebab5df9099a7

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <%= render partial: "kiqr/shared/head" %>
  </head>
  <body>
    <%= render partial: "kiqr/shared/flash_messages" %>
    <%= irelia_navbar do |navbar| %>
      <%= navbar.with_brand(url: root_path) { "KIQR" } %>
      <%= navbar.with_separator %>
      <%= navbar.with_navigation do |nav| %>
        <%= nav.with_link(url: root_path, active: true) { "Home" } %>
        <%= nav.with_link(url: "#") { "Features" } %>
        <%= nav.with_link(url: "#") { "Pricing" } %>
        <%= nav.with_link(url: "#") { "Documentation" } %>
      <% end %>
      <%= navbar.with_separator %>
      <%= navbar.with_section do %>
        <% if user_signed_in? %>
          <%= irelia_button(url: dashboard_path, size: :sm, color: :secondary, icon: "fa fa-dashboard") { "Dashboard" } %>
          <%= irelia_button_to(destroy_user_session_path, size: :sm, method: :delete) { "Sign out" } %>
        <% else %>
          <%= irelia_button(url: new_user_registration_path, size: :sm, color: :secondary) { "Create account" } %>
          <%= irelia_button(url: new_user_session_path, size: :sm) { "Sign in" } %>
        <% end %>
      <% end %>
    <% end %>
    <%= yield %>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiqr-0.1.0.alpha1 lib/generators/kiqr/install/templates/rails/app/views/layouts/public.html.erb