diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-10-08 18:48:55 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-10-08 18:48:55 +0300 |
commit | a20e2ace25c363658d59346358339011fe8ef934 (patch) | |
tree | 0783fc116b2fdcc6928eb82eea63b2073fef2651 /pkg/tpl/layout.templ | |
parent | e849e705c30cceec3cf7336a21bed96c8a911e90 (diff) |
Diffstat (limited to 'pkg/tpl/layout.templ')
-rw-r--r-- | pkg/tpl/layout.templ | 20 |
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> |