nthmail/pkg/web_server/index.templ
Guilherme Rugai Freire 48e7b5a9a5
integrate web and mail server
now, there is only one binary that starts both servers,
making them use the same SQL connection.

this commit also added some `defer tx.Commit()` to ensure
all the transactions were closed
2024-07-10 16:56:46 -03:00

24 lines
511 B
Plaintext

package web_server
templ index_page() {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>nthmail.xyz</title>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="description" content="A temporary mail service"/>
@styles()
</head>
<body class="index">
<h1>nthmail.xyz</h1>
<p>
A disposable, temporary and private mail address!
</p>
<div class="random">
<a href="random">Get one now!</a>
</div>
</body>
</html>
}