From 93e9c59436d6382c4a2a20a16a297b45d9802364 Mon Sep 17 00:00:00 2001 From: lobo Date: Wed, 14 Oct 2026 08:18:18 +0200 Subject: [PATCH] feat(projects): add architecture diagrams, align project texts Add diagrams to three projects. A tap opens them full size. Align en/de texts: no versions, Gitea not GitHub, Portainer, home server + VPS. Make To Be Played the featured project. Remove the Hostinger logo image. --- src/app/constants/AssetsConstants.ts | 7 +- .../dialog/project-dialog.component.html | 8 ++ .../dialog/project-dialog.component.spec.ts | 39 +++++--- .../pages/projects/projects.component.html | 8 +- .../pages/projects/projects.component.spec.ts | 8 ++ src/app/pages/projects/projects.component.ts | 27 +++--- src/assets/i18n/de.json | 22 ++--- src/assets/i18n/en.json | 22 ++--- .../projects/to-be-played/architecture.svg | 72 +++++++++++++++ .../projects/tribble-the-homeserver/1.webp | Bin 4678 -> 0 bytes .../tribble-the-homeserver/architecture.svg | 84 ++++++++++++++++++ 11 files changed, 247 insertions(+), 50 deletions(-) create mode 100644 src/assets/projects/to-be-played/architecture.svg delete mode 100644 src/assets/projects/tribble-the-homeserver/1.webp create mode 100644 src/assets/projects/tribble-the-homeserver/architecture.svg diff --git a/src/app/constants/AssetsConstants.ts b/src/app/constants/AssetsConstants.ts index a2d2170..a2b0d8f 100644 --- a/src/app/constants/AssetsConstants.ts +++ b/src/app/constants/AssetsConstants.ts @@ -41,12 +41,11 @@ export class AssetsConstants { '/assets/projects/diploma/6.webp' ]; - static readonly CLAUDE_BOX_IMAGES = [ - '/assets/projects/claude-in-a-box/1.svg' - ]; + static readonly CLAUDE_BOX_DIAGRAM = '/assets/projects/claude-in-a-box/1.svg'; + static readonly TBP_DIAGRAM = '/assets/projects/to-be-played/architecture.svg'; + static readonly TRIBBLE_DIAGRAM = '/assets/projects/tribble-the-homeserver/architecture.svg'; static readonly TRIBBLE_IMAGES = [ - '/assets/projects/tribble-the-homeserver/1.webp', '/assets/projects/tribble-the-homeserver/2.webp', '/assets/projects/tribble-the-homeserver/3.webp', '/assets/projects/tribble-the-homeserver/4.webp' diff --git a/src/app/pages/projects/dialog/project-dialog.component.html b/src/app/pages/projects/dialog/project-dialog.component.html index d3b5317..d29d561 100644 --- a/src/app/pages/projects/dialog/project-dialog.component.html +++ b/src/app/pages/projects/dialog/project-dialog.component.html @@ -12,6 +12,14 @@ + @if (project.diagram) { +
+ + + +
+ } +