mirror of
https://github.com/4rkal/shortr.git
synced 2024-11-14 13:47:23 +02:00
18 lines
344 B
Plaintext
18 lines
344 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="url" id="url" name="url" placeholder="Enter URL here...">
|
||
|
<button type="submit">Shorten URL</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|