From 6b7baf729722914a04ace60375f433d2d8632d94 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:46:00 -0400 Subject: [PATCH] Add school name and logo to home screen and admin header - School name now appears on the student home screen and updates the page title - Logo can be uploaded in Settings (PNG/JPG/GIF/WebP/SVG, max 2 MB); stored in the data volume so it persists across container restarts - When a logo is uploaded the text school name is hidden in favour of the logo - Admin header shows the school name instead of hardcoded "Homeschool", updates live when saved - New server endpoints: GET /api/logo, POST /api/admin/upload-logo, DELETE /api/admin/logo - /api/public-settings now includes school_name and has_logo Co-Authored-By: Claude Sonnet 4.6 --- public/admin.html | 20 ++++++++++++++++-- public/admin.js | 47 +++++++++++++++++++++++++++++++++++++++++ public/app.js | 15 ++++++++++++++ public/index.html | 3 ++- public/styles.css | 2 ++ server.js | 53 +++++++++++++++++++++++++++++++++++++++++++++-- 6 files changed, 135 insertions(+), 5 deletions(-) diff --git a/public/admin.html b/public/admin.html index 2a8d206..5e1944a 100644 --- a/public/admin.html +++ b/public/admin.html @@ -22,7 +22,7 @@