GoStart/web/views/index.html
2024-05-26 20:38:49 -04:00

22 lines
540 B
HTML

{{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>
<footer>
<p>&copy; 2024 My Web App</p>
</footer>
{{end}}