Merge pull request 'Add version display in UI footer' (#8) from feat/version-display into main
This commit was merged in pull request #8.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package layouts
|
||||
|
||||
import "github.com/ryanhamamura/games/config"
|
||||
import (
|
||||
"github.com/ryanhamamura/games/config"
|
||||
"github.com/ryanhamamura/games/version"
|
||||
)
|
||||
|
||||
templ Base(title string) {
|
||||
<!DOCTYPE html>
|
||||
@@ -16,6 +19,9 @@ templ Base(title string) {
|
||||
<div data-init="@get('/reload', {retryMaxCount: 1000, retryInterval:20, retryMaxWaitMs:200})"></div>
|
||||
}
|
||||
{ children... }
|
||||
<footer class="fixed bottom-1 right-2 text-xs text-gray-500">
|
||||
{ version.Version }
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user