Update templates to move the navbar to the main layout.

This commit is contained in:
2024-04-11 17:11:02 +03:00
parent 65c8a49182
commit df371f50a6
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -1,5 +1,3 @@
{{> navbar }}
<main class="bg-white dark:bg-gray-800 grow">
<section class="bg-gray-300 dark:bg-gray-600 p-3 sm:p-5 antialiased">
<div class="mx-auto max-w-screen-2xl px-4 lg:px-12">
-2
View File
@@ -1,5 +1,3 @@
{{> navbar }}
<main class="bg-white dark:bg-gray-800 py-4 grow">
<h1 class="mb-4 text-5xl tracking-tight font-extrabold text-gray-900 dark:text-white text-center">Articles</h1>
+2
View File
@@ -17,6 +17,8 @@
<body class="flex flex-col min-h-screen bg-gray-50 dark:bg-gray-900">
{{> navbar }}
{{{body}}}
{{> footer }}