aboutsummaryrefslogtreecommitdiff
path: root/pkg/tpl/layout.templ
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-08 18:48:55 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-08 18:48:55 +0300
commita20e2ace25c363658d59346358339011fe8ef934 (patch)
tree0783fc116b2fdcc6928eb82eea63b2073fef2651 /pkg/tpl/layout.templ
parente849e705c30cceec3cf7336a21bed96c8a911e90 (diff)
Фикс стилейHEADmaster
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>