Add configurable logo and application name support

Added environment variables APP_NAME and LOGO_PATH to make the application
branding configurable:

- APP_NAME (default: 'BalanceBoard'): Sets the application name
- LOGO_PATH (default: 'logo.png'): Sets the logo file path

Changes:
- Added configuration variables to app.py
- Updated logo serving route to support custom paths
- Added template context processor to inject APP_NAME
- Updated all templates to use {{ APP_NAME }} instead of hardcoded 'BalanceBoard'
- Updated navigation and branding to use configurable values

Users can now customize their installation by setting:
export APP_NAME="My Custom Board"
export LOGO_PATH="/path/to/my/logo.png"

Fixes #22

~claude

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
chelsea
2025-10-12 03:11:23 -05:00
parent b47155cc36
commit ac94215f84
18 changed files with 26 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block title %}Create Admin Account - BalanceBoard{% endblock %}
{% block title %}Create Admin Account - {{ APP_NAME }}{% endblock %}
{% block content %}
{% include '_nav.html' %}
@@ -8,7 +8,7 @@
<div class="auth-card">
<div class="auth-logo">
<a href="{{ url_for('index') }}">
<img src="{{ url_for('serve_logo') }}" alt="BalanceBoard Logo" style="max-width: 80px; border-radius: 50%;">
<img src="{{ url_for('serve_logo') }}" alt="{{ APP_NAME }} Logo" style="max-width: 80px; border-radius: 50%;">
</a>
<h1><span class="balance">balance</span><span class="board">Board</span></h1>
<p style="color: var(--text-secondary); margin-top: 8px;">Create Administrator Account</p>