diff --git a/assets/css/default.css b/assets/css/default.css index 96c4198a..3d29329e 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -754,7 +754,6 @@ body.dark-theme { color: #ccc; } - .dark-theme .error-card { border: 1px solid #5e5e5e; } @@ -912,7 +911,7 @@ h1, h2, h3, h4, h5, p, #logo > h1 { text-align: center; } #footer_buffer { - margin-top: 50vh; + margin-top: 12.5vh; } @media screen and (max-width: 450px) { diff --git a/locales/en-US.json b/locales/en-US.json index 07a458e6..687cfa49 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -474,7 +474,7 @@ "footer_navigation_section_header": "Navigation", "footer_home_link": "Home", "footer_project_information_section_header": "Invidious", - "footer_project_homepage_link": "Project Homepage", + "footer_project_website_link": "Project Website", "footer_source_code_link": "Source Code", "footer_issue_tracker_link": "Issue tracker", "footer_public_instances_link": "Public instances", diff --git a/src/invidious/routes/channels.cr b/src/invidious/routes/channels.cr index e662c931..3c53f754 100644 --- a/src/invidious/routes/channels.cr +++ b/src/invidious/routes/channels.cr @@ -154,7 +154,8 @@ module Invidious::Routes::Channels items.each(&.author = "") selected_tab = Frontend::ChannelPage::TabsAvailable::Playlists - templated "channel", buffer_footer: true + + templated "channel" end def self.podcasts(env) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 7896d7ec..eed7b77a 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -59,3 +59,7 @@ <%= rendered "components/items_paginated" %> + +<% if selected_tab == Frontend::ChannelPage::TabsAvailable::Playlists %> + +<% end %> \ No newline at end of file diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index 2665b381..9077207e 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -151,11 +151,11 @@ <% end %> - <% if companion_switched %> -
-

<%= translate(locale, "backend_unavailable") %>

-
- <% end %> + <% if companion_switched %> +
+

<%= translate(locale, "backend_unavailable") %>

+
+ <% end %> <% if CONFIG.banner %>
@@ -163,206 +163,201 @@
<% end %> - <%= content %> + <%= content %> + + + + + <% if env.get? "user" %> + + + <% if CONFIG.enable_user_notifications %> + + <% end %> + <% end %> - <% if buffer_footer %> - - <% end %> + + + +
+ + + +
+ diff --git a/src/invidious/views/user/preferences.ecr b/src/invidious/views/user/preferences.ecr index 5903d6cc..4039e03b 100644 --- a/src/invidious/views/user/preferences.ecr +++ b/src/invidious/views/user/preferences.ecr @@ -368,3 +368,5 @@ + +