diff --git a/CLAUDE.md b/CLAUDE.md index ae7b9a7..5aabbcd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ > **Plattform:** Olares One (Kubernetes), Repo und CI auf Gitea — kein Supabase, > kein Vercel (E-0001). Eigene Gestaltung, nicht AImighty (E-0002). > Verteilung über den Markt, Repo öffentlich (E-0005). -> **Status:** 26.11.41 — alle neun Arbeitspakete aus `docs/PROJEKTSTART.md` sind gebaut: +> **Status:** 26.11.42 — alle neun Arbeitspakete aus `docs/PROJEKTSTART.md` sind gebaut: > Anmeldung (Passkeys, Kinder mit Gerät + PIN), Gerichte (Link, Kochbuchfoto, AI über den > Olares Router), Wünschen, Plan, Einkaufsliste (Echtzeit, offline), Kochmodus mit > Bewertung, Web-App; Einzahl bei Stück-Mengen (26.11.15), Preise und Kosten mit Ampel @@ -21,7 +21,7 @@ > eigene Zutaten und Lieblingsprodukt je Haushalt (26.11.38, E-0015), Löffel und Gebinde > (26.11.39, E-0016), Anmelden per Mail-Link über Resend (26.11.40, E-0017; nur > anmelden, keine Geräte oder Passkeys aus einer Mail-Sitzung), Leiste bleibt nach der -> Tastatur unten (26.11.41). Offen: Kai trägt +> Tastatur unten (26.11.41), Icon Kochmütze mit Herz (26.11.42). Offen: Kai trägt > den Resend-Schlüssel unter Mehr › Mails verschicken ein. > **Letzte Aktualisierung:** 7. November 2026 diff --git a/OlaresManifest.yaml b/OlaresManifest.yaml index ec91c12..69bea4f 100644 --- a/OlaresManifest.yaml +++ b/OlaresManifest.yaml @@ -21,7 +21,7 @@ metadata: title: foodplanhero description: Plan. Cook. Smile. The family decides together what's for dinner — and the shopping list writes itself. Runs entirely on your own box. icon: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png - version: 26.11.41 + version: 26.11.42 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.41' + versionName: '26.11.42' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/app/layout.tsx b/app/layout.tsx index f8f60ee..091af59 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,3 +1,4 @@ +import { iconUrl } from "@/lib/icon-version"; import type { Metadata, Viewport } from "next"; import localFont from "next/font/local"; import { NextIntlClientProvider } from "next-intl"; @@ -36,7 +37,7 @@ export async function generateMetadata(): Promise { media: `(device-width: ${cw}px) and (device-height: ${ch}px) and (-webkit-device-pixel-ratio: ${dpr}) and (orientation: portrait)`, })), }, - icons: { icon: "/icon.svg", apple: "/apple-touch-icon.png" }, + icons: { icon: iconUrl("/icon.svg"), apple: iconUrl("/apple-touch-icon.png") }, }; } diff --git a/app/manifest.ts b/app/manifest.ts index 5fb9bbb..b9a29c5 100644 --- a/app/manifest.ts +++ b/app/manifest.ts @@ -1,3 +1,4 @@ +import { iconUrl } from "@/lib/icon-version"; import type { MetadataRoute } from "next"; import { getLocale, getTranslations } from "next-intl/server"; @@ -18,14 +19,14 @@ export default async function manifest(): Promise { theme_color: "#fdfcfe", // Lange auf das Symbol drücken: direkt zu Wünschen, Plan und Einkauf. shortcuts: [ - { name: nav("wish"), url: "/wuenschen", icons: [{ src: "/icon-192.png", sizes: "192x192" }] }, - { name: nav("plan"), url: "/plan", icons: [{ src: "/icon-192.png", sizes: "192x192" }] }, - { name: nav("shopping"), url: "/einkauf", icons: [{ src: "/icon-192.png", sizes: "192x192" }] }, + { name: nav("wish"), url: "/wuenschen", icons: [{ src: iconUrl("/icon-192.png"), sizes: "192x192" }] }, + { name: nav("plan"), url: "/plan", icons: [{ src: iconUrl("/icon-192.png"), sizes: "192x192" }] }, + { name: nav("shopping"), url: "/einkauf", icons: [{ src: iconUrl("/icon-192.png"), sizes: "192x192" }] }, ], icons: [ - { src: "/icon-192.png", sizes: "192x192", type: "image/png" }, - { src: "/icon-512.png", sizes: "512x512", type: "image/png" }, - { src: "/icon-512-maskable.png", sizes: "512x512", type: "image/png", purpose: "maskable" }, + { src: iconUrl("/icon-192.png"), sizes: "192x192", type: "image/png" }, + { src: iconUrl("/icon-512.png"), sizes: "512x512", type: "image/png" }, + { src: iconUrl("/icon-512-maskable.png"), sizes: "512x512", type: "image/png", purpose: "maskable" }, ], }; } diff --git a/docs/entscheidungen.md b/docs/entscheidungen.md index 9510bf6..56bce67 100644 --- a/docs/entscheidungen.md +++ b/docs/entscheidungen.md @@ -177,7 +177,7 @@ acht Paletten Variante H gewählt). Löst die Palette aus E-0002 ab; der Rest vo - **Schrift:** ~~Überschriften in Newsreader, Text in Geist~~ — seit 26.11.37 Poppins überall (E-0014). - **Abschnitte** ohne Kasten, getrennt durch feine Linien. -- **Symbol:** Teller mit Dampf auf Coral, Blatt in Lavendel (`docs/icon/lunch.svg`). +- **Symbol:** Kochmütze mit Herz auf Coral (seit 26.11.42, Kai: Entwurf a; vorher Teller mit Dampf und Lavendel-Blatt), `docs/icon/lunch.svg`. - **Kontrast** jeder Schrift auf ihrer Fläche mindestens 4,5:1, hell und dunkel — `tests/contrast.test.ts` rechnet ihn aus den Token. diff --git a/docs/icon/lunch.svg b/docs/icon/lunch.svg index f0ca492..f9a5f61 100644 --- a/docs/icon/lunch.svg +++ b/docs/icon/lunch.svg @@ -1,15 +1,8 @@ - - - - - - - - - - - - - - + + + + + + + diff --git a/lib/icon-version.ts b/lib/icon-version.ts new file mode 100644 index 0000000..00b0ad1 --- /dev/null +++ b/lib/icon-version.ts @@ -0,0 +1,5 @@ +// Version der App-Symbole (docs/icon/lunch.svg → scripts/app-icons.mjs). Ändert sich +// das Symbol, hier hochzählen: Die Adressen ändern sich, Browser und Service Worker +// holen das neue statt des gemerkten (26.11.42, Kochmütze mit Herz). +export const ICON_VERSION = "2"; +export const iconUrl = (path: string) => `${path}?v=${ICON_VERSION}`; diff --git a/olares/Chart.yaml b/olares/Chart.yaml index cf30f3c..6cd895c 100644 --- a/olares/Chart.yaml +++ b/olares/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: lunch description: foodplanhero (Plan. Cook. Smile.) — die Familie entscheidet gemeinsam, was es gibt; aus dem Plan entsteht die Einkaufsliste type: application -version: 26.11.41 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen -appVersion: "26.11.41" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran +version: 26.11.42 # YY.M. wie im AImighty-Markt — bei jeder Chart-Änderung erhöhen +appVersion: "26.11.42" # MUSS gleich version sein: der Linter prüft es, und der Image-Tag hängt daran diff --git a/olares/OlaresManifest.yaml b/olares/OlaresManifest.yaml index ec91c12..69bea4f 100644 --- a/olares/OlaresManifest.yaml +++ b/olares/OlaresManifest.yaml @@ -21,7 +21,7 @@ metadata: title: foodplanhero description: Plan. Cook. Smile. The family decides together what's for dinner — and the shopping list writes itself. Runs entirely on your own box. icon: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png - version: 26.11.41 + version: 26.11.42 categories: - Applications @@ -61,7 +61,7 @@ permission: appData: true spec: - versionName: '26.11.41' + versionName: '26.11.42' featuredImage: https://git.aimighty.olares.de/aimighty/bilder/raw/branch/main/lunch/icon.png promoteImage: diff --git a/olares/icon.png b/olares/icon.png index c6f5733..5918072 100644 Binary files a/olares/icon.png and b/olares/icon.png differ diff --git a/olares/markt/26.11.42.md b/olares/markt/26.11.42.md new file mode 100644 index 0000000..c9a655c --- /dev/null +++ b/olares/markt/26.11.42.md @@ -0,0 +1,5 @@ +# A new icon: chef's hat with a heart +v26.11.42: foodplanhero has a new icon: a white chef's hat with a heart, on the familiar coral. It replaces the plate with the leaf on the home screen, in the browser tab and in the market. To see it on the home screen, remove the app there once and add it again. + +## Deutsch +v26.11.42: foodplanhero hat ein neues Symbol: eine weiße Kochmütze mit Herz auf dem vertrauten Koralle. Sie ersetzt den Teller mit dem Blatt auf dem Home-Bildschirm, im Browser-Tab und im Markt. Damit das iPhone es zeigt, die App vom Home-Bildschirm einmal entfernen und neu hinzufügen. diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index fe8dfee..cfdd114 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/icon-192.png b/public/icon-192.png index d97a8be..1d65600 100644 Binary files a/public/icon-192.png and b/public/icon-192.png differ diff --git a/public/icon-512-maskable.png b/public/icon-512-maskable.png index b98d9a3..857ffe5 100644 Binary files a/public/icon-512-maskable.png and b/public/icon-512-maskable.png differ diff --git a/public/icon-512.png b/public/icon-512.png index c6f5733..5918072 100644 Binary files a/public/icon-512.png and b/public/icon-512.png differ diff --git a/public/icon.svg b/public/icon.svg index f0ca492..f9a5f61 100644 --- a/public/icon.svg +++ b/public/icon.svg @@ -1,15 +1,8 @@ - - - - - - - - - - - - - - + + + + + + +