36 lines
1.7 KiB
Cheetah
36 lines
1.7 KiB
Cheetah
{{/* home.tmpl —— 未登录首页(基于 Gitea 1.21.11 官方 home.tmpl 精简)
|
||
改动:
|
||
· 四栏宣传块 → 三张毛玻璃小卡片
|
||
· Logo 套旋转光环,标题走渐变流动,口号打字机(动效在 qq-fx.css / qq-fx.js)
|
||
· 文案沿用官方 i18n key,不硬编码中文(口号除外,它已经是我们自己的文案)
|
||
这是**模板覆盖**,不改源码,删掉本文件即回到官方首页。 */}}
|
||
{{template "base/head" .}}
|
||
<div role="main" aria-label="{{ctx.Locale.Tr "home"}}" class="page-content home qq-home">
|
||
<div class="gt-px-5">
|
||
<div class="qq-hero">
|
||
<div class="qq-logo-halo">
|
||
<img class="logo" width="152" height="152" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
|
||
</div>
|
||
<h1 class="qq-hero-title">{{AppName}}</h1>
|
||
{{/* 品牌口号:想换回官方文案就换成 {{ctx.Locale.Tr "startpage.app_desc"}} */}}
|
||
<p class="qq-hero-tag" data-qq-type="自己的代码,自己的地方。">自己的代码,自己的地方。</p>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="qq-home-cards">
|
||
<div class="qq-home-card">
|
||
<h3>{{svg "octicon-device-desktop" 16}} {{ctx.Locale.Tr "startpage.platform"}}</h3>
|
||
<p>{{ctx.Locale.Tr "startpage.platform_desc" | Str2html}}</p>
|
||
</div>
|
||
<div class="qq-home-card">
|
||
<h3>{{svg "octicon-rocket" 16}} {{ctx.Locale.Tr "startpage.lightweight"}}</h3>
|
||
<p>{{ctx.Locale.Tr "startpage.lightweight_desc" | Str2html}}</p>
|
||
</div>
|
||
<div class="qq-home-card">
|
||
<h3>{{svg "octicon-code" 16}} {{ctx.Locale.Tr "startpage.license"}}</h3>
|
||
<p>{{ctx.Locale.Tr "startpage.license_desc" | Str2html}}</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{{template "base/footer" .}}
|