Complete daisyUI migration with CSS fixes

- Migrate all pages to daisyUI components
- Add data-theme="light" to app.html for proper theme
- Fix config to load .env from multiple locations
- Update avatar to use avatar-placeholder pattern
- Use @tailwindcss/vite plugin instead of PostCSS
This commit is contained in:
Christoph Haas 2026-03-23 21:09:32 +01:00
parent 70aa813c7f
commit 0217f0b4c4
14 changed files with 739 additions and 1564 deletions

View file

@ -66,7 +66,12 @@ func Load() *Config {
// Load .env file if it exists.
// This is for local development convenience.
// In production, use environment variables directly.
godotenv.Load("backend/.env")
// Try multiple locations: current dir, backend/.env, ../backend/.env
if err := godotenv.Load(".env"); err != nil {
if err := godotenv.Load("backend/.env"); err != nil {
godotenv.Load("../backend/.env")
}
}
// Return a new Config struct with all values.
// getEnv(key, default) returns the environment variable value,