18 lines
488 B
HTML
18 lines
488 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>
|
|
{{end}}
|