first commit

This commit is contained in:
2025-12-04 11:09:39 +01:00
commit 1c26370823
9 changed files with 2994 additions and 0 deletions

73
README.md Normal file
View File

@@ -0,0 +1,73 @@
# Gitea Bootstrap 5 Landing Page Theme
A drop-in theme that replaces the public front page of a Gitea instance with a modern Bootstrap 5 + Font Awesome experience. Signed-in users see a refreshed quick-action dashboard row, while guests get a marketing-style hero layout with prominent calls to action.
![Screenshot of the customized Gitea home landing page showing the Bootstrap hero layout, quick actions, and footer enhancements](asset/snap1.png)
## What's Included
- `custom/templates/home.tmpl` overrides the default landing page with a Bootstrap 5 design
- `custom/templates/custom/header.tmpl` injects Bootstrap, Font Awesome, typography, and inlined theme styles
- `custom/templates/custom/body_inner_pre.tmpl` adds a compact promotional banner above the navigation bar
- `custom/templates/custom/footer.tmpl` delivers a multi-column footer with curated resource links
## Prerequisites
- Gitea 1.18+ (tested against the current `main` template structure)
- Access to the `custom/` directory on your Alpine Linux host (default `/var/lib/gitea/custom` when using the official packages)
## Installation
1. **Stop Gitea (optional but safest):**
```sh
sudo rc-service gitea stop
```
2. **Copy the theme files:**
```sh
sudo rsync -av custom/ /var/lib/gitea/custom/
```
Adjust the destination path if your `APP_DATA_PATH` differs.
3. **Fix permissions:**
```sh
sudo chown -R git:git /var/lib/gitea/custom
```
Replace `git:git` with the user/group running your Gitea service.
4. **Start or restart Gitea:**
```sh
sudo rc-service gitea start
```
5. **Bust caches (optional but recommended):** add or increment `ui.asset_version` in `app.ini`, or clear `$GITEA_CUSTOM/public` cache if you use a CDN.
## Configuration Tips
- No configuration changes are required, but you can force the refreshed styles to load by setting `ui.use_service_worker = false` if you rely on aggressive caching.
- To adjust colors or typography, edit the `<style>` block in `custom/templates/custom/header.tmpl`; Bootstrap utility classes let you rapidly tweak the layout.
- The template references Bootstrap and Font Awesome via CDNs. If your installation is air-gapped, replace the CDN URLs with self-hosted copies and drop them in `custom/public`.
## Verification Checklist
After copying the files, visit your instance root URL:
- Logged-out visitors should see the hero landing page with CTA buttons, feature highlights and the install checklist.
- Logged-in users should see the "Welcome back" dashboard card with quick action buttons.
- The top navigation bar should render with the glassmorphism background and rounded menu pills, with the announcement banner above it.
- The footer should show the new three-column resource section followed by the standard Gitea footer.
## Troubleshooting
- **Styles didn't update** Make sure `custom/templates/custom/header.tmpl` copied correctly and bump `ui.asset_version` in `app.ini` to invalidate the service worker cache.
- **CDN blocked or SRI mismatch** If the environment strips query params or modifies assets, host Bootstrap and Font Awesome locally inside `custom/public/vendor/` and update the links in `custom/templates/custom/header.tmpl` (remove the `integrity` attribute when serving self-hosted copies).
- **Navbar dropdown hidden behind content** Ensure you're using the latest `custom/templates/custom/header.tmpl`; it sets a higher `z-index` for Gitea's dropdown menus so they stack above repository cards.
## Updating
To revert to the stock appearance, delete the overrides:
```sh
sudo rm -rf /var/lib/gitea/custom/templates/home.tmpl \
/var/lib/gitea/custom/templates/custom/header.tmpl \
/var/lib/gitea/custom/templates/custom/body_inner_pre.tmpl \
/var/lib/gitea/custom/templates/custom/footer.tmpl
```
Then restart Gitea.
Happy theming! 🎨

BIN
asset/snap1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 KiB

View File

@@ -0,0 +1 @@
/* CSS moved inline to custom/templates/custom/header.tmpl to avoid 404 asset issues. */

View File

@@ -0,0 +1,165 @@
<style>
/* Repository cards - clean compact design with visible descriptions */
.user.profile .flex.flex-item,
.user.profile div[class*="flex-list"] > div[class*="flex"] {
background: rgba(255, 255, 255, 0.6) !important;
border: 1px solid rgba(140, 169, 255, 0.15) !important;
border-radius: 0.75rem !important;
padding: 0.875rem 1rem !important;
margin-bottom: 0.5rem !important;
box-shadow: 0 1px 3px rgba(140, 169, 255, 0.08) !important;
transition: all 0.2s ease !important;
}
.user.profile .flex.flex-item:hover,
.user.profile div[class*="flex-list"] > div[class*="flex"]:hover {
background: rgba(255, 255, 255, 0.85) !important;
border-color: rgba(140, 169, 255, 0.3) !important;
box-shadow: 0 2px 8px rgba(140, 169, 255, 0.12) !important;
transform: translateY(-1px) !important;
}
/* Make nested divs blend seamlessly but keep their display/spacing */
.user.profile .flex.flex-item > *,
.user.profile .flex.flex-item > * > *,
.user.profile .flex.flex-item > * > * > *,
.user.profile div[class*="flex-list"] > div[class*="flex"] > *,
.user.profile div[class*="flex-list"] > div[class*="flex"] > * > *,
.user.profile div[class*="flex-list"] > div[class*="flex"] > * > * > * {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
}
/* Repository title styling */
.user.profile .flex.flex-item .flex-item-title a {
font-size: 1rem !important;
font-weight: 600 !important;
color: #1e293b !important;
display: inline-block !important;
}
/* Description styling - make sure it's visible! */
.user.profile .flex.flex-item .flex-item-body,
.user.profile .flex.flex-item p.desc,
.user.profile .flex.flex-item .description {
display: block !important;
margin-top: 0.375rem !important;
margin-bottom: 0.375rem !important;
font-size: 0.875rem !important;
line-height: 1.4 !important;
color: #64748b !important;
opacity: 1 !important;
visibility: visible !important;
}
/* Metadata row (language, stars, etc.) */
.user.profile .flex.flex-item .flex-item-trailing {
display: flex !important;
gap: 0.75rem !important;
font-size: 0.875rem !important;
color: #64748b !important;
}
</style>
<script>
// Force clean repository cards - strip ALL nested styling
(function() {
'use strict';
function cleanRepoCards() {
// Find all repository card containers
const repoCards = document.querySelectorAll('.user.profile .flex.flex-item, .user.profile div[class*="flex-list"] > div[class*="flex"]');
repoCards.forEach(card => {
// Get ALL nested elements (deep)
const allNested = card.querySelectorAll('*');
allNested.forEach(element => {
// Force remove inline styles that create backgrounds/borders
element.style.background = 'transparent';
element.style.backgroundColor = 'transparent';
element.style.backgroundImage = 'none';
element.style.border = 'none';
element.style.borderRadius = '0';
element.style.boxShadow = 'none';
element.style.backdropFilter = 'none';
element.style.webkitBackdropFilter = 'none';
element.style.outline = 'none';
});
});
// Also apply via CSS
const style = document.createElement('style');
style.id = 'ocean-repo-cards-clean';
style.textContent = `
.user.profile .flex.flex-item,
.user.profile div[class*="flex-list"] > div[class*="flex"] {
background: rgba(255, 255, 255, 0.95) !important;
border: 1px solid rgba(140, 169, 255, 0.25) !important;
border-radius: 1rem !important;
padding: 1rem 1.25rem !important;
margin-bottom: 0.75rem !important;
box-shadow: 0 2px 8px rgba(140, 169, 255, 0.1) !important;
}
/* Force ALL nested elements to be completely transparent */
.user.profile .flex.flex-item *,
.user.profile div[class*="flex-list"] > div[class*="flex"] * {
background: transparent !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none !important;
}
`;
const oldStyle = document.getElementById('ocean-repo-cards-clean');
if (oldStyle) oldStyle.remove();
document.head.appendChild(style);
}
// Run immediately
cleanRepoCards();
// Run after DOM ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', cleanRepoCards);
}
// Run after everything loads
window.addEventListener('load', () => {
cleanRepoCards();
// Run again after a slight delay to catch any late-loading styles
setTimeout(cleanRepoCards, 100);
setTimeout(cleanRepoCards, 500);
});
// Watch for changes and re-clean
const observer = new MutationObserver(() => {
cleanRepoCards();
});
// Start observing once DOM is ready
if (document.body) {
observer.observe(document.body, {
childList: true,
subtree: true
});
} else {
window.addEventListener('load', () => {
observer.observe(document.body, {
childList: true,
subtree: true
});
});
}
})();
</script>

View File

@@ -0,0 +1,33 @@
<div class="custom-footer">
<div class="footer-inner">
<div>
<h3><i class="fa-solid fa-code-branch me-2"></i>Build together</h3>
<p>Deliver faster with lightweight workflows, protected branches and integrated automation. {{AppName}} keeps your DevOps stack on hardware you trust.</p>
</div>
<div>
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/" target="_blank" rel="noopener"><i class="fa-solid fa-book-open me-2"></i>Product documentation</a></li>
<li><a href="https://blog.gitea.com/" target="_blank" rel="noopener"><i class="fa-solid fa-newspaper me-2"></i>Release notes</a></li>
<li><a href="https://github.com/go-gitea/gitea" target="_blank" rel="noopener"><i class="fa-brands fa-github me-2"></i>Source code</a></li>
</ul>
</div>
<div>
<h3>Get help</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/installation" target="_blank" rel="noopener"><i class="fa-solid fa-server me-2"></i>Installation guide</a></li>
<li><a href="https://docs.gitea.com/administration" target="_blank" rel="noopener"><i class="fa-solid fa-shield-halved me-2"></i>Admin handbook</a></li>
<li><a href="https://docs.gitea.com/usage" target="_blank" rel="noopener"><i class="fa-solid fa-people-group me-2"></i>User onboarding</a></li>
</ul>
</div>
</div>
<div class="footer-divider"></div>
<div class="footer-bottom">
<span>© {{AppName}} self-hosted Git, streamlined.</span>
<div class="social-links">
<a href="https://github.com/go-gitea" target="_blank" rel="noopener" aria-label="GitHub"><i class="fa-brands fa-github"></i></a>
<a href="https://twitter.com/giteaio" target="_blank" rel="noopener" aria-label="X"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://discord.gg/gitea" target="_blank" rel="noopener" aria-label="Discord"><i class="fa-brands fa-discord"></i></a>
</div>
</div>
</div>

File diff suppressed because it is too large Load Diff

157
custom/templates/home.tmpl Normal file
View File

@@ -0,0 +1,157 @@
{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content p-0">
{{if .IsSigned}}
<section class="py-5 bg-soft border-bottom">
<div class="container">
<div class="row align-items-center g-4">
<div class="col-lg-8">
<span class="badge text-bg-primary text-uppercase mb-3">Welcome back</span>
<h1 class="display-5 fw-bold mb-3">Dashboard · {{.SignedUser.Name}}</h1>
<p class="lead mb-4">Quick links to jump straight into your day with {{AppName}}.</p>
<div class="d-flex flex-wrap gap-3">
<a class="btn btn-primary btn-lg" href="{{AppSubUrl}}/repo/create">
<i class="fa-solid fa-circle-plus me-2"></i>Create repository
</a>
<a class="btn btn-outline-primary btn-lg" href="{{AppSubUrl}}/explore/repos">
<i class="fa-solid fa-compass me-2"></i>Explore projects
</a>
</div>
</div>
<div class="col-lg-4">
<div class="card shadow-sm border-0">
<div class="card-body">
<h2 class="h5 fw-semibold mb-4">Quick actions</h2>
<ul class="list-group list-group-flush">
<li class="list-group-item px-0"><a class="link-primary text-decoration-none" href="{{AppSubUrl}}/{{.SignedUser.Name}}"><i class="fa-solid fa-user me-2"></i>View profile</a></li>
<li class="list-group-item px-0"><a class="link-primary text-decoration-none" href="{{AppSubUrl}}/{{.SignedUser.Name}}?tab=repositories"><i class="fa-solid fa-book me-2"></i>Manage repositories</a></li>
<li class="list-group-item px-0"><a class="link-primary text-decoration-none" href="{{AppSubUrl}}/notifications"><i class="fa-solid fa-bell me-2"></i>Check notifications</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="row g-4">
<div class="col-md-4">
<div class="card home-stat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i class="fa-solid fa-timeline me-2 text-primary"></i>Stay updated</h3>
<p class="text-muted mb-3">Jump into your activity feed to review pull requests, issues and events.</p>
<a class="btn btn-sm btn-outline-primary" href="{{AppSubUrl}}/dashboard">Open dashboard</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card homestat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i class="fa-solid fa-diagram-project me-2 text-primary"></i>Manage repositories</h3>
<p class="text-muted mb-3">Keep tabs on projects, branches and pull requests that matter most.</p>
<a class="btn btn-sm btn-outline-primary" href="{{AppSubUrl}}/{{.SignedUser.Name}}?tab=repositories">View repositories</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card home-stat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i class="fa-solid fa-gear me-2 text-primary"></i>Tune your settings</h3>
<p class="text-muted mb-3">Update SSH keys, notifications and integrations for your workflow.</p>
<a class="btn btn-sm btn-outline-primary" href="{{AppSubUrl}}/user/settings">Open settings</a>
</div>
</div>
</div>
</div>
</div>
</section>
{{else}}
<section class="home-hero">
<!-- Sun rays -->
<div class="sun-rays"></div>
<!-- Whale -->
<div class="whale-container">
<div class="whale-box">
<div class="whale-left">
<div class="whale-belly"></div>
</div>
<div class="whale-middle">
<div class="whale-belly"></div>
</div>
<div class="whale-tail"></div>
<div class="whale-fin1"></div>
<div class="whale-fin2"></div>
<div class="whale-eye"></div>
</div>
</div>
<!-- Bubbles -->
<div class="bubble bubble-1"></div>
<div class="bubble bubble-2"></div>
<div class="bubble bubble-3"></div>
<div class="bubble bubble-4"></div>
<div class="bubble bubble-5"></div>
<div class="bubble bubble-6"></div>
<div class="container py-5">
<div class="row align-items-center g-5">
<div class="col-12 col-lg-6">
<h1 class="mb-4">Build, collaborate and deliver with confidence.</h1>
<p class="lead mb-5">Lightweight, powerful and totally yours. {{AppName}} gives your team a beautiful code collaboration hub backed by open source freedom.</p>
<div class="d-flex flex-wrap gap-3">
<a class="hero-btn-primary" href="{{AppSubUrl}}/user/login">
<i class="fa-solid fa-right-to-bracket"></i>Sign in
</a>
<a class="hero-btn-secondary" href="{{AppSubUrl}}/explore/repos">
<i class="fa-solid fa-compass"></i>Explore projects
</a>
<a class="hero-btn-tertiary" href="https://docs.gitea.com/" target="_blank">
<i class="fa-solid fa-book-open"></i>Documentation
</a>
</div>
</div>
</div>
</div>
</section>
<section class="py-5 bg-white">
<div class="container">
<div class="row g-4">
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-cloud-arrow-up"></i></div>
<h3 class="h5 fw-semibold mb-3">Ship faster</h3>
<p class="text-muted">Built-in CI runners and packages help your team move ideas to production faster with less friction.</p>
</div>
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-lock"></i></div>
<h3 class="h5 fw-semibold mb-3">Stay secure</h3>
<p class="text-muted">Enforce branch protections, SSO, fine-grained permissions and audit logs to keep your codebase safe.</p>
</div>
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-plug"></i></div>
<h3 class="h5 fw-semibold mb-3">Integrate everywhere</h3>
<p class="text-muted">Connect with runners, chatops and automation platforms using webhooks, OAuth and a RESTful API.</p>
</div>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="home-footer-cta text-center text-lg-start">
<div class="row align-items-center g-4">
<div class="col-lg-8">
<h2 class="mb-3">Ready to solve real world problem?</h2>
<p class="mb-0">Sign in to your {{AppName}} instance or invite your team to collaborate securely with pull requests, packages and automation.</p>
</div>
<div class="col-lg-4 text-lg-end">
<a class="btn btn-light btn-lg text-primary" href="{{AppSubUrl}}/user/sign_up">
<i class="fa-solid fa-user-plus me-2"></i>{{ctx.Locale.Tr "sign_up"}}
</a>
</div>
</div>
</div>
</div>
</section>
{{end}}
</div>
{{template "base/footer" .}}

839
preview-guest.html Normal file
View File

@@ -0,0 +1,839 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gitea - Home (Guest View)</title>
<!-- Custom header assets -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background-color: #FFF8DE;
}
#navbar {
background: rgba(140, 169, 255, 0.95);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(170, 196, 245, 0.3);
box-shadow: 0 12px 30px rgba(140, 169, 255, 0.2);
padding: 0.35rem 1.25rem;
border-radius: 18px;
margin: 2rem auto 0;
width: min(1080px, calc(100% - 2rem));
position: relative;
z-index: 1025;
}
#navbar .navbar-brand {
color: #e2e8f0 !important;
font-weight: 700;
font-size: 1.25rem;
}
#navbar .nav-link {
color: #e2e8f0 !important;
font-weight: 500;
border-radius: 999px !important;
padding: 0.55rem 1rem !important;
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
#navbar .item:hover,
#navbar .item.active {
background: rgba(255, 248, 222, 0.25) !important;
color: #f8fafc !important;
transform: translateY(-1px);
}
#navbar .btn-primary {
border-radius: 999px;
padding: 0.55rem 1.25rem;
}
.page-content {
margin-top: 1.25rem;
}
.home-hero {
min-height: 65vh;
display: flex;
align-items: center;
background: linear-gradient(to bottom, #AAC4F5 0%, #8CA9FF 40%, #AAC4F5 70%, #FFF8DE 100%);
padding: 4rem 0;
position: relative;
overflow: hidden;
}
/* Animated water waves */
.home-hero::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 200%;
height: 100%;
background: linear-gradient(to bottom,
transparent 0%,
rgba(170, 196, 245, 0.15) 30%,
rgba(140, 169, 255, 0.25) 60%,
rgba(140, 169, 255, 0.35) 100%);
animation: wave 20s linear infinite;
pointer-events: none;
}
.home-hero::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 200%;
height: 100%;
background: linear-gradient(to bottom,
transparent 0%,
rgba(170, 196, 245, 0.2) 40%,
rgba(140, 169, 255, 0.3) 70%,
rgba(140, 169, 255, 0.4) 100%);
animation: wave 15s linear infinite reverse;
pointer-events: none;
}
@keyframes wave {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
/* Whale container */
.whale-container {
position: absolute;
top: 10%;
right: 2%;
width: 650px;
height: 520px;
animation: float 6s ease-in-out infinite;
z-index: 5;
}
@keyframes float {
0%,
100% {
transform: translateY(0) rotate(0deg);
}
25% {
transform: translateY(-15px) rotate(-1deg);
}
50% {
transform: translateY(0) rotate(0deg);
}
75% {
transform: translateY(15px) rotate(1deg);
}
}
/* Whale box */
.whale-box {
position: relative;
width: 100%;
height: 100%;
}
.whale-left {
position: absolute;
clip-path: polygon(3% 30%, 9% 23%, 37% 30%, 42% 64%, 30% 66%, 11% 47%);
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background: #8CA9FF;
z-index: 2;
overflow: hidden;
}
.whale-middle {
position: absolute;
clip-path: polygon(89% 23%, 70% 13%, 37% 30%, 42% 64%, 50% 61%, 78% 27%);
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background: #8CA9FF;
z-index: 2;
overflow: hidden;
}
.whale-tail {
position: absolute;
clip-path: polygon(83% 19%, 87% 14%, 95% 12%, 91% 23%, 97% 32%, 90% 37%, 82% 27%);
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background: #6B8DD6;
z-index: 1;
transform-origin: center left;
animation: tail 0.8s ease-in-out infinite alternate;
}
@keyframes tail {
0% {
transform: rotate(-0.3deg);
}
100% {
transform: rotate(0.3deg);
}
}
.whale-belly {
position: absolute;
clip-path: polygon(7% 41%, 35% 52%, 58% 42%, 77% 23%, 90% 21%, 58% 70%, 30% 75%);
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9);
z-index: 2;
}
.whale-eye {
position: absolute;
top: 40%;
left: 30%;
width: 5%;
height: 6%;
border-radius: 50%;
background: #292a2d;
z-index: 3;
animation: blink 3s ease-in-out infinite;
}
@keyframes blink {
0% {
transform: scaleY(1);
}
1% {
transform: scaleY(0.1);
}
2% {
transform: scaleY(1);
}
60% {
transform: scaleY(1);
}
61% {
transform: scaleY(0.1);
}
62% {
transform: scaleY(1);
}
100% {
transform: scaleY(1);
}
}
.whale-fin1 {
position: absolute;
clip-path: polygon(45% 53%, 41% 64%, 47% 77%, 58% 80%, 51% 69%);
top: -1%;
left: -10%;
width: 100%;
height: 100%;
background: #6B8DD6;
z-index: 2;
transform-origin: center top;
animation: fin 0.8s ease-in-out infinite alternate;
}
.whale-fin2 {
position: absolute;
clip-path: polygon(23% 60%, 20% 70%, 25% 86%, 28% 64%);
top: -10%;
left: -5%;
width: 100%;
height: 100%;
background: #6B8DD6;
z-index: 0;
transform-origin: center top;
animation: fin 1s ease-in-out infinite alternate;
}
@keyframes fin {
0% {
transform: rotate(-5deg);
}
100% {
transform: rotate(-3deg);
}
}
/* Bubbles */
.bubble {
position: absolute;
border-radius: 50%;
border: 3px solid rgba(255, 255, 255, 0.6);
background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(200, 230, 255, 0.5));
opacity: 0;
z-index: 3;
}
.bubble-1 {
bottom: 10%;
left: 30%;
width: 50px;
height: 50px;
animation: bubbles 5s ease-in infinite;
animation-delay: 0.5s;
}
.bubble-2 {
bottom: 25%;
right: 35%;
width: 35px;
height: 35px;
animation: bubbles 4.5s ease-in infinite;
animation-delay: 1s;
}
.bubble-3 {
bottom: 40%;
right: 20%;
width: 45px;
height: 45px;
animation: bubbles 5.5s ease-in infinite;
animation-delay: 1.8s;
}
.bubble-4 {
bottom: 15%;
left: 15%;
width: 28px;
height: 28px;
animation: bubbles 4s ease-in infinite;
animation-delay: 0s;
}
.bubble-5 {
bottom: 30%;
left: 50%;
width: 38px;
height: 38px;
animation: bubbles 6s ease-in infinite;
animation-delay: 2.5s;
}
.bubble-6 {
bottom: 20%;
right: 45%;
width: 32px;
height: 32px;
animation: bubbles 4.8s ease-in infinite;
animation-delay: 1.2s;
}
@keyframes bubbles {
0% {
transform: translateY(0) scale(1);
opacity: 0;
}
10% {
opacity: 0.8;
}
90% {
opacity: 0.6;
}
100% {
transform: translateY(-600px) scale(0.3);
opacity: 0;
}
}
/* Sun rays effect */
.sun-rays {
position: absolute;
top: 0;
left: 50%;
width: 300px;
height: 300px;
background: radial-gradient(ellipse at center,
rgba(255, 255, 200, 0.3) 0%,
rgba(255, 255, 200, 0.1) 30%,
transparent 70%);
transform: translateX(-50%);
animation: rays 10s ease-in-out infinite alternate;
}
@keyframes rays {
0% {
opacity: 0.3;
transform: translateX(-50%) scale(1);
}
100% {
opacity: 0.6;
transform: translateX(-50%) scale(1.2);
}
}
/* Ensure text is above ocean effects */
.home-hero .container {
position: relative;
z-index: 10;
}
.home-hero h1,
.home-hero .lead,
.home-hero .badge {
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
color: #ffffff;
}
.home-hero .card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
}
/* Hero CTA Buttons */
.hero-btn-primary {
background: linear-gradient(135deg, #8CA9FF, #AAC4F5);
color: #ffffff;
border: none;
padding: 0.9rem 2rem;
border-radius: 50px;
font-weight: 600;
font-size: 1.05rem;
box-shadow: 0 8px 20px rgba(140, 169, 255, 0.35);
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.hero-btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(140, 169, 255, 0.5);
background: linear-gradient(135deg, #7B98EE, #99B3E4);
color: #ffffff;
}
.hero-btn-secondary {
background: rgba(255, 242, 198, 0.9);
color: #5a7bb8;
border: 2px solid #AAC4F5;
padding: 0.85rem 1.9rem;
border-radius: 50px;
font-weight: 600;
font-size: 1.05rem;
box-shadow: 0 4px 15px rgba(170, 196, 245, 0.25);
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.hero-btn-secondary:hover {
transform: translateY(-3px);
background: #FFF8DE;
border-color: #8CA9FF;
color: #4a6aa0;
box-shadow: 0 8px 25px rgba(170, 196, 245, 0.4);
}
.hero-btn-tertiary {
background: transparent;
color: #ffffff;
border: none;
padding: 0.9rem 1.5rem;
border-radius: 50px;
font-weight: 500;
font-size: 1rem;
text-decoration: none;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
position: relative;
}
.hero-btn-tertiary::before {
content: '';
position: absolute;
bottom: 8px;
left: 1.5rem;
right: 1.5rem;
height: 2px;
background: rgba(255, 255, 255, 0.4);
transition: all 0.3s ease;
}
.hero-btn-tertiary:hover {
color: #FFF2C6;
transform: translateY(-2px);
}
.hero-btn-tertiary:hover::before {
background: #FFF2C6;
height: 3px;
}
.home-hero .badge {
letter-spacing: 0.08em;
font-weight: 600;
}
.home-hero h1 {
font-weight: 700;
font-size: clamp(2.5rem, 5vw, 3.75rem);
}
.home-hero p.lead {
color: rgba(15, 23, 42, 0.75);
font-size: 1.15rem;
}
.home-stat-card {
border-radius: 1rem;
border: none;
box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-stat-card:hover {
transform: translateY(-6px);
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}
.feature-icon {
width: 3rem;
height: 3rem;
border-radius: 0.75rem;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(170, 196, 245, 0.2);
color: #8CA9FF;
font-size: 1.5rem;
}
.section-title {
font-weight: 600;
}
.home-footer-cta {
background: linear-gradient(135deg, #8CA9FF, #AAC4F5);
border-radius: 1.25rem;
color: #fff;
padding: 3rem;
}
.home-footer-cta h2 {
font-weight: 700;
font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.bg-soft {
background: rgba(170, 196, 245, 0.15);
}
.custom-footer {
background: #0f172a;
color: #cbd5f5;
padding: 4rem 0 2.5rem;
margin-top: 4rem;
}
.custom-footer .footer-inner {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 2.5rem;
max-width: 1100px;
margin: 0 auto;
padding: 0 1.5rem;
}
.custom-footer h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1rem;
color: #38bdf8;
}
.custom-footer p,
.custom-footer li,
.custom-footer a {
color: rgba(226, 232, 240, 0.8);
}
.custom-footer a {
text-decoration: none;
transition: color 0.2s ease, transform 0.2s ease;
}
.custom-footer a:hover {
color: #f8fafc;
transform: translateX(3px);
}
.custom-footer .footer-links {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 0.65rem;
}
.custom-footer .footer-divider {
border-top: 1px solid rgba(148, 163, 184, 0.2);
margin: 2.5rem auto 0;
max-width: 1100px;
}
.custom-footer .footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1.25rem 1.5rem 0;
max-width: 1100px;
margin: 0 auto;
}
.custom-footer .social-links {
display: flex;
gap: 0.75rem;
}
.custom-footer .social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 999px;
background: rgba(148, 163, 184, 0.15);
}
@media (max-width: 768px) {
#navbar {
margin-top: 0.75rem;
width: calc(100% - 1.25rem);
border-radius: 14px;
}
.custom-footer {
padding: 3rem 0 2rem;
}
.custom-footer .footer-bottom {
flex-direction: column;
align-items: flex-start;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<nav id="navbar" class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<i class="fa-solid fa-code-branch me-2"></i>Gitea
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#explore">Explore</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#help">Help</a>
</li>
<li class="nav-item ms-2">
<a class="btn btn-primary btn-sm" href="#signin">Sign In</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Main Content -->
<div role="main" class="page-content p-0">
<!-- Hero Section -->
<section class="home-hero">
<!-- Sun rays -->
<div class="sun-rays"></div>
<!-- Whale -->
<div class="whale-container">
<div class="whale-box">
<div class="whale-left">
<div class="whale-belly"></div>
</div>
<div class="whale-middle">
<div class="whale-belly"></div>
</div>
<div class="whale-tail"></div>
<div class="whale-fin1"></div>
<div class="whale-fin2"></div>
<div class="whale-eye"></div>
</div>
</div>
<!-- Bubbles -->
<div class="bubble bubble-1"></div>
<div class="bubble bubble-2"></div>
<div class="bubble bubble-3"></div>
<div class="bubble bubble-4"></div>
<div class="bubble bubble-5"></div>
<div class="bubble bubble-6"></div>
<div class="container py-5">
<div class="row align-items-center g-5">
<div class="col-12 col-lg-6">
<h1 class="mb-4">Build, collaborate and deliver with confidence.</h1>
<p class="lead mb-5">Lightweight, powerful and totally yours. Gitea gives your team a beautiful
code collaboration hub backed by open source freedom.</p>
<div class="d-flex flex-wrap gap-3">
<a class="hero-btn-primary" href="#signin">
<i class="fa-solid fa-right-to-bracket"></i>Sign in
</a>
<a class="hero-btn-secondary" href="#explore">
<i class="fa-solid fa-compass"></i>Explore projects
</a>
<a class="hero-btn-tertiary" href="https://docs.gitea.com/" target="_blank">
<i class="fa-solid fa-book-open"></i>Documentation
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-5 bg-white">
<div class="container">
<div class="row g-4">
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-cloud-arrow-up"></i></div>
<h3 class="h5 fw-semibold mb-3">Ship faster</h3>
<p class="text-muted">Built-in CI runners and packages help your team move ideas to production
faster with less friction.</p>
</div>
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-lock"></i></div>
<h3 class="h5 fw-semibold mb-3">Stay secure</h3>
<p class="text-muted">Enforce branch protections, SSO, fine-grained permissions and audit logs
to keep your codebase safe.</p>
</div>
<div class="col-md-4">
<div class="feature-icon mb-3"><i class="fa-solid fa-plug"></i></div>
<h3 class="h5 fw-semibold mb-3">Integrate everywhere</h3>
<p class="text-muted">Connect with runners, chatops and automation platforms using webhooks,
OAuth and a RESTful API.</p>
</div>
</div>
</div>
</section>
<!-- Final CTA -->
<section class="py-5">
<div class="container">
<div class="home-footer-cta text-center text-lg-start">
<div class="row align-items-center g-4">
<div class="col-lg-8">
<h2 class="mb-3">Ready to solve real world problem?</h2>
<p class="mb-0">Sign in to your Gitea instance or invite your team to collaborate securely
with pull requests, packages and automation.</p>
</div>
<div class="col-lg-4 text-lg-end">
<a class="btn btn-light btn-lg text-primary" href="#signup">
<i class="fa-solid fa-user-plus me-2"></i>Sign up
</a>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Custom Footer -->
<div class="custom-footer">
<div class="footer-inner">
<div>
<h3><i class="fa-solid fa-code-branch me-2"></i>Build together</h3>
<p>Deliver faster with lightweight workflows, protected branches and integrated automation. Gitea keeps
your DevOps stack on hardware you trust.</p>
</div>
<div>
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/" target="_blank" rel="noopener"><i
class="fa-solid fa-book-open me-2"></i>Product documentation</a></li>
<li><a href="https://blog.gitea.com/" target="_blank" rel="noopener"><i
class="fa-solid fa-newspaper me-2"></i>Release notes</a></li>
<li><a href="https://github.com/go-gitea/gitea" target="_blank" rel="noopener"><i
class="fa-brands fa-github me-2"></i>Source code</a></li>
</ul>
</div>
<div>
<h3>Get help</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/installation" target="_blank" rel="noopener"><i
class="fa-solid fa-server me-2"></i>Installation guide</a></li>
<li><a href="https://docs.gitea.com/administration" target="_blank" rel="noopener"><i
class="fa-solid fa-shield-halved me-2"></i>Admin handbook</a></li>
<li><a href="https://docs.gitea.com/usage" target="_blank" rel="noopener"><i
class="fa-solid fa-people-group me-2"></i>User onboarding</a></li>
</ul>
</div>
</div>
<div class="footer-divider"></div>
<div class="footer-bottom">
<span>© Gitea self-hosted Git, streamlined.</span>
<div class="social-links">
<a href="https://github.com/go-gitea" target="_blank" rel="noopener" aria-label="GitHub"><i
class="fa-brands fa-github"></i></a>
<a href="https://twitter.com/giteaio" target="_blank" rel="noopener" aria-label="X"><i
class="fa-brands fa-x-twitter"></i></a>
<a href="https://discord.gg/gitea" target="_blank" rel="noopener" aria-label="Discord"><i
class="fa-brands fa-discord"></i></a>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>

712
preview-signed-in.html Normal file
View File

@@ -0,0 +1,712 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gitea - Dashboard (Signed-In View)</title>
<!-- Custom header assets -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background-color: #FFF8DE;
}
.custom-top-banner {
background: linear-gradient(120deg, rgba(140, 169, 255, 0.95), rgba(170, 196, 245, 0.85));
color: #e2e8f0;
font-size: 0.95rem;
}
.custom-top-banner .banner-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
padding: 0.65rem 1.5rem;
}
.custom-top-banner .banner-actions {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
}
.custom-top-banner a {
color: #0f172a;
font-weight: 600;
text-decoration: none;
background: rgba(255, 248, 222, 0.85);
padding: 0.35rem 0.9rem;
border-radius: 999px;
transition: background 0.2s ease, transform 0.2s ease;
}
.custom-top-banner i {
color: #8CA9FF;
}
.custom-top-banner a:hover {
background: #FFF8DE;
transform: translateY(-1px);
}
#navbar {
background: rgba(140, 169, 255, 0.95);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(170, 196, 245, 0.3);
box-shadow: 0 12px 30px rgba(140, 169, 255, 0.2);
padding: 0.35rem 1.25rem;
border-radius: 18px;
margin: 2rem auto 0;
width: min(1080px, calc(100% - 2rem));
position: relative;
z-index: 1025;
}
#navbar .navbar-brand {
color: #ffffff !important;
font-weight: 700;
font-size: 1.25rem;
}
#navbar .nav-link {
color: #e2e8f0 !important;
font-weight: 500;
border-radius: 999px !important;
padding: 0.55rem 1rem !important;
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
#navbar .nav-link:hover {
background: rgba(255, 248, 222, 0.25) !important;
color: #f8fafc !important;
transform: translateY(-1px);
}
#navbar .btn-primary {
border-radius: 999px;
padding: 0.55rem 1.25rem;
}
.page-content {
margin-top: 1.25rem;
}
.home-stat-card {
border-radius: 1rem;
border: none;
box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-stat-card:hover {
transform: translateY(-6px);
box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}
.bg-soft {
background: rgba(170, 196, 245, 0.15);
}
.custom-footer {
background: #0f172a;
color: #cbd5f5;
padding: 4rem 0 2.5rem;
margin-top: 4rem;
}
.custom-footer .footer-inner {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 2.5rem;
max-width: 1100px;
margin: 0 auto;
padding: 0 1.5rem;
}
.custom-footer h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1rem;
color: #38bdf8;
}
.custom-footer p,
.custom-footer li,
.custom-footer a {
color: rgba(226, 232, 240, 0.8);
}
.custom-footer a {
text-decoration: none;
transition: color 0.2s ease, transform 0.2s ease;
}
.custom-footer a:hover {
color: #f8fafc;
transform: translateX(3px);
}
.custom-footer .footer-links {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 0.65rem;
}
.custom-footer .footer-divider {
border-top: 1px solid rgba(148, 163, 184, 0.2);
margin: 2.5rem auto 0;
max-width: 1100px;
}
.custom-footer .footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1.25rem 1.5rem 0;
max-width: 1100px;
margin: 0 auto;
}
.custom-footer .social-links {
display: flex;
gap: 0.75rem;
}
.custom-footer .social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
border-radius: 999px;
background: rgba(148, 163, 184, 0.15);
}
/* Repository card styles */
.ui.repository.list {
background: linear-gradient(to bottom, rgba(170, 196, 245, 0.03), transparent);
padding: 1.5rem 0;
}
.repo-search input {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border: 2px solid rgba(170, 196, 245, 0.3);
border-radius: 50px;
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(140, 169, 255, 0.1);
width: 100%;
}
.repo-search input:focus {
background: #ffffff;
border-color: #8CA9FF;
box-shadow: 0 6px 25px rgba(140, 169, 255, 0.2);
outline: none;
}
.ui.tabular.menu {
border-bottom: 2px solid rgba(170, 196, 245, 0.2);
margin-bottom: 1.5rem;
}
.ui.tabular.menu .item {
color: #64748b;
font-weight: 500;
padding: 0.8rem 1.25rem;
border-radius: 12px 12px 0 0;
transition: all 0.2s ease;
border: none;
}
.ui.tabular.menu .item:hover {
background: rgba(170, 196, 245, 0.1);
color: #475569;
}
.ui.tabular.menu .item.active {
background: rgba(140, 169, 255, 0.15);
color: #1e293b;
font-weight: 600;
border-bottom: 3px solid #8CA9FF !important;
}
.ui.repository.list .item {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(170, 196, 245, 0.05));
backdrop-filter: blur(10px);
border: 1px solid rgba(170, 196, 245, 0.2);
border-radius: 1rem;
padding: 1.25rem 1.5rem;
margin-bottom: 1rem;
box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
display: block;
text-decoration: none;
}
.ui.repository.list .item::before {
content: '';
position: absolute;
top: 0;
right: -50px;
width: 150px;
height: 150px;
background: radial-gradient(circle, rgba(140, 169, 255, 0.08), transparent);
border-radius: 50%;
transition: all 0.5s ease;
pointer-events: none;
}
.ui.repository.list .item:hover {
transform: translateY(-6px);
box-shadow: 0 12px 35px rgba(140, 169, 255, 0.2);
border-color: rgba(140, 169, 255, 0.4);
}
.ui.repository.list .item:hover::before {
right: -30px;
}
.repo-icon {
color: #8CA9FF;
font-size: 1.25rem;
margin-right: 0.75rem;
}
.repo-icon.lock {
color: #AAC4F5;
}
.repo-name {
color: #1e293b;
font-weight: 600;
font-size: 1.1rem;
margin-bottom: 0.5rem;
transition: color 0.2s ease;
}
.ui.repository.list .item:hover .repo-name {
color: #8CA9FF;
}
.repo-desc {
color: #64748b;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 0.75rem;
}
.repo-meta {
display: flex;
gap: 1.25rem;
align-items: center;
flex-wrap: wrap;
font-size: 0.85rem;
color: #64748b;
}
.repo-meta span {
display: inline-flex;
align-items: center;
gap: 0.4rem;
}
.repo-meta i {
color: #AAC4F5;
}
.repo-language {
background: rgba(140, 169, 255, 0.15);
color: #5a7bb8;
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 500;
}
@media (max-width: 768px) {
#navbar {
margin-top: 0.75rem;
width: calc(100% - 1.25rem);
border-radius: 14px;
}
.custom-top-banner .banner-inner {
flex-direction: column;
align-items: flex-start;
}
.custom-footer {
padding: 3rem 0 2rem;
}
.custom-footer .footer-bottom {
flex-direction: column;
align-items: flex-start;
}
.ui.repository.list .item {
padding: 1rem;
}
.repo-name {
font-size: 1rem;
}
}
</style>
</head>
<body>
<!-- Top Banner -->
<div class="custom-top-banner">
<div class="banner-inner">
<div class="d-flex align-items-center gap-2">
<i class="fa-solid fa-rocket"></i>
<span><strong>Vijay's</strong> Git server</span>
</div>
<div class="banner-actions d-flex align-items-center">
<a href="#explore">
<i class="fa-solid fa-compass me-1"></i>Explore projects
</a>
<a href="https://docs.gitea.com/administration" target="_blank" rel="noopener">
<i class="fa-solid fa-book-open me-1"></i>Admin docs
</a>
<a href="#new-repo">
<i class="fa-solid fa-circle-plus me-1"></i>New repo
</a>
</div>
</div>
</div>
<!-- Navbar -->
<nav id="navbar" class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<i class="fa-solid fa-code-branch me-2"></i>Gitea
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="#dashboard">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#issues">Issues</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#pulls">Pull Requests</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#explore">Explore</a>
</li>
<li class="nav-item ms-2">
<a class="btn btn-primary btn-sm" href="#create">
<i class="fa-solid fa-plus me-1"></i>New
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Main Content -->
<div role="main" class="page-content p-0">
<!-- Dashboard Header -->
<section class="py-5 bg-soft border-bottom">
<div class="container">
<div class="row align-items-center g-4">
<div class="col-lg-8">
<span class="badge text-bg-primary text-uppercase mb-3">Welcome back</span>
<h1 class="display-5 fw-bold mb-3">Dashboard · YourUsername</h1>
<p class="lead mb-4">Quick links to jump straight into your day with Gitea.</p>
<div class="d-flex flex-wrap gap-3">
<a class="btn btn-primary btn-lg" href="#create-repo">
<i class="fa-solid fa-circle-plus me-2"></i>Create repository
</a>
<a class="btn btn-outline-primary btn-lg" href="#explore">
<i class="fa-solid fa-compass me-2"></i>Explore projects
</a>
</div>
</div>
<div class="col-lg-4">
<div class="card shadow-sm border-0">
<div class="card-body">
<h2 class="h5 fw-semibold mb-4">Quick actions</h2>
<ul class="list-group list-group-flush">
<li class="list-group-item px-0"><a class="link-primary text-decoration-none"
href="#profile"><i class="fa-solid fa-user me-2"></i>View profile</a></li>
<li class="list-group-item px-0"><a class="link-primary text-decoration-none"
href="#repos"><i class="fa-solid fa-book me-2"></i>Manage repositories</a>
</li>
<li class="list-group-item px-0"><a class="link-primary text-decoration-none"
href="#notifications"><i class="fa-solid fa-bell me-2"></i>Check
notifications</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Quick Stats -->
<section class="py-5">
<div class="container">
<div class="row g-4">
<div class="col-md-4">
<div class="card home-stat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i
class="fa-solid fa-timeline me-2 text-primary"></i>Stay updated</h3>
<p class="text-muted mb-3">Jump into your activity feed to review pull requests, issues
and events.</p>
<a class="btn btn-sm btn-outline-primary" href="#dashboard">Open dashboard</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card home-stat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i
class="fa-solid fa-diagram-project me-2 text-primary"></i>Manage repositories
</h3>
<p class="text-muted mb-3">Keep tabs on projects, branches and pull requests that matter
most.</p>
<a class="btn btn-sm btn-outline-primary" href="#repos">View repositories</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card home-stat-card h-100">
<div class="card-body">
<h3 class="h5 fw-semibold mb-3"><i class="fa-solid fa-gear me-2 text-primary"></i>Tune
your settings</h3>
<p class="text-muted mb-3">Update SSH keys, notifications and integrations for your
workflow.</p>
<a class="btn btn-sm btn-outline-primary" href="#settings">Open settings</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Repository List Section -->
<section class="py-5">
<div class="container">
<div class="row">
<div class="col-12">
<div class="d-flex justify-content-between align-items-center mb-4">
<h2 class="h3 fw-bold">
<i class="fa-solid fa-book me-2 text-primary"></i>Repositories
<span class="badge bg-primary ms-2">18</span>
</h2>
<a class="btn btn-primary" href="#new">
<i class="fa-solid fa-plus me-2"></i>New Repository
</a>
</div>
<!-- Search Bar -->
<div class="repo-search mb-4">
<input type="text" placeholder="Search repositories..." class="form-control">
</div>
<!-- Tab Navigation -->
<div class="ui tabular menu mb-4">
<a class="item active" href="#all">
<i class="fa-solid fa-list me-2"></i>All <span class="ms-1">(17)</span>
</a>
<a class="item" href="#sources">
<i class="fa-solid fa-code me-2"></i>Sources <span class="ms-1">(15)</span>
</a>
<a class="item" href="#forks">
<i class="fa-solid fa-code-fork me-2"></i>Forks <span class="ms-1">(2)</span>
</a>
<a class="item" href="#mirrors">
<i class="fa-solid fa-clone me-2"></i>Mirrors <span class="ms-1">(0)</span>
</a>
</div>
<!-- Repository Cards -->
<div class="ui repository list">
<!-- Repository 1 -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-book repo-icon"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/maps</div>
<div class="repo-desc">Interactive mapping application with real-time data
visualization and custom tile rendering</div>
<div class="repo-meta">
<span class="repo-language">TypeScript</span>
<span><i class="fa-solid fa-star"></i> 12</span>
<span><i class="fa-solid fa-code-fork"></i> 3</span>
<span><i class="fa-solid fa-clock"></i> Updated 2 hours ago</span>
</div>
</div>
</div>
</a>
<!-- Repository 2 -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-book repo-icon"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/tidal-dl-ng-webui</div>
<div class="repo-desc">Modern web interface for downloading music from Tidal
with Docker support</div>
<div class="repo-meta">
<span class="repo-language">Python</span>
<span><i class="fa-solid fa-star"></i> 8</span>
<span><i class="fa-solid fa-code-fork"></i> 1</span>
<span><i class="fa-solid fa-clock"></i> Updated 5 hours ago</span>
</div>
</div>
</div>
</a>
<!-- Repository 3 - Private -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-lock repo-icon lock"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/schedule-shuffler</div>
<div class="repo-desc">API for shuffling employee schedules with Planday
integration</div>
<div class="repo-meta">
<span class="repo-language">Python</span>
<span><i class="fa-solid fa-star"></i> 5</span>
<span><i class="fa-solid fa-clock"></i> Updated 1 day ago</span>
</div>
</div>
</div>
</a>
<!-- Repository 4 - Private -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-lock repo-icon lock"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/PublishedBy</div>
<div class="repo-desc">Publication tracking and management system</div>
<div class="repo-meta">
<span class="repo-language">JavaScript</span>
<span><i class="fa-solid fa-star"></i> 2</span>
<span><i class="fa-solid fa-clock"></i> Updated 2 days ago</span>
</div>
</div>
</div>
</a>
<!-- Repository 5 -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-book repo-icon"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/Munich-news</div>
<div class="repo-desc">News aggregation platform for Munich with MongoDB backend
</div>
<div class="repo-meta">
<span class="repo-language">Python</span>
<span><i class="fa-solid fa-star"></i> 15</span>
<span><i class="fa-solid fa-code-fork"></i> 2</span>
<span><i class="fa-solid fa-clock"></i> Updated 3 days ago</span>
</div>
</div>
</div>
</a>
<!-- Repository 6 -->
<a href="#" class="item">
<div class="d-flex align-items-start">
<i class="fa-solid fa-book repo-icon"></i>
<div class="flex-grow-1">
<div class="repo-name">dongho/camera</div>
<div class="repo-desc">360-degree photo capture application with sphere overlay
</div>
<div class="repo-meta">
<span class="repo-language">Kotlin</span>
<span><i class="fa-solid fa-star"></i> 7</span>
<span><i class="fa-solid fa-clock"></i> Updated 1 week ago</span>
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Custom Footer -->
<div class="custom-footer">
<div class="footer-inner">
<div>
<h3><i class="fa-solid fa-code-branch me-2"></i>Build together</h3>
<p>Deliver faster with lightweight workflows, protected branches and integrated automation. Gitea keeps
your DevOps stack on hardware you trust.</p>
</div>
<div>
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/" target="_blank" rel="noopener"><i
class="fa-solid fa-book-open me-2"></i>Product documentation</a></li>
<li><a href="https://blog.gitea.com/" target="_blank" rel="noopener"><i
class="fa-solid fa-newspaper me-2"></i>Release notes</a></li>
<li><a href="https://github.com/go-gitea/gitea" target="_blank" rel="noopener"><i
class="fa-brands fa-github me-2"></i>Source code</a></li>
</ul>
</div>
<div>
<h3>Get help</h3>
<ul class="footer-links">
<li><a href="https://docs.gitea.com/installation" target="_blank" rel="noopener"><i
class="fa-solid fa-server me-2"></i>Installation guide</a></li>
<li><a href="https://docs.gitea.com/administration" target="_blank" rel="noopener"><i
class="fa-solid fa-shield-halved me-2"></i>Admin handbook</a></li>
<li><a href="https://docs.gitea.com/usage" target="_blank" rel="noopener"><i
class="fa-solid fa-people-group me-2"></i>User onboarding</a></li>
</ul>
</div>
</div>
<div class="footer-divider"></div>
<div class="footer-bottom">
<span>© Gitea self-hosted Git, streamlined.</span>
<div class="social-links">
<a href="https://github.com/go-gitea" target="_blank" rel="noopener" aria-label="GitHub"><i
class="fa-brands fa-github"></i></a>
<a href="https://twitter.com/giteaio" target="_blank" rel="noopener" aria-label="X"><i
class="fa-brands fa-x-twitter"></i></a>
<a href="https://discord.gg/gitea" target="_blank" rel="noopener" aria-label="Discord"><i
class="fa-brands fa-discord"></i></a>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>