Add Python FastAPI service, cheap hotels page, and Tailwind theme refactor
Deploy with Docker Compose / deploy (push) Successful in 1m29s

- Replace searxng and open-webui with a FastAPI `python/` service proxied
  at /py/ (Travelodge hotel search, rate-limited in nginx)
- Add CheapHotels view and CreateToggle component
- Move design tokens into Tailwind @theme in styles.css and migrate
  components/views to utility classes; CVLayout re-points tokens for light theme
- Update README, CLAUDE.md, and .gitignore accordingly

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Dphx7LL5JC8dAFYU7MMpoA
This commit is contained in:
2026-09-08 00:06:04 +01:00
co-authored by Claude Fable 5.1
parent d777ea4b7d
commit 152f60ee32
66 changed files with 2209 additions and 1020 deletions
+86 -31
View File
@@ -8,29 +8,45 @@ import { RouterView } from "vue-router";
</div>
</template>
<style scoped>
.cv-layout {
min-height: 100vh;
background: white;
color: #111;
}
</style>
<!--
Light theme for /cv and /cv/jobs.
Unscoped on purpose. It re-points the site's colour tokens (defined in
src/assets/styles.css) to ink-on-paper values so the global element styles
render light, then undoes the few dark-site element styles that aren't
colours. It also holds the button styles shared by the CV pages.
-->
<style>
.cv-layout h1,
.cv-layout h2,
.cv-layout h3,
.cv-layout h4,
.cv-layout p,
.cv-layout small,
.cv-layout code,
.cv-layout ul,
.cv-layout li,
.cv-layout td,
.cv-layout tr,
.cv-layout table {
color: #111;
.cv-layout {
/* Paper palette */
--color-ink: #111;
--color-ink-soft: #333;
--color-ink-muted: #555;
--color-ink-faint: #999;
--color-ink-link: #0066cc;
--color-ink-danger: #c00;
--color-paper: #fff;
--color-paper-tint: #f5f5f5;
--color-paper-shade: #eee;
--color-line: #ccc;
--color-line-soft: #e0e0e0;
/* Site tokens -> paper */
--color-primary: var(--color-ink);
--color-secondary: var(--color-ink);
--color-tertiary: var(--color-ink);
--color-quaternary: var(--color-line);
--color-muted: var(--color-ink-muted);
--color-surface: var(--color-paper);
--color-surface-deep: var(--color-paper);
--color-link-bg: transparent;
min-height: 100vh;
background: var(--color-paper);
color: var(--color-ink);
}
/* Undo dark-site element styling that isn't just colour */
.cv-layout h1,
.cv-layout h2,
.cv-layout h3,
@@ -38,34 +54,73 @@ import { RouterView } from "vue-router";
margin: 0;
}
.cv-layout a {
color: #111;
background-color: transparent !important;
text-align: left;
font-family: inherit;
letter-spacing: normal;
}
.cv-layout input,
.cv-layout textarea {
color: #111;
background-color: white;
border: 1px solid #ccc;
padding: 0;
width: auto;
padding: 0;
background: var(--color-paper);
border-color: var(--color-line);
}
.cv-layout input::placeholder,
.cv-layout textarea::placeholder {
color: #999;
color: var(--color-ink-faint);
opacity: 1;
}
.cv-layout table {
border: 0 solid transparent;
}
.cv-layout table,
.cv-layout tr {
border-color: transparent;
}
.cv-layout th {
border: none;
padding: 0;
}
.cv-layout th,
.cv-layout td {
padding: 0;
}
/* Buttons shared by the CV selector bar and the job-applications page */
.cv-btn {
padding: 0.4rem 1rem;
border: 1px solid var(--color-ink-soft);
border-radius: 4px;
background: var(--color-paper);
color: var(--color-ink-soft);
cursor: pointer;
font-size: 0.9rem;
white-space: nowrap;
text-decoration: none;
transition:
background 0.15s,
color 0.15s;
}
.cv-btn:hover {
background: var(--color-paper-shade);
}
.cv-btn:disabled {
opacity: 0.5;
cursor: default;
}
.cv-btn-sm {
padding: 0.2rem 0.55rem;
font-size: 0.8rem;
}
.cv-btn-primary,
.cv-btn.active {
background: var(--color-ink-soft);
color: var(--color-paper);
}
.cv-btn-primary:hover {
background: var(--color-ink-muted);
}
.cv-btn-danger {
border-color: var(--color-ink-danger);
color: var(--color-ink-danger);
}
.cv-btn-danger:hover {
background: #fee;
}
</style>