Compare commits

...

24 Commits

Author SHA1 Message Date
13badf6c86 Delete templates/base/head_navbar.tmpl 2026-01-06 16:57:39 -08:00
3b7c6b8c10 Refactor: Remove Help link from navigation bar 2026-01-06 16:56:44 -08:00
e93645879d Feat: Update hero subtitle text 2026-01-06 16:56:41 -08:00
0e5565ee43 Delete templates/home.tmpl.cancel 2026-01-06 16:54:13 -08:00
7f7b4122c9 Update readme for clarity and correctness 2026-01-06 16:52:05 -08:00
0297780696 Delete public/assets/logo.svg 2026-01-06 16:47:42 -08:00
2b89df02f6 Delete assets/img/h 2026-01-06 16:47:30 -08:00
3b86180d37 Delete assets/img/logo.svg 2026-01-06 16:47:20 -08:00
6f5b8e2e65 Delete public/img directory 2026-01-06 16:47:06 -08:00
e02d15d449 Refactor: Add cache-buster to logo URL 2026-01-06 16:45:20 -08:00
21a7c3257c Add files via upload 2026-01-06 16:39:49 -08:00
d4f97940f1 Create h 2026-01-06 16:39:30 -08:00
e19929eb3d Debug: Display AssetUrlPrefix on homepage 2026-01-06 16:37:17 -08:00
f73ea97af1 Feat: Link home page art to custom logo asset 2026-01-06 16:34:38 -08:00
3b100a8b4d Add files via upload 2026-01-06 16:29:17 -08:00
7362259c12 Rename home.tmpl to home.tmpl.cancel 2026-01-06 16:26:39 -08:00
449f1c8f6e Delete public/assets/img/d 2026-01-06 16:15:30 -08:00
8e63bf78db Add files via upload 2026-01-06 16:15:13 -08:00
524995fcdc Create d 2026-01-06 16:13:46 -08:00
c477873d31 Delete public/assets/img directory 2026-01-06 16:07:54 -08:00
5453ba41e6 Delete public/img/h 2026-01-06 16:07:29 -08:00
3dc09a06b8 Add files via upload 2026-01-06 16:07:14 -08:00
3ae87f46a1 Create h 2026-01-06 16:06:28 -08:00
49104a3193 Feat: Create elegant minimalist home page 2026-01-06 15:42:51 -08:00
2 changed files with 82 additions and 0 deletions

2
readme Normal file
View File

@@ -0,0 +1,2 @@
This repo maps/syncs to the custom dir in gitea.
It is used for customizing gitea.

80
templates/home.tmpl Normal file
View File

@@ -0,0 +1,80 @@
{{template "base/head" .}}
<div class="page-content home">
<div class="ui container">
<div class="renox-hero">
<div class="renox-art">
<img src="{{AssetUrlPrefix}}/img/logo.svg?v=2" width="200" height="200" alt="Renox Logo">
</div>
<h1 class="renox-title">Planet Renox</h1>
<p class="renox-subtitle">Source Code</p>
<div class="renox-actions">
{{if .IsSigned}}
<a class="ui primary button" href="{{AppSubUrl}}/explore/repos">{{ctx.Locale.Tr "explore"}}</a>
{{else}}
<a class="ui primary button" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "sign_in"}}</a>
<a class="ui button" href="{{AppSubUrl}}/explore/repos">{{ctx.Locale.Tr "explore"}}</a>
{{end}}
</div>
</div>
</div>
</div>
<style>
.renox-hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 100px 0;
text-align: center;
background-color: #ffffff;
}
.renox-art {
margin-bottom: 2rem;
animation: float 6s ease-in-out infinite;
}
.renox-title {
font-size: 3.5rem !important;
font-weight: 300 !important;
color: #1b1c1d;
margin-bottom: 0.5rem !important;
letter-spacing: -1px;
}
.renox-subtitle {
font-size: 1.25rem;
color: #6a737d;
margin-bottom: 2.5rem;
font-weight: 300;
}
.renox-actions .ui.button {
padding: 12px 30px;
font-weight: 400;
border-radius: 8px;
transition: all 0.2s ease;
}
.renox-actions .ui.primary.button {
background-color: #45b135 !important;
}
.renox-actions .ui.primary.button:hover {
background-color: #3d9e2f !important;
transform: translateY(-1px);
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
/* Force light mode background for this section if Gitea is in dark mode */
body:not(.theme-arc-green) .renox-hero {
background-color: #ffffff;
}
</style>
{{template "base/footer" .}}