Gitea theme: capital theta (circle+H) logo + homepage senza badge
- Logo/favicon ridisegnati come theta maiuscola: cerchio (anello) con 'H' centrata, clearance verificata (non tocca l'anello); ring ispessito per la favicon; centratura ottica verificata. - Rimosso il badge 'Self-hosted Git' dal hero della homepage (era esteticamente di troppo) - CSS e markup. - Aggiornati generate_theta.py, README, home.tmpl; caricati sul VPS in staging (md5 locali == remoti); tarball ricostruito. - Salvataggio iniziale dell'intero admin pack in git.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
||||
<defs><linearGradient id="zg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#7c3aed"/><stop offset="1" stop-color="#0ea5e9"/></linearGradient></defs>
|
||||
<rect x="2.56" y="2.56" width="58.88" height="58.88" rx="14.08" fill="url(#zg)"/>
|
||||
<path fill-rule="evenodd" fill="#fff" d="M 5.76 32.00 A 26.24 26.24 0 1 0 58.24 32.00 A 26.24 26.24 0 1 0 5.76 32.00 ZM 8.96 32.00 A 23.04 23.04 0 1 0 55.04 32.00 A 23.04 23.04 0 1 0 8.96 32.00 Z"/>
|
||||
<rect x="21.12" y="15.36" width="3.20" height="33.28" fill="#fff"/>
|
||||
<rect x="39.68" y="15.36" width="3.20" height="33.28" fill="#fff"/>
|
||||
<rect x="21.12" y="30.66" width="21.76" height="2.69" fill="#fff"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 749 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
||||
<defs><linearGradient id="zg" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#7c3aed"/><stop offset="1" stop-color="#0ea5e9"/></linearGradient></defs>
|
||||
<rect x="2.56" y="2.56" width="58.88" height="58.88" rx="14.08" fill="url(#zg)"/>
|
||||
<path fill-rule="evenodd" fill="#fff" d="M 5.76 32.00 A 26.24 26.24 0 1 0 58.24 32.00 A 26.24 26.24 0 1 0 5.76 32.00 ZM 8.96 32.00 A 23.04 23.04 0 1 0 55.04 32.00 A 23.04 23.04 0 1 0 8.96 32.00 Z"/>
|
||||
<rect x="21.12" y="15.36" width="3.20" height="33.28" fill="#fff"/>
|
||||
<rect x="39.68" y="15.36" width="3.20" height="33.28" fill="#fff"/>
|
||||
<rect x="21.12" y="30.66" width="21.76" height="2.69" fill="#fff"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 749 B |
@@ -0,0 +1,143 @@
|
||||
{{template "base/head" .}}
|
||||
<style>
|
||||
.zm-hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 3.5rem 1.5rem 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
.zm-hero::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(60rem 30rem at 20% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
|
||||
radial-gradient(50rem 26rem at 85% 10%, rgba(14, 165, 233, 0.18), transparent 60%);
|
||||
pointer-events: none;
|
||||
}
|
||||
.zm-hero-logo {
|
||||
margin: 1.5rem auto 1rem;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
filter: drop-shadow(0 12px 24px rgba(80, 70, 229, 0.25));
|
||||
}
|
||||
.zm-hero h1 {
|
||||
font-size: clamp(2rem, 5vw, 3.4rem);
|
||||
font-weight: 800;
|
||||
line-height: 1.1;
|
||||
margin: 0 0 0.6rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.zm-hero p.lead {
|
||||
max-width: 46rem;
|
||||
margin: 0 auto 2rem;
|
||||
font-size: 1.15rem;
|
||||
line-height: 1.6;
|
||||
opacity: 0.85;
|
||||
}
|
||||
.zm-ctas {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.6rem;
|
||||
justify-content: center;
|
||||
}
|
||||
.zm-ctas .ui.button {
|
||||
padding: 0.7rem 1.4rem;
|
||||
font-weight: 600;
|
||||
border-radius: 0.55rem;
|
||||
}
|
||||
.zm-features {
|
||||
max-width: 66rem;
|
||||
margin: 2.5rem auto 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
|
||||
gap: 1rem;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.zm-feature {
|
||||
border-radius: 0.9rem;
|
||||
padding: 1.3rem 1.3rem 1.4rem;
|
||||
background: var(--color-box-header, #f0f0f0);
|
||||
border: 1px solid var(--color-secondary, rgba(0, 0, 0, 0.1));
|
||||
text-align: left;
|
||||
transition: transform 0.18s ease, box-shadow 0.18s ease;
|
||||
}
|
||||
.zm-feature:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
.zm-feature .zm-ico {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.4rem;
|
||||
height: 2.4rem;
|
||||
border-radius: 0.6rem;
|
||||
margin-bottom: 0.8rem;
|
||||
color: #fff;
|
||||
background: linear-gradient(135deg, #7c3aed, #0ea5e9);
|
||||
}
|
||||
.zm-feature h3 {
|
||||
margin: 0 0 0.35rem;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
.zm-feature p {
|
||||
margin: 0;
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.55;
|
||||
opacity: 0.82;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.zm-feature { background: var(--color-box-header, #1a1a1a); }
|
||||
}
|
||||
</style>
|
||||
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home_title"}}{{end}}" class="page-content home">
|
||||
<div class="zm-hero">
|
||||
<img class="zm-hero-logo" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{AppName}}" width="120" height="120">
|
||||
<h1>{{AppName}}</h1>
|
||||
<p class="lead">
|
||||
Il tuo spazio Git personale, veloce e affidabile.
|
||||
Gestisci repository, collabora e tieni tutto sotto controllo, con un unico account.
|
||||
</p>
|
||||
<div class="zm-ctas">
|
||||
{{if .IsSigned}}
|
||||
<a class="ui primary button" href="{{AppSubUrl}}/">
|
||||
{{svg "octicon-rocket" 16}} {{ctx.Locale.Tr "dashboard"}}
|
||||
</a>
|
||||
<a class="ui secondary button" href="{{AppSubUrl}}/explore/repos">
|
||||
{{svg "octicon-telescope" 16}} {{ctx.Locale.Tr "explore_title"}}
|
||||
</a>
|
||||
{{else}}
|
||||
<a class="ui primary button" href="{{AppSubUrl}}/user/login">
|
||||
{{svg "octicon-sign-in" 16}} {{ctx.Locale.Tr "sign_in"}}
|
||||
</a>
|
||||
<a class="ui secondary button" href="{{AppSubUrl}}/explore/repos">
|
||||
{{svg "octicon-telescope" 16}} {{ctx.Locale.Tr "explore_title"}}
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="zm-features">
|
||||
<div class="zm-feature">
|
||||
<div class="zm-ico">{{svg "octicon-rocket" 22}}</div>
|
||||
<h3>Veloce e leggero</h3>
|
||||
<p>Prestazioni elevate anche su risorse ridotte. Il tuo codice, sempre a portata di mano.</p>
|
||||
</div>
|
||||
<div class="zm-feature">
|
||||
<div class="zm-ico">{{svg "octicon-shield-check" 22}}</div>
|
||||
<h3>Sicuro e privato</h3>
|
||||
<p>Accessi protetti e controllo completo sui tuoi repository, dalla creazione alla condivisione.</p>
|
||||
</div>
|
||||
<div class="zm-feature">
|
||||
<div class="zm-ico">{{svg "octicon-git-branch" 22}}</div>
|
||||
<h3>Versioning semplice</h3>
|
||||
<p>Branches, pull request e collaborazione fluida, progettati per chi scrive codice ogni giorno.</p>
|
||||
</div>
|
||||
<div class="zm-feature">
|
||||
<div class="zm-ico">{{svg "octicon-code" 22}}</div>
|
||||
<h3>Open source</h3>
|
||||
<p>Costruito con tecnologie aperte e libere. Nessun blocco, tutta la flessibilità di cui hai bisogno.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
||||
Reference in New Issue
Block a user