From 7448cfca3b6106fc5e0117a9a4432babb724261d Mon Sep 17 00:00:00 2001 From: drusepth Date: Sun, 20 Mar 2022 17:29:45 -0700 Subject: [PATCH] more design work on navbar --- .../tailwind/navbar/_logged_in.html.erb | 52 ++++++++++--------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/app/views/layouts/tailwind/navbar/_logged_in.html.erb b/app/views/layouts/tailwind/navbar/_logged_in.html.erb index 771f06be..8b6b1bd8 100644 --- a/app/views/layouts/tailwind/navbar/_logged_in.html.erb +++ b/app/views/layouts/tailwind/navbar/_logged_in.html.erb @@ -17,7 +17,8 @@

- Pages for this universe + Pages for The Great Universe + <%= link_to 'change universe', main_app.customization_content_types_path, class: "text-xs #{Universe.text_color} ml-4" %>

<%= link_to 'customize active pages', main_app.customization_content_types_path %> @@ -37,31 +38,34 @@

    Recently-edited pages

    -
  • - Category One Sublink -
  • -
  • - Category One Sublink -
  • -
  • - Category One Sublink -
  • -
  • - Category One Sublink -
  • -
  • - Category One Sublink -
  • +
    + <% @recently_edited_pages.each do |content| %> + <% content_class = content_class_from_name(content.page_type) %> +
  • + <%= link_to main_app.send("#{content.page_type.downcase}_path", content.id), class: "block px-3 pb-2 hover:bg-notebook-blue #{content.text_color} hover:text-white" do %> + <%= content_class.icon %> + <%= content.name %> + <%= time_ago_in_words content.updated_at %> ago + <% end %> +
  • + <% end %> +
    -

    What's next?

    -
  • - -
  • -
-
+

Expand your world

+
  • + What is Brock Lentil's hair color? +
  • +
  • + +
  • +
  • + +
  • +
    - + +
  • - Hover + Writing