Basic setup, launch config and layout

This commit is contained in:
David Schärer 2024-07-15 14:31:54 +02:00
parent 535a051755
commit 1a3d172fe5
41 changed files with 382 additions and 105 deletions

View file

@ -1,8 +1,9 @@
<!DOCTYPE html>
<html>
<!doctype html>
<html <%== cookies[:"modeTheme"] && "data-bs-theme=\"#{cookies[:"modeTheme"]}\"" %> data-controller="set-theme">
<head>
<title>A11yist</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
@ -10,9 +11,14 @@
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
</head>
<body>
<body class="">
<%= render partial: "layouts/navigation" %>
<%= yield %>
<main class="">
<%= render partial: "layouts/sidebar" %>
<div class="p-3">
<%= yield %>
</div>
</main>
</body>
</html>