aboutsummaryrefslogtreecommitdiff
path: root/pkg/tpl/layout.templ
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tpl/layout.templ')
-rw-r--r--pkg/tpl/layout.templ20
1 files changed, 9 insertions, 11 deletions
diff --git a/pkg/tpl/layout.templ b/pkg/tpl/layout.templ
index d96aa50..40c1b04 100644
--- a/pkg/tpl/layout.templ
+++ b/pkg/tpl/layout.templ
@@ -21,18 +21,16 @@ templ Layout(params HeaderParams) {
</head>
<body>
<main class="container">
- <nav>
- <ul>
- <li><a href="/"><strong>ШОргРу</strong></a></li>
- </ul>
- <ul hx-boost="true" hx-indicator=".loader">
+ <div class="header">
+ <a href="/"><strong>ШОргРу</strong></a>
+ <div class="top-menu" hx-boost="true" hx-indicator=".loader">
<span aria-busy="true" class="loader htmx-indicator">Загрузка...</span>
- <li><a href="/">Главная</a></li>
- <li><a href="/random">Случайные</a></li>
- <li><a href="/top">Топ</a></li>
- <li><a href="/add">Добавить цитату</a></li>
- </ul>
- </nav>
+ <a href="/">Главная</a>
+ <a href="/random">Рандом</a>
+ <a href="/top">Топ</a>
+ <a href="/add">Добавить</a>
+ </div>
+ </div>
{ children... }
</main>
</body>