Set up for theme toggling

This commit is contained in:
broquemonsieur 2024-08-10 18:37:10 -07:00
parent c6409c77a4
commit 6044c66407
2 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,7 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, mess
locale = env.get("preferences").as(Preferences).locale
error_message = translate(locale, message)
unfound_tv_box_dark_theme = File.read("assets/404_tv_box_dark_theme.svg")
next_steps = error_redirect_helper(env)

View File

@ -3,6 +3,9 @@
<% end %>
<div class="h-box">
<a id="error-parent">
<%= error_message %>
</a>
<%= unfound_tv_box_dark_theme %>
<%= next_steps %>
</div>