Files
homepage/index.html
T
senior d3a1a5cafa Add static homepage, Dockerfile (nginx), and CI build/push workflow
- index.html: clean static homepage (name + intro, links), light/dark mode
- Dockerfile: nginx:1.27-alpine serves the page on :80 with a healthcheck
- .gitea/workflows/build.yml: on push to main, build and push the image to
  git.ffaerber.duckdns.org/ffaerber/homepage (tags :latest and :sha)
2026-07-06 09:10:41 +00:00

99 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ffaerber</title>
<style>
:root {
--fg: #1f2328;
--muted: #57606a;
--bg: #ffffff;
--accent: #0969da;
--border: #d0d7de;
}
@media (prefers-color-scheme: dark) {
:root {
--fg: #e6edf3;
--muted: #9198a1;
--bg: #0d1117;
--accent: #58a6ff;
--border: #30363d;
}
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: var(--fg);
background: var(--bg);
display: flex;
min-height: 100vh;
align-items: center;
justify-content: center;
padding: 2rem;
line-height: 1.6;
}
main {
max-width: 38rem;
width: 100%;
}
h1 {
font-size: clamp(2rem, 5vw, 3rem);
margin: 0 0 0.5rem;
letter-spacing: -0.02em;
}
.tagline {
color: var(--accent);
font-weight: 600;
margin: 0 0 1.5rem;
}
p { color: var(--muted); margin: 0 0 1rem; }
.links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1.5rem;
}
.links a {
color: var(--fg);
text-decoration: none;
padding: 0.5rem 1rem;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 0.95rem;
transition: border-color 0.15s, color 0.15s;
}
.links a:hover { border-color: var(--accent); color: var(--accent); }
footer {
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid var(--border);
font-size: 0.85rem;
color: var(--muted);
}
</style>
</head>
<body>
<main>
<h1>ffaerber</h1>
<p class="tagline">Homelab &amp; self-hosting enthusiast</p>
<p>
Hi, I'm ffaerber. This is my corner of the internet — a self-hosted homepage
running on my homelab. I tinker with containers, Gitea, and anything that runs
on a quiet box in the corner.
</p>
<p>
More coming soon. In the meantime, you can find my code over on Gitea.
</p>
<nav class="links">
<a href="https://git.ffaerber.duckdns.org/ffaerber">Gitea</a>
<a href="https://homepage.ffaerber.duckdns.org">Homepage</a>
</nav>
<footer>
Served from a container built in
<a href="https://git.ffaerber.duckdns.org/ffaerber/homepage">ffaerber/homepage</a>.
</footer>
</main>
</body>
</html>