30 lines
975 B
Plaintext
30 lines
975 B
Plaintext
package components
|
|
|
|
import (
|
|
"go.fifitido.net/ytdl-web/pkg/ytdl"
|
|
"go.fifitido.net/ytdl-web/version"
|
|
)
|
|
|
|
templ Footer() {
|
|
<footer class="footer mt-auto py-3 bg-body-tertiary" style="font-size: 0.95rem">
|
|
<div class="container">
|
|
<div class="row gap-2 gap-md-0">
|
|
<div class="d-flex gap-4 col-md justify-content-center">
|
|
<div class="d-flex gap-1 align-items-baseline">
|
|
Version:
|
|
<span class="text-muted">{ version.Version }</span>
|
|
<span class="text-muted text-nowrap" style="font-size: smaller">(Build: { version.Build })</span>
|
|
</div>
|
|
<div class="d-flex gap-1 align-items-baseline text-nowrap">
|
|
yt-dlp version: <span class="text-muted">{ ytdl.Default().Version() }</span>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex gap-2 col-md justify-content-center">
|
|
<a href="https://git.fifitido.net/apps/ytdl-web">Git Repository</a>
|
|
<span class="text-muted">© 2024 FiFiTiDo</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
}
|