guestbook/ui/views/common_templ.txt
yequari c8ff7021c8 finish conversion to templ, add website model
The primary model users will interact with is now Websites, which will have a single guestbook associated with it (though this is not enforced by the database).
2025-03-22 13:13:13 -07:00

16 lines
857 B
Plaintext

<header><h1><a href=\"/\">webweav.ing</a></h1></header>
<nav><div>
Welcome,
</div><div>
<a href=\"/websites\">My Websites</a> | <a href=\"/users/settings\">Settings</a> | <form action=\"/users/logout\" method=\"post\"><input type=\"hidden\" name=\"csrf_token\" value=\"
\"> <button>Logout</button></form>
<a href=\"/users/register\">Create an Account</a> | <a href=\"/users/login\">Login</a>
</div></nav>
<footer><p>Generated with Templ</p><p>A <a href=\"https://32bit.cafe\">32-bit cafe</a> Project</p></footer>
<!doctype html><html lang=\"en\"><head><title>
- webweav.ing</title><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><link href=\"/static/css/style.css\" rel=\"stylesheet\"><script src=\"/static/js/htmx.min.js\"></script></head><body>
<main>
<div class=\"flash\">
</div>
</main>
</body></html>