shortr/views/index.templ
2024-09-12 21:10:09 +03:00

18 lines
345 B
Plaintext

package views
templ Index(){
@Base() {
<div class="card">
<h1>Blazingly fast URL shortener</h1>
<p>Shorten URLs and track clicks</p>
<form action="/submit" method="post">
<input type="text" id="url" name="url" placeholder="Enter URL here...">
<button type="submit">Shorten URL</button>
</form>
</div>
}
}