feat: Implement dynamic typing animation for the home page hero title and customize the footer template.
This commit is contained in:
22
custom/templates/base/footer.tmpl
Normal file
22
custom/templates/base/footer.tmpl
Normal file
@@ -0,0 +1,22 @@
|
||||
{{/*
|
||||
Custom footer template for Gitea
|
||||
This overrides the default footer to remove licenses and API links
|
||||
*/}}
|
||||
<footer>
|
||||
<div class="ui container">
|
||||
<div class="ui left">
|
||||
{{.locale.Tr "powered_by" "Gitea"}}
|
||||
{{if .ShowFooterVersion}}
|
||||
{{.locale.Tr "version"}}:
|
||||
{{if .IsAdmin}}
|
||||
<a href="{{AppSubUrl}}/admin/config">{{AppVer}}</a>
|
||||
{{else}}
|
||||
{{AppVer}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="ui right links">
|
||||
{{/* Removed licenses and API links */}}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -2,9 +2,10 @@
|
||||
<div role="main" aria-label="{{.Title}}" class="page-content home">
|
||||
<div class="home-container">
|
||||
<img class="logo-img" src="{{AppSubUrl}}/assets/img/logo.png" alt="Oribi Technology Services"/>
|
||||
<h1 class="hero-title">Oribi Technology Services</h1>
|
||||
<h1 class="hero-title"><span class="typing-text"></span><span class="orange-heart">❤︎</span> Open Source</h1>
|
||||
<div class="hero-subtitle">Internal Code Repository</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script src="{{AppSubUrl}}/assets/js/typing-animation.js"></script>
|
||||
{{template "base/footer" .}}
|
||||
|
||||
Reference in New Issue
Block a user