Initial template: Vue 3 + FastAPI + SQLite full-stack with K8s deployment
Some checks failed
Deploy Production / test (push) Failing after 1s
Deploy Production / deploy (push) Has been skipped
Test / unit-test (push) Failing after 1s
Test / e2e-test (push) Has been skipped
Test / build-check (push) Failing after 1s

Extracted from oil project — business logic removed, auth/db/deploy infrastructure
generalized with APP_NAME placeholders.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 22:13:06 +00:00
commit d19183923c
32 changed files with 1350 additions and 0 deletions

View File

@@ -0,0 +1,149 @@
/* ── Design tokens ─────────────────────────────────── */
:root {
--color-primary: #4a7c59;
--color-primary-dark: #3a6349;
--color-accent: #c9a84c;
--color-bg: #faf6f0;
--color-bg-card: #ffffff;
--color-text: #333333;
--color-text-muted: #888888;
--color-border: #e0d8cc;
--color-danger: #d32f2f;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
--shadow-md: 0 2px 8px rgba(0, 0, 0, 0.12);
--radius: 8px;
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}
/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: var(--font-sans);
background: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
}
/* ── Layout ───────────────────────────────────────── */
.app-header {
background: var(--color-primary);
color: white;
padding: 12px 20px;
}
.header-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 20px;
}
.header-title {
font-size: 18px;
font-weight: 600;
white-space: nowrap;
}
.nav-tabs {
display: flex;
gap: 4px;
flex: 1;
}
.nav-tab {
padding: 6px 14px;
border-radius: var(--radius);
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 14px;
transition: background 0.2s;
}
.nav-tab:hover { background: rgba(255, 255, 255, 0.15); }
.nav-tab.active { background: rgba(255, 255, 255, 0.25); color: white; }
.header-right {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
white-space: nowrap;
}
.app-main {
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
}
/* ── Components ───────────────────────────────────── */
.page { padding: 20px 0; }
.btn-primary {
background: var(--color-primary);
color: white;
border: none;
padding: 8px 20px;
border-radius: var(--radius);
cursor: pointer;
font-size: 14px;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-link {
background: none;
border: none;
color: inherit;
cursor: pointer;
text-decoration: underline;
font-size: inherit;
}
.form-group {
margin-bottom: 14px;
}
.form-group label {
display: block;
font-size: 14px;
margin-bottom: 4px;
color: var(--color-text-muted);
}
.form-group input {
width: 100%;
padding: 8px 12px;
border: 1px solid var(--color-border);
border-radius: var(--radius);
font-size: 14px;
}
.error { color: var(--color-danger); font-size: 13px; }
.card {
background: var(--color-bg-card);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
padding: 16px;
}
.toast {
position: fixed;
top: 20px;
right: 20px;
background: #333;
color: white;
padding: 10px 20px;
border-radius: var(--radius);
z-index: 9999;
font-size: 14px;
}
/* ── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
.header-inner { flex-wrap: wrap; }
.nav-tabs { order: 3; width: 100%; overflow-x: auto; }
}