GoStart/web/views/index.html

18 lines
488 B
HTML
Raw Normal View History

2024-05-17 19:53:56 +00:00
{{define "view"}}
<main>
<section>
<button hx-get="/api/example" class="p-2 text-white bg-blue-400 rounded-md">
Click Me!
</button>
<h1 class="font-bold">API Example</h1>
<a href="/api/example" target="_blank">Access Example API</a>
<h2>Content Section</h2>
<p>
This is the main content of your web app. You can add any HTML content
here.
</p>
<a href="/example">Another Example Route can be found here</a>
</section>
</main>
{{end}}