|
29 | 29 |
|
30 | 30 | <%= render 'layouts/tailwind/sidebar' %> |
31 | 31 |
|
32 | | - <!-- forum navigation & breadcrumbs --> |
33 | | - <nav class="thredded-nav bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between sticky top-14 z-40 <%= user_signed_in? ? 'lg:ml-56' : '' %> transition-all duration-300" <% if user_signed_in? %>:class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar, 'ml-0': !showSidebar }"<% end %>> |
34 | | - <ol role="list" class="flex-1 flex space-x-4 px-4 py-2"> |
35 | | - <%= render('thredded/redesigned/breadcrumbs') %> |
36 | | - </ol> |
37 | | - <ul class="flex items-center h-full divide-x divide-gray-200 dark:divide-gray-700"> |
38 | | - <li><!-- Included to always force a left-border on whatever action is left-most --></li> |
39 | | - <%= render 'thredded/shared/nav/moderation' %> |
40 | | - <%= render 'thredded/shared/nav/notification_preferences' %> |
41 | | - </ul> |
42 | | - </nav> |
| 32 | + <% unless content_for?(:messenger_fullscreen) %> |
| 33 | + <!-- forum navigation & breadcrumbs --> |
| 34 | + <nav class="thredded-nav bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between sticky top-14 z-40 <%= user_signed_in? ? 'lg:ml-56' : '' %> transition-all duration-300" <% if user_signed_in? %>:class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar, 'ml-0': !showSidebar }"<% end %>> |
| 35 | + <ol role="list" class="flex-1 flex space-x-4 px-4 py-2"> |
| 36 | + <%= render('thredded/redesigned/breadcrumbs') %> |
| 37 | + </ol> |
| 38 | + <ul class="flex items-center h-full divide-x divide-gray-200 dark:divide-gray-700"> |
| 39 | + <li><!-- Included to always force a left-border on whatever action is left-most --></li> |
| 40 | + <%= render 'thredded/shared/nav/moderation' %> |
| 41 | + <%= render 'thredded/shared/nav/notification_preferences' %> |
| 42 | + </ul> |
| 43 | + </nav> |
| 44 | + <% end %> |
43 | 45 |
|
44 | 46 | <!-- main content --> |
45 | 47 | <main class="<%= user_signed_in? ? 'lg:ml-56' : '' %> transition-all duration-300" <% if user_signed_in? %>:class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar, 'ml-0': !showSidebar }"<% end %>> |
46 | 48 | <%= yield %> |
47 | 49 | </main> |
48 | 50 |
|
49 | | - <footer class="<%= user_signed_in? ? 'lg:ml-56' : '' %> transition-all duration-300" <% if user_signed_in? %>:class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar, 'ml-0': !showSidebar }"<% end %>> |
50 | | - <div class="max-w-7xl mx-auto pt-24 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8"> |
51 | | - <div class="flex justify-center space-x-6 md:order-2"> |
52 | | - <%= link_to 'https://www.facebook.com/notebookai/', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
53 | | - <span class="sr-only">Facebook</span> |
54 | | - <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
55 | | - <path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" /> |
56 | | - </svg> |
57 | | - <% end %> |
| 51 | + <% unless content_for?(:messenger_fullscreen) %> |
| 52 | + <footer class="<%= user_signed_in? ? 'lg:ml-56' : '' %> transition-all duration-300" <% if user_signed_in? %>:class="{ 'ml-56 sm:ml-64 lg:ml-56': showSidebar, 'ml-0': !showSidebar }"<% end %>> |
| 53 | + <div class="max-w-7xl mx-auto pt-24 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8"> |
| 54 | + <div class="flex justify-center space-x-6 md:order-2"> |
| 55 | + <%= link_to 'https://www.facebook.com/notebookai/', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
| 56 | + <span class="sr-only">Facebook</span> |
| 57 | + <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
| 58 | + <path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" /> |
| 59 | + </svg> |
| 60 | + <% end %> |
58 | 61 |
|
59 | | - <%= link_to 'https://twitter.com/indentlabs', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
60 | | - <span class="sr-only">Twitter</span> |
61 | | - <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
62 | | - <path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z" /> |
63 | | - </svg> |
64 | | - <% end %> |
| 62 | + <%= link_to 'https://twitter.com/indentlabs', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
| 63 | + <span class="sr-only">Twitter</span> |
| 64 | + <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
| 65 | + <path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z" /> |
| 66 | + </svg> |
| 67 | + <% end %> |
65 | 68 |
|
66 | | - <%= link_to 'https://github.com/indentlabs/notebook', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
67 | | - <span class="sr-only">GitHub</span> |
68 | | - <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
69 | | - <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" /> |
70 | | - </svg> |
71 | | - <% end %> |
| 69 | + <%= link_to 'https://github.com/indentlabs/notebook', class: 'text-gray-400 hover:text-gray-500 dark:hover:text-gray-300' do %> |
| 70 | + <span class="sr-only">GitHub</span> |
| 71 | + <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true"> |
| 72 | + <path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" /> |
| 73 | + </svg> |
| 74 | + <% end %> |
| 75 | + </div> |
| 76 | + <div class="mt-8 md:mt-0 md:order-1"> |
| 77 | + <p class="text-center text-base text-gray-400 dark:text-gray-500">Notebook.ai © 2016-2025 Indent Labs, LLC</p> |
| 78 | + </div> |
72 | 79 | </div> |
73 | | - <div class="mt-8 md:mt-0 md:order-1"> |
74 | | - <p class="text-center text-base text-gray-400 dark:text-gray-500">Notebook.ai © 2016-2025 Indent Labs, LLC</p> |
75 | | - </div> |
76 | | - </div> |
77 | | - </footer> |
| 80 | + </footer> |
| 81 | + <% end %> |
78 | 82 |
|
79 | 83 | <script type="text/javascript"> |
80 | 84 | <% if user_signed_in? %> |
|
0 commit comments