Watch
0
Fork
You've already forked custom
0

templates: new homepage

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2025-10-31 23:58:50 +07:00
commit 6949fa4dae

View file

@ -1,16 +1,15 @@
{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
<div class="tw-mb-8 tw-px-8">
<div class="center">
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
<div class="left">
<img class="logo" width="150" height="150" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
<div class="hero">
<h1 class="ui icon header title">
{{AppDisplayName}}
</h1>
<h2>A self-hosted Git service powered by Forgejo, ran by Cuynu.</h2>
<h2>A self-hosted Git service, ran by Cuynu with X99 machine.</h2>
</div>
</div>
</div>
{{template "home_forgejo" .}}
</div>
{{template "base/footer" .}}