init commit
This commit is contained in:
340
index.html
Normal file
340
index.html
Normal file
@@ -0,0 +1,340 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Benboerba Portal</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #f4efe7;
|
||||
--panel: rgba(255, 252, 247, 0.82);
|
||||
--text: #182126;
|
||||
--muted: #5d666b;
|
||||
--line: rgba(24, 33, 38, 0.12);
|
||||
--accent: #cf5a2d;
|
||||
--accent-deep: #7d2f15;
|
||||
--shadow: 0 24px 70px rgba(45, 39, 31, 0.12);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(207, 90, 45, 0.22), transparent 30%),
|
||||
radial-gradient(circle at bottom right, rgba(14, 82, 87, 0.14), transparent 28%),
|
||||
linear-gradient(145deg, #efe6db 0%, #f7f2ea 52%, #efe7dc 100%);
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1120px, calc(100% - 32px));
|
||||
margin: 32px auto;
|
||||
padding: 28px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 28px;
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding-bottom: 18px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 14px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: #fff7ef;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
|
||||
}
|
||||
|
||||
.brand-copy small,
|
||||
.eyebrow,
|
||||
.meta {
|
||||
display: block;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.brand-copy strong {
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.status {
|
||||
padding: 10px 14px;
|
||||
border: 1px solid rgba(207, 90, 45, 0.18);
|
||||
border-radius: 999px;
|
||||
font-size: 0.9rem;
|
||||
background: rgba(207, 90, 45, 0.08);
|
||||
color: var(--accent-deep);
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: 1.35fr 0.95fr;
|
||||
gap: 28px;
|
||||
padding: 34px 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.hero-copy h1 {
|
||||
max-width: 9ch;
|
||||
font-size: clamp(2.8rem, 7vw, 5.7rem);
|
||||
line-height: 0.94;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.hero-copy p {
|
||||
max-width: 560px;
|
||||
margin-top: 22px;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.8;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 14px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.button,
|
||||
.button-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 150px;
|
||||
padding: 14px 18px;
|
||||
border-radius: 999px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: #fff7ef;
|
||||
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
|
||||
box-shadow: 0 18px 28px rgba(125, 47, 21, 0.2);
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
color: var(--text);
|
||||
border: 1px solid var(--line);
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.button:hover,
|
||||
.button-secondary:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 26px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.8)),
|
||||
linear-gradient(135deg, rgba(207, 90, 45, 0.08), rgba(14, 82, 87, 0.07));
|
||||
}
|
||||
|
||||
.hero-card::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: auto -50px -70px auto;
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(207, 90, 45, 0.22), transparent 68%);
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.stat {
|
||||
padding: 18px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid var(--line);
|
||||
background: rgba(255, 255, 255, 0.56);
|
||||
}
|
||||
|
||||
.stat strong {
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 22px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 24px;
|
||||
background: rgba(255, 255, 255, 0.58);
|
||||
}
|
||||
|
||||
.panel h2 {
|
||||
font-size: 1.2rem;
|
||||
margin: 10px 0 12px;
|
||||
}
|
||||
|
||||
.panel p {
|
||||
line-height: 1.7;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 26px;
|
||||
padding-top: 18px;
|
||||
border-top: 1px solid var(--line);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
color: var(--muted);
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.hero,
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.topbar,
|
||||
.footer {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(100% - 20px, 1120px);
|
||||
margin: 10px auto;
|
||||
padding: 20px;
|
||||
border-radius: 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<header class="topbar">
|
||||
<div class="brand">
|
||||
<div class="brand-mark">BP</div>
|
||||
<div class="brand-copy">
|
||||
<small>Test Deployment Portal</small>
|
||||
<strong>Benboerba Portal</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="status">Static Page Ready</div>
|
||||
</header>
|
||||
|
||||
<section class="hero">
|
||||
<div class="hero-copy">
|
||||
<span class="eyebrow">Lightweight Landing Page</span>
|
||||
<h1>Portal test page for CI delivery.</h1>
|
||||
<p>
|
||||
This placeholder site is intentionally simple: one static HTML file,
|
||||
embedded styles, no build step, and no external dependency. It is
|
||||
suitable for validating Gitea CI pipelines and basic static hosting.
|
||||
</p>
|
||||
<div class="actions">
|
||||
<a class="button" href="#overview">View Overview</a>
|
||||
<a class="button-secondary" href="README.md">Open README</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<aside class="hero-card">
|
||||
<span class="meta">Current Snapshot</span>
|
||||
<div class="stats">
|
||||
<div class="stat">
|
||||
<strong>01</strong>
|
||||
<span>Single entry page</span>
|
||||
</div>
|
||||
<div class="stat">
|
||||
<strong>0</strong>
|
||||
<span>Build tools required</span>
|
||||
</div>
|
||||
<div class="stat">
|
||||
<strong>Fast</strong>
|
||||
<span>Suitable for smoke-test deployment</span>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
<section id="overview" class="grid">
|
||||
<article class="panel">
|
||||
<span class="meta">Purpose</span>
|
||||
<h2>Deployment Verification</h2>
|
||||
<p>
|
||||
Use this page to confirm repository checkout, artifact publishing,
|
||||
static file serving, and basic domain routing in your CI pipeline.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article class="panel">
|
||||
<span class="meta">Structure</span>
|
||||
<h2>Self-contained HTML</h2>
|
||||
<p>
|
||||
Everything lives in one file, which keeps the first deployment test
|
||||
predictable and reduces failure points during automation setup.
|
||||
</p>
|
||||
</article>
|
||||
|
||||
<article class="panel">
|
||||
<span class="meta">Next Step</span>
|
||||
<h2>Easy to Replace</h2>
|
||||
<p>
|
||||
Once CI is stable, this page can be swapped out for a real portal,
|
||||
a generated frontend build, or a multi-page static site.
|
||||
</p>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<footer class="footer">
|
||||
<span>Benboerba Portal test page</span>
|
||||
<span>Prepared for static hosting and CI smoke tests</span>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user